Character representations in Scintilla [Solved]

BlitzMax Forums/MaxGUI Module/Character representations in Scintilla [Solved]

MOBii(Posted 2014) [#1]
How can I turn Character representations OFF in Scintilla?
http://www.scintilla.org/ScintillaDoc.html#CharacterRepresentations

"NUL", "SOH", "STX", "ETX", "EOT", "ENQ", "ACK", "BEL", "BS", "HT", "LF", "VT", "FF", "CR", "SO", "SI", "DLE", "DC1", "DC2", "DC3", "DC4", "NAK", "SYN", "ETB", "CAN", "EM", "SUB", "ESC", "FS", "GS", "RS", "US", "PAD", "HOP", "BPH", "NBH", "IND", "NEL", "SSA", "ESA", "HTS", "HTJ", "VTS", "PLD", "PLU", "RI", "SS2", "SS3", "DCS", "PU1", "PU2", "STS", "CCH", "MW", "SPA", "EPA", "SOS", "SGCI", "SCI", "CSI", "ST", "OSC", "PM", "APC".

I read they can be turned off!

In Helptext: SCI_SETCONTROLCHARSYMBOL(int symbol)
For Local Q:Int = 1 To 255
	ED.txt.GetScintilla().SendEditor(SCI_SETCONTROLCHARSYMBOL, Q, Null)
	If Q <= 25 Then Print "CHAR: " + ED.txt.GetScintilla().SendEditor(SCI_GETCONTROLCHARSYMBOL, Q)
Next
This is NOT working

[Solved]
Install: wx.mod
http://www.blitzbasic.com/Community/posts.php?topic=103416


grable(Posted 2014) [#2]
SendEditor( SCI_SETCONTROLCHARSYMBOL, 32, 0)

Try this instead.


MOBii(Posted 2014) [#3]
This send a [SPACE] to Scintilla:
SendEditor(SCI_SETCONTROLCHARSYMBOL, 32, 0)
This send a "!"
SendEditor(SCI_SETCONTROLCHARSYMBOL, 33, 0)
If something is Selected it get replaced by the SETCONTROLCHARSYMBOL

My Latest test attempt is:
SendEditorString(SCI_SETWORDCHARS, 0, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")
But that did nothing..