-------------------------------------------------------------------------------
-- SCHEME QUESTIONS/THOUGHTS --
-------------------------------------------------------------------------------
[1] In my assembler syntax I have ".486" and similar directives but PNP overrides this and uses the color for the number class instead. (seeing it as a floating point number).. How can I fix this?
-------------------------------------------------------------------------------
[2] how do I set escape characters? How do I set no escape character?
"\" will show an escaped string in assembler syntax although it shouldn't be behaving that way.
-------------------------------------------------------------------------------
[3] What exactly is in class "identifiers" and is it different from class "default"? Where can I see the contents of class "identifiers"?
-------------------------------------------------------------------------------
[4] What are "keys" really? Are these fixed references or are they assigned on the first use? Do they just point to a color? Why is there nothing in the realm of documentation for how the syntax definitions really are to be structured? Sure I can deduce quite a lot from reading them, but is there a resource which contains all the information on how syntax highlighting works?
I noticed that renumbering the key completely wiped out my syntax highlighting. However, if I give two style names the same key, one will get a color while the other one will take "default".... So, I'm confused by this.
-------------------------------------------------------------------------------
[5] In my lua file, I have "string literal" which denotes [[ test ]] , however that isn't defined in the actual syntax file. is using square brackets a common convention for literal strings? Also, inside square brackets [in lua], backslash doesn't escape although it does in the PNP. How can I fix this?
-------------------------------------------------------------------------------
[6] In my lua file I have...
<style name="String" key="6" class="string" />
<style name="Character" key="7" class="string" />
<style name="String Literal" key="8" class="string" />
however I don't want these various different ways to write comments to have different colors. Sure I could assign all 3 the same color, however, I'd rather just do it in one go. Is it possible to group them under one color in one xml entry?
-------------------------------------------------------------------------------
[7, suggestion] In reference to the above, I am guess that string literal is the 3rd entry in an invisible class called "string". If that were the case, I think the syntax should be changed to
<style name="String" key="6" class="string[0]" />
<style name="Character" key="7" class="string[1]" />
<style name="String Literal" key="8" class="string[2]" />
which would also denote the same for how you assigned keywords. say I had...
<keyword key="0" name="Keywords" class="lua"/>
<keyword key="1" name="Functions" class="functions"/>
(then)
<style name="lua" key="5" class="keyword[0]" />
<style name="functions" key="13" class="keyword[1]" />
That makes more sense to me...
-------------------------------------------------------------------------------
[8] In regards to "default" and "whitespace"
<style name="Default" key="32" />
<style name="Whitespace" key="0" />
This makes me think that there are reserved keys for specific lexing types. Is there any documentation on keys? (redundant)
-------------------------------------------------------------------------------
[9] Is there a way to specify double clicking delimiters? If I double click inside of the quotes...
"test"
It selects "test but not the last ". Is there a way to change this behavior? I want it to select just test. Hope that makes sense.
-------------------------------------------------------------------------------
[10] Is there a way to make a custom Brace class? How about Operators? Numbers? Etc (applicable to all classes hidden from user)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Okay......
(Great Editor btw. Replaced textpad after trying out about 25 potential replacements.)
Thanks.