Ver Fonte

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

Martijn Laan há 1 ano atrás
pai
commit
d6a898c471
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      Components/ScintEdit.pas

+ 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);