is there any way to change the font in a control without having it be set in the undo buffer? (like, for my case, I'm using it in a syntax highlighter, but it REALLY screws up the undoing whenever i call it, so it basically ends up making it so that i can't undo anymore without undoing font settings and making the syntax highlighting go crazy...)
here's my basic code that i use:
// then we do that actual coloring of the code which involves a lot of selecting and font changing......
This richedit control can support over 10000 undos....that's why i need to fix this. If my editor only had one undo, i suppose it wouldn't matter, but i'd like to be able to undo more (i suppose I could figure out my own "undo algorithm" or something)