mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 10:59:29 +02:00
fixed cursor pos after inserting tab
git-svn-id: trunk@6543 -
This commit is contained in:
parent
c126bfd858
commit
0411877119
@ -8697,7 +8697,7 @@ begin
|
||||
end;
|
||||
{begin} //mh 2000-10-01
|
||||
StartOfBlock := CaretXY;
|
||||
NewCaretX := StartOfBlock.X + {$IFDEF SYN_LAZARUS}length(Spaces){$ELSE}i{$ENDIF};
|
||||
NewCaretX := StartOfBlock.X + i;
|
||||
SetSelText(Spaces);
|
||||
ChangeScroll := not (eoScrollPastEol in fOptions);
|
||||
try
|
||||
|
@ -746,24 +746,24 @@ resourcestring
|
||||
dlgDelTemplate = 'Delete template ';
|
||||
dlgChsCodeTempl = 'Choose code template file (*.dci)';
|
||||
dlgAllFiles = 'All files';
|
||||
dlgAltSetClMode = 'Alt Sets Column Mode';
|
||||
dlgAutoIdent = 'Auto Indent';
|
||||
dlgBracHighlight = 'Bracket Highlight';
|
||||
dlgDragDropEd = 'Drag Drop Editing';
|
||||
dlgDropFiles = 'Drop Files';
|
||||
dlgHalfPageScroll = 'Half Page Scroll';
|
||||
dlgKeepCaretX = 'Keep Caret X';
|
||||
dlgPersistentCaret = 'Persistent Caret';
|
||||
dlgScrollByOneLess = 'Scroll By One Less';
|
||||
dlgScrollPastEndFile = 'Scroll Past End of File';
|
||||
dlgScrollPastEndLine = 'Scroll Past End of Line';
|
||||
dlgCloseButtonsNotebook = 'Show Close Buttons in notebook';
|
||||
dlgShowScrollHint = 'Show Scroll Hint';
|
||||
dlgAltSetClMode = 'Alt-Key sets column mode';
|
||||
dlgAutoIdent = 'Auto indent';
|
||||
dlgBracHighlight = 'Bracket highlighting';
|
||||
dlgDragDropEd = 'Drag Drop editing';
|
||||
dlgDropFiles = 'Drop files';
|
||||
dlgHalfPageScroll = 'Half page scroll';
|
||||
dlgKeepCaretX = 'Keep X caret';
|
||||
dlgPersistentCaret = 'Persistent caret';
|
||||
dlgScrollByOneLess = 'Scroll by one less';
|
||||
dlgScrollPastEndFile = 'Scroll past end of file';
|
||||
dlgScrollPastEndLine = 'Scroll past end of line';
|
||||
dlgCloseButtonsNotebook = 'Show close buttons in notebook';
|
||||
dlgShowScrollHint = 'Show scroll hint';
|
||||
dlgMouseLinks = 'Mouse links';
|
||||
dlgShowGutterHints = 'Show Gutter Hints';
|
||||
dlgSmartTabs = 'Smart Tabs';
|
||||
dlgTabsToSpaces = 'Tabs To Spaces';
|
||||
dlgTrimTrailingSpaces = 'Trim Trailing Spaces';
|
||||
dlgShowGutterHints = 'Show gutter hints';
|
||||
dlgSmartTabs = 'Smart tabs';
|
||||
dlgTabsToSpaces = 'Tabs to spaces';
|
||||
dlgTrimTrailingSpaces = 'Trim trailing spaces';
|
||||
dlgUndoAfterSave = 'Undo after save';
|
||||
dlgDoubleClickLine = 'Double click line';
|
||||
dlgFindTextatCursor = 'Find text at cursor';
|
||||
|
Loading…
Reference in New Issue
Block a user