[Lazarus] SynEdit.TextBetweenPoints (Martin?)

Martin Frb lazarus at mfriebe.de
Sun Aug 11 16:33:13 CEST 2019


On 11/08/2019 15:41, Bart via lazarus wrote:
>
> One more question:
> The current solution creates 2 "redo" points.
> I have to press ^Z 2 times to undo the process.
> Is there a way to make it so that the whole process can be undone in
> one step (by invoking the default undo-mechanism of TSynEdit)?
>

SynEdit1.BeginUpdate(); / EndUpdate

or BeginUndoBlock.


More information about the lazarus mailing list