HighLight class missing/wrong codes?
Posted
#1
(In Topic #1304)
Regular

<COLOR color="#0000FF">0 => Normal</COLOR>
1 => Background
…
22 => Expansion (used to color the dollar variables)
In Highlight class we have:
0 => Background (inverted index with Normal)
<COLOR color="#0000FF">1 => Normal </COLOR> (inverted with background)
<COLOR color="#FF0000">no expansion property (22)</COLOR>
So why should we use [Hightlight.property] if it doesn't cover the actual style? I had to use a custom class with enum.
Posted
Regular

Posted
Guru

for "gambas" it's different to "sh" and different to "html", etc
Read my other reply on your other post about using TextEditor.Theme and State names and not using TextEditor.Style and the Highlight constants as it'#s probably easier that trying to get your head around the old way and how all the different styles had to share the list of limited constants somehow..
1 guest and 0 members have just viewed this.


