data: showing local symbols
- added local symbols to storage - added tests for local symbol parsing - added MessageActivateLocalSymbols to activate local symbols in code view - TokenLocations now store their LocationType instead of a plain bool "isScope" - moved LocationType from TokenLocation to separate file, since it is also used in Annotations now. - added local_symbol in stylesheet to define a style for hovering and activating these elements - renamed location to token in stylesheet
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
</syntax>
|
||||
|
||||
<selection>
|
||||
<location>
|
||||
<token>
|
||||
<normal>
|
||||
<border>transparent</border>
|
||||
<fill>transparent</fill>
|
||||
@@ -100,7 +100,21 @@
|
||||
<border>#B2B2B2</border>
|
||||
<fill>#4A4A4A</fill>
|
||||
</active>
|
||||
</location>
|
||||
</token>
|
||||
<local_symbol>
|
||||
<normal>
|
||||
<border>transparent</border>
|
||||
<fill>transparent</fill>
|
||||
</normal>
|
||||
<focus>
|
||||
<border>#FF9C3C</border>
|
||||
<fill>transparent</fill>
|
||||
</focus>
|
||||
<active>
|
||||
<border>#FF9C3C</border>
|
||||
<fill>#695540</fill>
|
||||
</active>
|
||||
</local_symbol>
|
||||
<scope>
|
||||
<normal>
|
||||
<border>transparent</border>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
</syntax>
|
||||
|
||||
<selection>
|
||||
<location>
|
||||
<token>
|
||||
<normal>
|
||||
<border>transparent</border>
|
||||
<fill>transparent</fill>
|
||||
@@ -100,7 +100,21 @@
|
||||
<border>#B2B2B2</border>
|
||||
<fill>#EDEDED</fill>
|
||||
</active>
|
||||
</location>
|
||||
</token>
|
||||
<local_symbol>
|
||||
<normal>
|
||||
<border>transparent</border>
|
||||
<fill>transparent</fill>
|
||||
</normal>
|
||||
<focus>
|
||||
<border>#FF9C3C</border>
|
||||
<fill>transparent</fill>
|
||||
</focus>
|
||||
<active>
|
||||
<border>#FF9C3C</border>
|
||||
<fill>#FFDFC0</fill>
|
||||
</active>
|
||||
</local_symbol>
|
||||
<scope>
|
||||
<normal>
|
||||
<border>transparent</border>
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
</syntax>
|
||||
|
||||
<selection>
|
||||
<location>
|
||||
<token>
|
||||
<normal>
|
||||
<border>transparent</border>
|
||||
<fill>transparent</fill>
|
||||
@@ -100,7 +100,21 @@
|
||||
<border>#B2B2B2</border>
|
||||
<fill>#4A4A4A</fill>
|
||||
</active>
|
||||
</location>
|
||||
</token>
|
||||
<local_symbol>
|
||||
<normal>
|
||||
<border>transparent</border>
|
||||
<fill>transparent</fill>
|
||||
</normal>
|
||||
<focus>
|
||||
<border>#FF9C3C</border>
|
||||
<fill>transparent</fill>
|
||||
</focus>
|
||||
<active>
|
||||
<border>#FF9C3C</border>
|
||||
<fill>#695540</fill>
|
||||
</active>
|
||||
</local_symbol>
|
||||
<scope>
|
||||
<normal>
|
||||
<border>transparent</border>
|
||||
|
||||
Reference in New Issue
Block a user