Character representations in Scintilla [Solved]
BlitzMax Forums/MaxGUI Module/Character representations in Scintilla [Solved]
| ||
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) NextThis is NOT working [Solved] Install: wx.mod http://www.blitzbasic.com/Community/posts.php?topic=103416 |
| ||
SendEditor( SCI_SETCONTROLCHARSYMBOL, 32, 0) Try this instead. |
| ||
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.. |