ui: snippet sizes
* 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).
This commit is contained in:
@@ -35,6 +35,10 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user