2
0
Эх сурвалжийг харах

Cleanup: SCI_REPLACESEL already does ChooseCaretX (aka Editor::SetLastXChosen) internally.

Martijn Laan 1 жил өмнө
parent
commit
d6a898c471

+ 0 - 1
Components/ScintEdit.pas

@@ -1828,7 +1828,6 @@ procedure TScintEdit.SetRawSelText(const Value: TScintRawString);
 { Replaces the main selection's text and *clears* additional selections }
 begin
   Call(SCI_REPLACESEL, 0, LPARAM(PAnsiChar(Value)));
-  ChooseCaretX;
 end;
 
 procedure TScintEdit.SetRawText(const Value: TScintRawString);