Say I create n selections, in order from a low position to a large one, and call SetMainSelection(0). As I type, the first caret is in the view, which is what I want. But if I undo, or redo, the view shows the last selection. I would expect that Scintilla can associate the main-selection with an undo group working on a set of selections, even through multiple undo/redo sequences.
Log in to post a comment.