Skip to content

Commit

Permalink
SCI_REPLACETARGETMINIMAL -> SCI_REPLACETARGET for better change history.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Jun 15, 2024
1 parent 8ecb127 commit 5e7b845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/ScintEdit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ function TScintEdit.ReplaceRawTextRange(const StartPos, EndPos: Integer;
begin
CheckPosRange(StartPos, EndPos);
SetTarget(StartPos, EndPos);
Call(SCI_REPLACETARGET, Length(S), LPARAM(PAnsiChar(S)));
Call(SCI_REPLACETARGETMINIMAL, Length(S), LPARAM(PAnsiChar(S)));
Result := GetTarget;
end;

Expand Down

0 comments on commit 5e7b845

Please sign in to comment.