mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-21 17:31:26 +02:00
synedit: fixed tex highlighter for utf-8 chars, bug #11960
git-svn-id: trunk@16205 -
This commit is contained in:
parent
b6e000dff4
commit
3b7fe72130
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user