|
@@ -256,6 +256,7 @@ type
|
|
procedure SetBraceHighlighting(const Pos1, Pos2: Integer);
|
|
procedure SetBraceHighlighting(const Pos1, Pos2: Integer);
|
|
procedure SetCursorID(const CursorID: Integer);
|
|
procedure SetCursorID(const CursorID: Integer);
|
|
procedure SetDefaultWordChars;
|
|
procedure SetDefaultWordChars;
|
|
|
|
+ procedure SetEmptySelection;
|
|
procedure SetEmptySelections;
|
|
procedure SetEmptySelections;
|
|
procedure SetLineIndentation(const Line, Indentation: Integer);
|
|
procedure SetLineIndentation(const Line, Indentation: Integer);
|
|
procedure SetSavePoint;
|
|
procedure SetSavePoint;
|
|
@@ -1344,6 +1345,13 @@ begin
|
|
SetWordChars(GetDefaultWordChars);
|
|
SetWordChars(GetDefaultWordChars);
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+procedure TScintEdit.SetEmptySelection;
|
|
|
|
+{ Make the main selection empty without scrolling the caret into view and
|
|
|
|
+ removes additional selections }
|
|
|
|
+begin
|
|
|
|
+ Call(SCI_SETEMPTYSELECTION, GetCaretPosition, 0);
|
|
|
|
+end;
|
|
|
|
+
|
|
procedure TScintEdit.SetEmptySelections;
|
|
procedure TScintEdit.SetEmptySelections;
|
|
{ Makes all selections empty without scrolling the caret into view }
|
|
{ Makes all selections empty without scrolling the caret into view }
|
|
begin
|
|
begin
|