fix, identifier match, markup was no reset when no selection or no identifier

This commit is contained in:
Basile Burg 2015-12-15 22:45:27 +01:00
parent 89481cff70
commit b0ea3e918c
1 changed files with 3 additions and 1 deletions

View File

@ -862,7 +862,9 @@ begin
if (length(fIdentifier) > 2) and (not SelAvail) then
SetHighlightSearch(fIdentifier, fMatchIdentOpts)
else if SelAvail then
SetHighlightSearch(SelText,fMatchSelectionOpts);
SetHighlightSearch(SelText,fMatchSelectionOpts)
else
SetHighlightSearch('',[]);
end;
procedure TCESynMemo.setMatchOpts(value: TIdentifierMatchOptions);