58 .extensions = {
"cpp",
"hpp",
"h",
"c"},
60 .commentInlineStart =
"/*",
61 .commentInlineEnd =
"*/",
62 .preprocessorLineKeywords =
"#if #ifdef #ifndef #elif #else #endif #define #include #pragma #undef #error",
63 .keywordDelimiters =
" \t\n:;=-+*/%&|!~<>{}()[],?",
64 .keywordQuotes =
"\"\'",
65 .keywords1 =
"alignof and and_eq bitand bitor break case catch compl const_cast continue default delete do dynamic_cast else false for goto if namespace new not not_eq nullptr operator or or_eq reinterpret_cast return sizeof static_assert static_cast switch this throw true try typedef typeid using while xor xor_eq NULL",
66 .keywords2 =
"alignas asm auto bool char char16_t char32_t class clock_t concept const consteval constexpr constinit decltype double enum explicit export extern final float friend inline int int8_t int16_t int32_t int64_t int_fast8_t int_fast16_t int_fast32_t int_fast64_t intmax_t intptr_t long mutable noexcept override private protected ptrdiff_t public register requires short signed size_t ssize_t static struct template thread_local time_t typename uint8_t uint16_t uint32_t uint64_t uint_fast8_t uint_fast16_t uint_fast32_t uint_fast64_t uintmax_t uintptr_t union unsigned virtual void volatile wchar_t",
67 .datatypeLiteralSuffixes =
"u U l L ul uL Ul UL lu lU Lu LU ll LL ull uLL Ull ULL llu llU LLu LLU f F l L",
68 .statementDelimiter =
";"
74 .extensions = {
"glsl",
"frag",
"vert"},
76 .commentInlineStart =
"/*",
77 .commentInlineEnd =
"*/",
78 .preprocessorLineKeywords =
"#if #ifdef #ifndef #elif #else #endif #define #include #pragma #undef #error #extension #version #line",
79 .keywordDelimiters =
" \t\n:;=-+*/%&|!~<>{}()[],?",
80 .keywordQuotes =
"\"\'",
81 .keywords1 =
"radians degrees sin cos tan asin acos atan sinh cosh tanh asinh acosh atanh pow exp log exp2 log2 sqrt inversqrt abs sign floor trunc round roundEven ceil fract mod modf min max clamp mix step smoothstep isnan isinf floatBitsToInt floatBitsToUInt intBitsToFloat uintBitsToFloat fma frexp ldexp packUnorm2x16 packSnorm2x16 packUnorm4x8 packSnorm4x8 unpackUnorm2x16 unpackSnorm2x16 unpackUnorm4x8 unpackSnorm4x8 packDouble2x32 unpackDouble2x32 packHalf2x16 unpackHalf2x16 length distance dot cross normalize faceforward reflect refract matrixCompMult outerProduct transpose determinant inverse lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not uaddCarry usubBorrow umulExtended imulExtended bitfieldExtract bitfieldInsert bitfieldReverse findLSB bitCount findMSB textureSize textureQueryLod textureQueryLevels texture textureProj textureLod textureOffset texelFetch texelFetchOffset textureProjOffset textureLodOffset textureProjLod textureProjLodOffset textureGrad textureGradOffset textureProjGrad textureProjGradOffset textureGather textureGatherOffset textureGatherOffsets texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod atomicCounterIncrement atomicCounterDecrement atomicCounter atomicAdd atomicMin atomicMax atomicAnd atomicOr atomicXor atomicExchange atomicCompSwap imageSize imageLoad imageStore imageAtomicAdd imageAtomicMin imageAtomicMax imageAtomicAnd imageAtomicOr imageAtomicXor imageAtomicExchange imageAtomicCompSwap dFdx dFdy fwidth interpolateAtCentroid interpolateAtSample interpolateAtOffset noise1 noise2 noise3 noise4 EmitStreamVertex EndStreamPrimitive EmitVertex EndPrimitive barrier memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierShared memoryBarrierImage groupMemoryBarrier",
82 .keywords2 =
"attribute const uniform varying buffer shared coherent volatile restrict readonly writeonly struct layout centroid flat smooth noperspective patch sample break continue do for while switch case default if else subroutine in out inout true false invariant discard return lowp mediump highp precision sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow samplerCubeShadow sampler1DArray sampler2DArray sampler1DArrayShadow sampler2DArrayShadow isampler1D isampler2D isampler3D isamplerCube isampler1DArray isampler2DArray usampler1D usampler2D usampler3D usamplerCube usampler1DArray usampler2DArray sampler2DRect sampler2DRectShadow isampler2DRect usampler2DRect samplerBuffer isamplerBuffer usamplerBuffer sampler2DMS isampler2DMS usampler2DMS sampler2DMSArray isampler2DMSArray usampler2DMSArray samplerCubeArray samplerCubeArrayShadow isamplerCubeArray usamplerCubeArray image1D iimage1D uimage1D image2D iimage2D uimage2D image3D iimage3D uimage3D image2DRect iimage2DRect uimage2DRect imageCube iimageCube uimageCube imageBuffer iimageBuffer uimageBuffer image1DArray iimage1DArray uimage1DArray image2DArray iimage2DArray uimage2DArray imageCubeArray iimageCubeArray uimageCubeArray image2DMS iimage2DMS uimage2DMS image2DMSArray iimage2DMSArray uimage2DMSArray atomic_uint mat2 mat3 mat4 dmat2 dmat3 dmat4 mat2x2 mat2x3 mat2x4 dmat2x2 dmat2x3 dmat2x4 mat3x2 mat3x3 mat3x4 dmat3x2 dmat3x3 dmat3x4 mat4x2 mat4x3 mat4x4 dmat4x2 dmat4x3 dmat4x4 vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 dvec2 dvec3 dvec4 float double int void bool uint uvec2 uvec3 uvec4",
83 .datatypeLiteralSuffixes =
"",
84 .statementDelimiter =
";"
91 .extensions = {
"tscript"},
93 .commentInlineStart =
"",
94 .commentInlineEnd =
"",
95 .preprocessorLineKeywords =
"",
96 .keywordDelimiters =
" \t\n;=-+*/%&|!~<>()[],",
97 .keywordQuotes =
"\"",
98 .keywords1 =
"add and array array.get array.indexOf array.length array.push array.remove array.removeOf array.reverse array.set array.sort bitwiseAnd bitwiseNot bitwiseOr bitwiseXor bool console.log div else elseif end engine.camera.computeUpVector engine.camera.getFovX engine.camera.getLookAt engine.camera.getLookFrom engine.camera.getUpVector engine.camera.setFovX engine.camera.setLookAt engine.camera.setLookFrom engine.camera.setUpVector engine.computeScreenCoordinateByWorldCoordinate engine.computeWorldCoordinateByMousePosition engine.entity.addOverlayAnimation engine.entity.emitParticles engine.entity.getAnimation engine.entity.getAnimationTime engine.entity.getEffectColorAdd engine.entity.getEffectColorMul engine.entity.getNodeTransform engine.entity.getNodeTransformMatrix engine.entity.getOverlayAnimationTime engine.entity.getTransform engine.entity.hasOverlayAnimation engine.entity.isEnabled engine.entity.isPickable engine.entity.removeFinishedOverlayAnimations engine.entity.removeOverlayAnimation engine.entity.removeOverlayAnimations engine.entity.setAnimation engine.entity.setAnimationSpeed engine.entity.setEffectColorAdd engine.entity.setEffectColorMul engine.entity.setEnabled engine.entity.setNodeTransform engine.entity.setNodeTransformMatrix engine.entity.setPickable engine.entity.setTransform engine.entity.unsetNodeTransform engine.entity.unsetNodeTransformMatrix engine.getEntityIdByMousePosition engine.getHeight engine.getWidth engine.timing.getAvarageFPS engine.timing.getDeltaTime engine.timing.getDeltaTimeSeconds equals float forCondition forTime getVariable greater greaterEquals gui.elementnode.conditions.add gui.elementnode.conditions.get gui.elementnode.conditions.has gui.elementnode.conditions.remove gui.elementnode.conditions.removeAll gui.elementnode.conditions.set gui.elementnode.conditions.setAll gui.event.ACTIONTYPE_PERFORMED gui.event.ACTIONTYPE_PERFORMING gui.imagenode.getSource gui.imagenode.setSource gui.node.controller.getValue gui.node.controller.setValue gui.parentnode.addSubNodes gui.parentnode.clearSubNodes gui.parentnode.replaceSubNodes gui.screen.call gui.screen.goto gui.screen.isEnabled gui.screen.pop gui.screen.push gui.screen.setEnabled gui.screennode.getId gui.textnode.getText gui.textnode.setText gui.videonode.getSource gui.videonode.setSource if input.keyboard.KEYCODE_BACKSPACE input.keyboard.KEYCODE_DELETE input.keyboard.KEYCODE_DOWN input.keyboard.KEYCODE_END input.keyboard.KEYCODE_ESCAPE input.keyboard.KEYCODE_F1 input.keyboard.KEYCODE_F10 input.keyboard.KEYCODE_F11 input.keyboard.KEYCODE_F12 input.keyboard.KEYCODE_F2 input.keyboard.KEYCODE_F3 input.keyboard.KEYCODE_F4 input.keyboard.KEYCODE_F5 input.keyboard.KEYCODE_F6 input.keyboard.KEYCODE_F7 input.keyboard.KEYCODE_F8 input.keyboard.KEYCODE_F9 input.keyboard.KEYCODE_LEFT input.keyboard.KEYCODE_PAGEDOWN input.keyboard.KEYCODE_PAGEUP input.keyboard.KEYCODE_POS1 input.keyboard.KEYCODE_RETURN input.keyboard.KEYCODE_RIGHT input.keyboard.KEYCODE_SPACE input.keyboard.KEYCODE_UP input.keyboard.getTypedString input.keyboard.isAltDown input.keyboard.isCharDown input.keyboard.isControlDown input.keyboard.isKeyDown input.keyboard.isMetaDown input.keyboard.isShiftDown input.mouse.BUTTON_LEFT input.mouse.BUTTON_MIDDLE input.mouse.BUTTON_RIGHT input.mouse.getWheelX input.mouse.getWheelY input.mouse.getWheelZ input.mouse.getX input.mouse.getXUnscaled input.mouse.getY input.mouse.getYUnscaled input.mouse.hasMoved input.mouse.isButtonDown input.mouse.isButtonUp input.mouse.isDragging int json.deserialize json.serialize lesser lesserEquals logic.call logic.getHierarchyId logic.getHierarchyParentId logic.getId logic.has logic.signal.getArgument logic.signal.getName logic.signal.has logic.signal.next logic.signal.send map map.get map.getKeys map.getValues map.has map.remove map.set mat3.identity mat3.multiply mat3.rotate mat3.rotateAroundPoint mat3.rotateAroundTextureCenter mat3.scale mat3.translate mat4.computeEulerAngles mat4.identity mat4.invert mat4.multiply mat4.rotate mat4.scale mat4.translate math.DEG2RAD math.EPSILON math.G math.PI math.abs math.absmod math.acos math.asin math.atan math.atan2 math.ceil math.clamp math.cos math.exp math.floor math.log math.max math.min math.mod math.pow math.random math.round math.sign math.sin math.sqrt math.square math.tan mod mul not notEqual or pathfinding.STATE_IDLE pathfinding.STATE_PATHFINDING pathfinding.STATE_PATHFINDING_FAILED pathfinding.STATE_PATHFINDING_OTHER pathfinding.STATE_PATHFINDING_SUCCESS pathfinding.STATE_TRYLOCK_FAILED pathfinding.findPath prefixDecrement prefixIncrement quaternion.computeEulerAngles quaternion.computeMatrix quaternion.identity quaternion.invert quaternion.multiply quaternion.normalize quaternion.rotate return scene.getDimensions sceneconnector.addPrototype sceneconnector.addPrototype2 script.call script.disableNamedCondition script.emit script.enableNamedCondition script.evaluate script.getNamedConditions script.getVariables script.stop script.wait script.waitForCondition set set.getKeys set.has set.insert set.remove setVariable string string.charAt string.concatenate string.endsWith string.equalsIgnoreCase string.firstIndexOf string.indexOf string.isEmpty string.isFloat string.isInteger string.lastIndexOf string.length string.padLeft string.padRight string.regexMatch string.regexReplace string.replace string.space string.startsWith string.substring string.toLowerCase string.toUpperCase string.tokenize string.trim sub time.getAsString time.getCurrentMillis transform transform.AXIS_X transform.AXIS_Y transform.AXIS_Z transform.applyRotation transform.fromMatrix transform.getRotationAngle transform.getRotationAxis transform.getRotationsQuaternion transform.getScale transform.getTransformMatrix transform.getTranslation transform.interpolateRotation transform.multiply transform.rotate transform.setRotationAngle transform.setScale transform.setTranslation unsetVariable vec2 vec2.computeDotProduct vec2.computeLength vec2.computeLengthSquared vec2.getX vec2.getY vec2.normalize vec3 vec3.computeAngle vec3.computeCrossProduct vec3.computeDotProduct vec3.computeLength vec3.computeLengthSquared vec3.getX vec3.getY vec3.getZ vec3.normalize vec4 vec4.computeDotProduct vec4.computeLength vec4.computeLengthSquared vec4.getW vec4.getX vec4.getY vec4.getZ vec4.normalize world.body.COLLISION_TYPEID_10 world.body.COLLISION_TYPEID_11 world.body.COLLISION_TYPEID_12 world.body.COLLISION_TYPEID_13 world.body.COLLISION_TYPEID_14 world.body.COLLISION_TYPEID_15 world.body.COLLISION_TYPEID_16 world.body.COLLISION_TYPEID_3 world.body.COLLISION_TYPEID_4 world.body.COLLISION_TYPEID_5 world.body.COLLISION_TYPEID_6 world.body.COLLISION_TYPEID_7 world.body.COLLISION_TYPEID_8 world.body.COLLISION_TYPEID_9 world.body.COLLISION_TYPEID_ALL world.body.COLLISION_TYPEID_DYNAMIC world.body.COLLISION_TYPEID_STATIC world.body.TYPE_COLLISION_DYNAMIC world.body.TYPE_COLLISION_STATIC world.body.TYPE_DYNAMIC world.body.TYPE_STATIC world.body.addForce world.body.addTorque world.body.getAngularDamping world.body.getAngularVelocity world.body.getCollisionTypeId world.body.getCollisionTypeIds world.body.getLinearDamping world.body.getLinearVelocity world.body.getTransform world.body.getType world.body.isEnabled world.body.setAngularDamping world.body.setAngularVelocity world.body.setCollisionTypeId world.body.setCollisionTypeIds world.body.setEnabled world.body.setLinearDamping world.body.setLinearVelocity world.body.setTransform world.determineHeight world.doCollide world.doRayCasting world.doesCollideWith xml.createTag",
99 .keywords2 =
"function: on: on-enabled: callable:",
100 .datatypeLiteralSuffixes =
"",
101 .statementDelimiter =
"\n"
106 .extensions = {
"makefile",
"nmake"},
108 .commentInlineStart =
"",
109 .commentInlineEnd =
"",
110 .preprocessorLineKeywords =
"",
111 .keywordDelimiters =
"",
112 .keywordQuotes =
"\"",
115 .datatypeLiteralSuffixes =
"",
116 .statementDelimiter =
""
121 .extensions = {
"bat"},
122 .commentLine =
"REM ",
123 .commentInlineStart =
"",
124 .commentInlineEnd =
"",
125 .preprocessorLineKeywords =
"",
126 .keywordDelimiters =
"",
127 .keywordQuotes =
"\"",
130 .datatypeLiteralSuffixes =
"",
131 .statementDelimiter =
""
136 .extensions = {
"sh",
"bash"},
138 .commentInlineStart =
"",
139 .commentInlineEnd =
"",
140 .preprocessorLineKeywords =
"",
141 .keywordDelimiters =
"",
142 .keywordQuotes =
"\"",
145 .datatypeLiteralSuffixes =
"",
146 .statementDelimiter =
""
GUIColor preprocessorColor
GUIColor commentLineColor
const CodeCompletion * loadCodeCompletion(const string &extension)
Parse code completion.
TextFormatter()
Public constructor.
static const vector< TiXmlElement * > getChildren(TiXmlElement *parent)
Returns immediate children tags.
void format(const string &extension, GUIStyledTextNode *textNode, int charStartIdx=-1, int charEndIdx=-1)
Format given styled text node according to extension.
static TextFormatter * getInstance()
GUIColor commentInlineColor
static STATIC_DLL_IMPEXT TextFormatter * instance
static const vector< TiXmlElement * > getChildrenByTagName(TiXmlElement *parent, const char *name)
Returns immediate children tags by tag name.
struct tdme::tools::editor::misc::TextFormatter::XMLLanguage xmlLanguage
struct tdme::tools::editor::misc::TextFormatter::PropertiesLanguage propertiesLanguage
vector< Language > languages
The element is a container class.
vector< CodeCompletionMethodOverload > overloadList
vector< string > parameters
string statementDelimiter
vector< CodeCompletionSymbol > symbols
vector< string > extensions
vector< string > keywords2Tokenized
string datatypeLiteralSuffixes
string commentInlineStart
vector< string > keywords1Tokenized
vector< string > datatypeLiteralSuffixesTokenized
string preprocessorLineKeywords
vector< string > preprocessorLineKeywordsTokenized
string statementDelimiter
vector< string > extensions
vector< string > extensions
string commentInlineStart
#define STATIC_DLL_IMPEXT
#define FORBID_CLASS_COPY(CLASS)