On 19/04/2010 17:35, Hans-Peter Diettrich wrote:
spir ☣ schrieb:
* duplication Is there a "duplicate" feature (duplication current
line or selection)? For info: this replaces select + copy + move +
paste + move up & down (to unselect and come back) in one key press.
Sometimes a macro (or record/replay) capability were nice - perhaps it
exists already?
Macros (as in replay) don't yet exist. However I found most times people
ask for this, it can be perfectly done, by regular-expression replace
something like
FooA;
FooB;
FooC;
should be made into
FooA := FooA + 1;
FooB := FooB + 1;
FooC := FooC + 1;
find (reg ex)
(F.*?);
replace with
$1 := $1 + 1;
Martin
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus