📄 synhighlighterunreal.pas
字号:
begin
if KeyComp('EACH') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func19: TtkTokenKind;
begin
if KeyComp('DO') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func20: TtkTokenKind;
begin
if KeyComp('CACHE') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func28: TtkTokenKind;
begin
if KeyComp('CASE') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func33: TtkTokenKind;
begin
if KeyComp('NAME') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func35: TtkTokenKind;
begin
if KeyComp('CATCH') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func37: TtkTokenKind;
begin
if KeyComp('BREAK') then Result := tkKey else
if KeyComp('EXEC') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func39: TtkTokenKind;
begin
if KeyComp('DOT') then Result := tkSymbol else
if KeyComp('FOR') then Result := tkKey else
if KeyComp('RNG') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func40: TtkTokenKind;
begin
if KeyComp('SCALE') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func41: TtkTokenKind;
begin
if KeyComp('ELSE') then Result := tkKey else
if KeyComp('VAR') then Result := tkKey else
if KeyComp('GUID') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func42: TtkTokenKind;
begin
if KeyComp('FINAL') then Result := tkKey2 else
if KeyComp('FOR') then Result := tkKey else
if KeyComp('SELF') then Result := tkKey else
if KeyComp('NEW') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func43: TtkTokenKind;
begin
if KeyComp('NEW') then Result := tkKey else
if KeyComp('INT') then Result := tkKey else
if KeyComp('SELF') then Result := tkKey else
if KeyComp('LOCAL') then Result := tkKey else
if KeyComp('FALSE') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func44: TtkTokenKind;
begin
if KeyComp('FALSE') then Result := tkKey else
if KeyComp('BOOL') then Result := tkKey else
if KeyComp('LOCAL') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func45: TtkTokenKind;
begin
if KeyComp('BOOL') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func48: TtkTokenKind;
begin
if KeyComp('MESH') then Result := tkKey else
if KeyComp('LONG') then Result := tkKey else
if KeyComp('NONE') then Result := tkKey else
if KeyComp('PLANE') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func49: TtkTokenKind;
begin
if KeyComp('GLOBAL') then Result := tkKey else
if KeyComp('MODEL') then Result := tkKey else
if KeyComp('COERCE') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func50: TtkTokenKind;
begin
if KeyComp('VOID') then Result := tkKey else
if KeyComp('VECT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func51: TtkTokenKind;
begin
if KeyComp('DELETE') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func52: TtkTokenKind;
begin
if KeyComp('BYTE') then Result := tkKey else
if KeyComp('INIT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func53: TtkTokenKind;
begin
if KeyComp('ENUM') then Result := tkKey else
if KeyComp('ROT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func54: TtkTokenKind;
begin
if KeyComp('CLASS') then Result := tkKey else
if KeyComp('CONFIG') then Result := tkKey else
if KeyComp('FLOAT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func55: TtkTokenKind;
begin
if KeyComp('SKIP') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func56: TtkTokenKind;
begin
if KeyComp('FOREACH') then Result := tkKey else
if KeyComp('OUT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func57: TtkTokenKind;
begin
if KeyComp('AUTO') then Result := tkKey else
if KeyComp('GOTO') then Result := tkKey else
if KeyComp('WHILE') then Result := tkKey else
if KeyComp('PLACEABLE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func59: TtkTokenKind;
begin
if KeyComp('DELEGATE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func62: TtkTokenKind;
begin
if KeyComp('EDFINDABLE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func63: TtkTokenKind;
begin
if KeyComp('COLOR') then Result := tkKey else
if KeyComp('ARRAY') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func64: TtkTokenKind;
begin
if KeyComp('TRUE') then Result := tkKey else
if KeyComp('RELIABLE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func65: TtkTokenKind;
begin
if KeyComp('STATE') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func66: TtkTokenKind;
begin
if KeyComp('EVENT') then Result := tkKey else
if KeyComp('LENGTH') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func69: TtkTokenKind;
begin
if KeyComp('DEFAULT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func70: TtkTokenKind;
begin
if KeyComp('STOP') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func71: TtkTokenKind;
begin
if KeyComp('CONST') then Result := tkKey2 else
if KeyComp('NATIVE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func72: TtkTokenKind;
begin
if KeyComp('LATENT') then Result := tkKey2 else
if KeyComp('STATIC') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func73: TtkTokenKind;
begin
if KeyComp('SOUND') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func74: TtkTokenKind;
begin
if KeyComp('CROSS') then Result := tkSymbol else
if KeyComp('MUTABLE') then Result := tkKey else
if KeyComp('COORDS') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func76: TtkTokenKind;
begin
if KeyComp('UNTIL') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func78: TtkTokenKind;
begin
if KeyComp('TRAVEL') then Result := tkKey else
if KeyComp('REMOVE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func79: TtkTokenKind;
begin
if KeyComp('SUPER') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func80: TtkTokenKind;
begin
if KeyComp('INPUT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func81: TtkTokenKind;
begin
if KeyComp('DEPRECATED') then Result := tkKey2 else
if KeyComp('ALWAYS') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func82: TtkTokenKind;
begin
if KeyComp('SWITCH') then Result := tkKey else
if KeyComp('ASSERT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func83: TtkTokenKind;
begin
if KeyComp('EXPANDS') then Result := tkKey else
if KeyComp('VECTOR') then Result := tkKey else
if KeyComp('WITHIN') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func84: TtkTokenKind;
begin
if KeyComp('ABSTRACT') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func85: TtkTokenKind;
begin
if KeyComp('INSERT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func87: TtkTokenKind;
begin
if KeyComp('LOCALIZED') then Result := tkKey2 else
if KeyComp('STRING') then Result := tkKey else
if KeyComp('IGNORES') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func89: TtkTokenKind;
begin
if KeyComp('INSTANCED') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func91: TtkTokenKind;
begin
if KeyComp('EXTENDS') then Result := tkKey else
if KeyComp('PRIVATE') then Result := tkKey2 else
if KeyComp('SAFEREPLACE') then Result := tkKey2 else
if KeyComp('IMPORT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func92: TtkTokenKind;
begin
if KeyComp('BUTTON') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func96: TtkTokenKind;
begin
if KeyComp('RETURN') then Result := tkKey else
if KeyComp('DEPENDSON') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func97: TtkTokenKind;
begin
if KeyComp('POINTER') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func98: TtkTokenKind;
begin
if KeyComp('EXPLICIT') then Result := tkKey else
if KeyComp('EXPORT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func99: TtkTokenKind;
begin
if KeyComp('UNRELIABLE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func100: TtkTokenKind;
begin
if KeyComp('HIDEPARENT') then Result := tkKey else
if KeyComp('AUTOMATED') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func101: TtkTokenKind;
begin
if KeyComp('CONTINUE') then Result := tkKey else
if KeyComp('REGISTER') then Result := tkKey else
if KeyComp('STRUCT') then Result := tkKey else
if KeyComp('SINGULAR') then Result := tkKey2 else
if KeyComp('EDITINLINE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func102: TtkTokenKind;
begin
if KeyComp('FUNCTION') then Result := tkKey else
if KeyComp('OPTIONAL') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func103: TtkTokenKind;
begin
if KeyComp('GLOBALCONFIG') then Result := tkKey else
if KeyComp('CACHEEXEMPT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func104: TtkTokenKind;
begin
if KeyComp('SIMULATED') then Result := tkKey2 else
if KeyComp('CPPTEXT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func106: TtkTokenKind;
begin
if KeyComp('ITERATOR') then Result := tkKey else
if KeyComp('PROTECTED') then Result := tkKey2 else
if KeyComp('NOTPLACEABLE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func107: TtkTokenKind;
begin
if KeyComp('ROTATOR') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func108: TtkTokenKind;
begin
if KeyComp('OPERATOR') then Result := tkKey else
if KeyComp('INVARIANT') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func109: TtkTokenKind;
begin
if KeyComp('EDITCONST') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func113: TtkTokenKind;
begin
if KeyComp('TEXTURE') then Result := tkKey else
if KeyComp('PARSECONFIG') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func115: TtkTokenKind;
begin
if KeyComp('INTRINSIC') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func120: TtkTokenKind;
begin
if KeyComp('TRANSIENT') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func122: TtkTokenKind;
begin
if KeyComp('REPLICATION') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func126: TtkTokenKind;
begin
if KeyComp('ENUMCOUNT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func127: TtkTokenKind;
begin
if KeyComp('NOEXPORT') then Result := tkKey2 else
if KeyComp('BOUNDINGBOX') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func128: TtkTokenKind;
begin
if KeyComp('HIDECATEGORIES') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func135: TtkTokenKind;
begin
if KeyComp('HIDEDROPDOWN') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func136: TtkTokenKind;
begin
if KeyComp('ARRAYCOUNT') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func143: TtkTokenKind;
begin
if KeyComp('EDITINLINENEW') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func144: TtkTokenKind;
begin
if KeyComp('NOUSERCREATE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func146: TtkTokenKind;
begin
if KeyComp('EDITINLINEUSE') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func147: TtkTokenKind;
begin
if KeyComp('PREOPERATOR') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func148: TtkTokenKind;
begin
if KeyComp('PEROBJECTCONFIG') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func156: TtkTokenKind;
begin
if KeyComp('SCRIPTCONST') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func167: TtkTokenKind;
begin
if KeyComp('SHOWCATEGORIES') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func172: TtkTokenKind;
begin
if KeyComp('EDITCONSTARRAY') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func174: TtkTokenKind;
begin
if KeyComp('BOUNDINGVOLUME') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func178: TtkTokenKind;
begin
if KeyComp('POSTOPERATOR') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func185: TtkTokenKind;
begin
if KeyComp('COLLAPSECATEGORIES') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func190: TtkTokenKind;
begin
if KeyComp('EDITINLINENOTIFY') then Result := tkKey2 else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func192: TtkTokenKind;
begin
if KeyComp('DONTCOLLAPSECATEGORIES') then Result := tkKey else
if KeyComp('NOTEDITINLINENEW') then Result := tkKey else Result := tkIdentifier;
end;
function TSynUnrealSyn.Func193: TtkTokenKind;
begin
if KeyComp('NATIVEREPLICATION') then Result := tkKey2 else Result := tkIdentifier;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -