mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 09:19:22 +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,
|
xtkRoundOpen, xtkSemiColon, xtkShiftLeft, xtkShiftLeftAssign, xtkShiftRight,
|
||||||
xtkShiftRightAssign, xtkSquareClose, xtkSquareOpen, xtkSubtract,
|
xtkShiftRightAssign, xtkSquareClose, xtkSquareOpen, xtkSubtract,
|
||||||
xtkSubtractAssign, xtkUnsignShiftRight, xtkUnsignShiftRightAssign, xtkXor,
|
xtkSubtractAssign, xtkUnsignShiftRight, xtkUnsignShiftRightAssign, xtkXor,
|
||||||
xtkXorAssign, xtkComma);
|
xtkXorAssign, xtkComma,
|
||||||
|
xtkNonSymbol);
|
||||||
|
|
||||||
TRangeState = (rsANil, rsComment, rsDocument, rsUnknown);
|
TRangeState = (rsANil, rsComment, rsDocument, rsUnknown);
|
||||||
|
|
||||||
@ -1317,7 +1318,10 @@ end;
|
|||||||
|
|
||||||
function TSynJavaSyn.GetExtTokenID: TxtkTokenKind;
|
function TSynJavaSyn.GetExtTokenID: TxtkTokenKind;
|
||||||
begin
|
begin
|
||||||
Result := FExtTokenID;
|
if FTokenID = tkSymbol then
|
||||||
|
Result := FExtTokenID
|
||||||
|
else
|
||||||
|
Result := xtkNonSymbol;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TSynJavaSyn.GetTokenAttribute: TSynHighlighterAttributes;
|
function TSynJavaSyn.GetTokenAttribute: TSynHighlighterAttributes;
|
||||||
|
Loading…
Reference in New Issue
Block a user