ISSUE:
Steps to reproduce issue:
Russian word won't be selected. (There are more issues with non-English words also.)
Russian word should be seleced as English word.
FIX:
The following code works incorrect with non-English letters (for example, Russian):
function TSynCustomHighlighter.IsIdentChar(AChar: WideChar): Boolean;
begin
case AChar of
'_', '0'..'9', 'A'..'Z', 'a'..'z':
Result := True;
else
Result := False;
end;
end;
The correct code is the following (as on TCustomSynEdit.IsIdentChar method):
function TSynCustomHighlighter.IsIdentChar(AChar: WideChar): Boolean;
begin
Result := AChar >= #33;
end;
TODO:
The issue should be fixed on all other modules too. Find all incorrect places by search string "'a'..'z'".
Is 1 the highest priority?