prevent multi line markup

This commit is contained in:
Basile Burg 2016-03-30 17:47:20 +02:00
parent 7e3a619b08
commit e36c0e8c76
1 changed files with 1 additions and 1 deletions

View File

@ -1221,7 +1221,7 @@ begin
fIdentifier := GetWordAtRowCol(LogicalCaretXY); fIdentifier := GetWordAtRowCol(LogicalCaretXY);
if (fIdentifier.length > 2) and (not SelAvail) then if (fIdentifier.length > 2) and (not SelAvail) then
SetHighlightSearch(fIdentifier, fMatchIdentOpts) SetHighlightSearch(fIdentifier, fMatchIdentOpts)
else if SelAvail then else if SelAvail and (BlockBegin.Y = BlockEnd.Y) then
begin begin
str := SelText; str := SelText;
for i := 1 to str.length do for i := 1 to str.length do