Hi, I discovered scintilla a while back and it seems like a cool thing indeed. I am mostly at the level of reading the documentation and writing test code. Most things seem fairly straight forward. But...
I'm sorry if this is something I've missed in the documentation but using a controller to insert a bit of text into the editor seems a bit challenging. The SCI_SETTEXT messenge sets all the text in the document. You can change the selection area, change the text you want and set the selection area back where it was. But assume that this could cause the window to flash or similar unwanted effects. You could stop the window from repainting for a bit while you did this but this again would have somewhat unwanted effects. My goal is to have an app where the user edits text, then chooses menu item/presses a button/presses a hot-key and some text changes at some part of the text different than the insertion point. What would be the most canonical method for doing this? Hans __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
