mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 10:39:31 +02:00
synedit: fixed compile
git-svn-id: trunk@64722 -
This commit is contained in:
parent
64d6ca58a7
commit
3386007fe0
@ -817,7 +817,7 @@ procedure TSynSearchDictionary.BuildDictionary;
|
|||||||
memory consumption, since they have 4 continuation bytes (array size 64)
|
memory consumption, since they have 4 continuation bytes (array size 64)
|
||||||
to bring down the average.
|
to bring down the average.
|
||||||
*)
|
*)
|
||||||
SetLength(Result, Length(ATerm));
|
SetLength(Result{%H-}, Length(ATerm));
|
||||||
for i := 1 to Length(ATerm) do begin
|
for i := 1 to Length(ATerm) do begin
|
||||||
c := ATerm[i];
|
c := ATerm[i];
|
||||||
if c < #128
|
if c < #128
|
||||||
@ -1384,7 +1384,7 @@ begin
|
|||||||
Len := length(o.SearchTerm);
|
Len := length(o.SearchTerm);
|
||||||
MatchBegin := MatchEnd - Len - FFindLineTextLower + FFindLineText;
|
MatchBegin := MatchEnd - Len - FFindLineTextLower + FFindLineText;
|
||||||
|
|
||||||
if o.MatchCase and not StrLComp(MatchBegin, PChar(o.SearchTerm), Len) then begin
|
if o.MatchCase and (StrLComp(MatchBegin, PChar(o.SearchTerm), Len)<>0) then begin
|
||||||
MatchIdx := FTermDict.GetIndexForNextWordOccurrence(MatchIdx);
|
MatchIdx := FTermDict.GetIndexForNextWordOccurrence(MatchIdx);
|
||||||
continue;
|
continue;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user