瀏覽代碼

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

Martijn Laan 1 年之前
父節點
當前提交
d6a898c471
共有 1 個文件被更改,包括 0 次插入1 次删除
  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);