Discussion:
Multiple Undo-Histories for document tabs?
Charly Dante
2014-03-20 17:58:38 UTC
Permalink
Hello,

I wounder how I can add multiple, independent Undo-Histories to Scintilla?
If I have a document with various tabs (for example one tab per
header-file), I would like that each tab has his own, independent
Undo-History. Because at the moment all actions are getting collected into
the same undo history, so if I make changes in one tab and switch to
another tab and use CTRL-Z, some strange things can happen...

How can I tell Scintilla to switch the Undo-History when changing to
another tab in the document?

Best Regards,
CD
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Neil Hodgson
2014-03-20 21:29:57 UTC
Permalink
I wounder how I can add multiple, independent Undo-Histories to Scintilla? If I have a document with various tabs (for example one tab per header-file),
Why is there a tab per header file unless the tab is showing the header file?
I would like that each tab has his own, independent Undo-History. Because at the moment all actions are getting collected into the same undo history, so if I make changes in one tab and switch to another tab and use CTRL-Z, some strange things can happen...
Use separate documents.

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Charly Dante
2014-03-20 21:51:07 UTC
Permalink
Post by Neil Hodgson
Use separate documents.
That sounds like a good solution for my problem :D

Didn't find that on my own, I was always searching for some special
undo/redo command. Thanks for the support!
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...