synedit: fixed tex highlighter for utf-8 chars, bug #11960

git-svn-id: trunk@16205 -
This commit is contained in:
mattias 2008-08-24 12:28:45 +00:00
parent b6e000dff4
commit 3b7fe72130

View File

@ -50,7 +50,7 @@ uses
QSynEditHighlighter,
{$ELSE}
{$IFDEF SYN_LAZARUS}
LCLIntf, LCLType,
LCLProc, LCLIntf, LCLType,
{$ELSE}
Windows, Registry, Messages,
{$ENDIF}
@ -233,7 +233,7 @@ end; { SpaceProc }
procedure TSynTeXSyn.TextProc;
begin
fTokenID:=tkText;
inc(Run);
inc(Run,UTF8CharacterLength(@fLine[Run]));
end; { TextProc }
procedure TSynTeXSyn.LFProc;