mirror of https://gitlab.com/basile.b/dexed.git
fix, identifier match, markup was no reset when no selection or no identifier
This commit is contained in:
parent
89481cff70
commit
b0ea3e918c
|
@ -862,7 +862,9 @@ begin
|
||||||
if (length(fIdentifier) > 2) and (not SelAvail) then
|
if (length(fIdentifier) > 2) and (not SelAvail) then
|
||||||
SetHighlightSearch(fIdentifier, fMatchIdentOpts)
|
SetHighlightSearch(fIdentifier, fMatchIdentOpts)
|
||||||
else if SelAvail then
|
else if SelAvail then
|
||||||
SetHighlightSearch(SelText,fMatchSelectionOpts);
|
SetHighlightSearch(SelText,fMatchSelectionOpts)
|
||||||
|
else
|
||||||
|
SetHighlightSearch('',[]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCESynMemo.setMatchOpts(value: TIdentifierMatchOptions);
|
procedure TCESynMemo.setMatchOpts(value: TIdentifierMatchOptions);
|
||||||
|
|
Loading…
Reference in New Issue