* added SnippetMerger class that conducts the merging and snapping of TokenLocations to create snippets. * added parameters for snippet snapping and merging to ApplicationSettings. * added forEachStartTokenLocation() and forEachEndTokenLocation() to TokenLocationLine and TokenLocationFile. * added < and > operators to TokenLocation that compare the location part (not the id).
121 lines
3.3 KiB
XML
121 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- BOOL: 0, 1 -->
|
|
<!-- INTEGER: int e.g 123 -->
|
|
<!-- DECIMAL: float e.g 123.456 -->
|
|
<!-- STRING: string e.g hello -->
|
|
<!-- COLOR: int int int int - rgba e.g. 125 125 125 255 -->
|
|
|
|
<config>
|
|
<StartupProject><!-- STRING: path to project settings xml file --></StartupProject>
|
|
|
|
<FilterUndefinedNodesFromGraph><!-- BOOL: filter out undefined nodes in graph --></FilterUndefinedNodesFromGraph>
|
|
|
|
<source>
|
|
<CompilerFlags>
|
|
<CompilerFlag><!-- STRING: compiler flag, including the dash e.g. -v --></CompilerFlag>
|
|
</CompilerFlags>
|
|
|
|
<HeaderSearchPaths>
|
|
<HeaderSearchPath><!-- STRING: header search path for each path a HeaderSearchPath element --></HeaderSearchPath>
|
|
</HeaderSearchPaths>
|
|
|
|
<!-- MAC ONLY -->
|
|
<FrameworkSearchPaths>
|
|
<FrameworkSearchPath><!-- STRING: framework search path --></FrameworkSearchPath>
|
|
</FrameworkSearchPaths>
|
|
</source>
|
|
|
|
<code>
|
|
<TabWidth><!-- INTEGER: number of spaces to represent a tab in code files --></TabWidth>
|
|
|
|
<FontName><!-- STRING: name of the font used for source view --></FontName> <!-- DEPRECATED -->
|
|
<FontSize><!-- INTEGER: size of the font in the source view --></FontSize> <!-- DEPRECATED -->
|
|
|
|
<LinkColor><!-- COLOR: color of clickable elements in the source view --></LinkColor>
|
|
<ScopeColor><!-- COLOR: color of clickable scopes in the source view --></ScopeColor>
|
|
<ActiveLinkColor><!-- COLOR: color of active elements or scopes in the source view --></ActiveLinkColor>
|
|
<snippet>
|
|
<snap_range><!-- INTEGER: max amount of lines that the current snippet will be extended to snap to scope start/end --></snap_range>
|
|
<expand_range><!-- INTEGER: amount of lines that the snippet range (not snapped) will be extended --></expand_range>
|
|
</snippet>
|
|
</code>
|
|
|
|
<colors>
|
|
<!-- QueryNodeType -->
|
|
<command>
|
|
<normal>#FFE47A</normal>
|
|
<hover>#FFCC00</hover>
|
|
</command>
|
|
<operator>
|
|
<normal>#FCA47E</normal>
|
|
<hover>#F97A4E</hover>
|
|
</operator>
|
|
<!-- NodeType -->
|
|
<class>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</class>
|
|
<struct>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</struct>
|
|
<enum>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</enum>
|
|
<function>
|
|
<normal>#ffe47a</normal>
|
|
<hover>#ffcc00</hover>
|
|
</function>
|
|
<method>
|
|
<normal>#ffe47a</normal>
|
|
<hover>#ffcc00</hover>
|
|
</method>
|
|
<field>
|
|
<normal>#9ab4ad</normal>
|
|
<hover>#62b29d</hover>
|
|
</field>
|
|
<global>
|
|
<normal>#9ab4ad</normal>
|
|
<hover>#62b29d</hover>
|
|
</global>
|
|
<undefined>
|
|
<normal>#00000000</normal>
|
|
<hover>#00000000</hover>
|
|
</undefined>
|
|
<undefined_variable>
|
|
<normal>#9ab4ad</normal>
|
|
<hover>#62b29d</hover>
|
|
</undefined_variable>
|
|
<undefined_function>
|
|
<normal>#ffe47a</normal>
|
|
<hover>#ffcc00</hover>
|
|
</undefined_function>
|
|
<undefined_type>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</undefined_type>
|
|
<namespace>
|
|
<normal>#00000000</normal>
|
|
<hover>#00000000</hover>
|
|
</namespace>
|
|
<typedef>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</typedef>
|
|
<enum_constant>
|
|
<normal>#9ab4ad</normal>
|
|
<hover>#62b29d</hover>
|
|
</enum_constant>
|
|
<template_parameter_type>
|
|
<normal>#ededed</normal>
|
|
<hover>#ededed</hover>
|
|
</template_parameter_type>
|
|
<file>
|
|
<normal>#A3BA8A</normal>
|
|
<hover>#87BA50</hover>
|
|
</file>
|
|
</colors>
|
|
</config>
|