mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 01:02:39 +02:00
SynEdit: Fix compilation with FPC 3.0.4.
git-svn-id: trunk@64645 -
This commit is contained in:
parent
32a3dc8fa6
commit
d01c4c6496
@ -424,7 +424,7 @@ var
|
||||
StartI := Length(CodeTemplateAttributesStartMagic) + 1;
|
||||
while (StartI <= Length(sComplValue)) and (sComplValue[StartI] in [#10,#13]) do
|
||||
Inc(StartI);
|
||||
EndI := Pos(CodeTemplateAttributesEndMagic, sComplValue, StartI);
|
||||
EndI := PosEx(CodeTemplateAttributesEndMagic, sComplValue, StartI);
|
||||
if EndI = 0 then
|
||||
raise Exception.Create('TCustomSynAutoComplete.ParseCompletionList: "'
|
||||
+ CodeTemplateAttributesEndMagic + '" not found.');
|
||||
|
Loading…
Reference in New Issue
Block a user