mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 05:39:29 +02:00
SynEdit: Improved backspace, with the new auto-indent "position only"
git-svn-id: trunk@18244 -
This commit is contained in:
parent
40ef04413d
commit
c3f6bb62e5
@ -6697,7 +6697,11 @@ begin
|
||||
then begin
|
||||
// only move caret one column
|
||||
Helper := ' ';
|
||||
bChangeScroll := not (eoScrollPastEol in fOptions);
|
||||
Include(fOptions, eoScrollPastEol);
|
||||
CaretX := CaretX - 1;
|
||||
if bChangeScroll then
|
||||
Exclude(fOptions, eoScrollPastEol);
|
||||
{$IFDEF SYN_LAZARUS}
|
||||
// behind EOL, there was no char to delete, this wa a simple cursor move, do not undo
|
||||
Caret := CaretXY;
|
||||
|
Loading…
Reference in New Issue
Block a user