mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:19:26 +02:00
SynHighlighterJava: added TxtkNonSymbol for EktTokenId. Part of issue #24706
git-svn-id: trunk@42148 -
This commit is contained in:
parent
0ca8a667db
commit
6f6e97db2e
@ -66,7 +66,8 @@ type
|
||||
xtkRoundOpen, xtkSemiColon, xtkShiftLeft, xtkShiftLeftAssign, xtkShiftRight,
|
||||
xtkShiftRightAssign, xtkSquareClose, xtkSquareOpen, xtkSubtract,
|
||||
xtkSubtractAssign, xtkUnsignShiftRight, xtkUnsignShiftRightAssign, xtkXor,
|
||||
xtkXorAssign, xtkComma);
|
||||
xtkXorAssign, xtkComma,
|
||||
xtkNonSymbol);
|
||||
|
||||
TRangeState = (rsANil, rsComment, rsDocument, rsUnknown);
|
||||
|
||||
@ -1317,7 +1318,10 @@ end;
|
||||
|
||||
function TSynJavaSyn.GetExtTokenID: TxtkTokenKind;
|
||||
begin
|
||||
Result := FExtTokenID;
|
||||
if FTokenID = tkSymbol then
|
||||
Result := FExtTokenID
|
||||
else
|
||||
Result := xtkNonSymbol;
|
||||
end;
|
||||
|
||||
function TSynJavaSyn.GetTokenAttribute: TSynHighlighterAttributes;
|
||||
|
Loading…
Reference in New Issue
Block a user