mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 20:19:29 +02:00
SourceEditor: Find Next/Prev word, keep a few lines from window edge
git-svn-id: trunk@28023 -
This commit is contained in:
parent
33fcaf9210
commit
387ce86056
@ -2584,6 +2584,7 @@ begin
|
|||||||
EditorComponent.LogicalCaretXY:=LogCaret;
|
EditorComponent.LogicalCaretXY:=LogCaret;
|
||||||
EditorComponent.SearchReplace(EditorComponent.GetWordAtRowCol(LogCaret),
|
EditorComponent.SearchReplace(EditorComponent.GetWordAtRowCol(LogCaret),
|
||||||
'',Flags);
|
'',Flags);
|
||||||
|
CenterCursor(True);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TSourceEditor.DoFindAndReplace(aFindText, aReplaceText: String;
|
function TSourceEditor.DoFindAndReplace(aFindText, aReplaceText: String;
|
||||||
|
Loading…
Reference in New Issue
Block a user