Hi All,

I asked a similar question awhile back, but I didn't quite understand the answer at the time, got on to other things, and am just now returning to this issue. I still don't understand the answer, though, so I'm hoping somebody can help me.

I have a text editor that uses wxStyledTextCtrl as a Scintilla wrapper. I'd like to know how one would go about hiding certain characters from view. For instance, if I have an editor component, and I add, say, 0x00FE to it, along with a bunch of text that I do want to be displayed, and then I add, say, 0x00FF, how would I display just the text that I want displayed, but not 0x00FE and 0X00FF? Basically what I want to do is to be able to mark the beginning and end points of certain sections of text...

In code:
        m_edit->AddText(wxT("\x00FE")); //hide this (but how?)
        m_edit->AddText(wxT("SHOW THIS STUFF HERE")); //show this
        m_edit->AddText(wxT("\x00FC")); //hide this (but how?)

Thanks,
Tom

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to