Farshid Lashkari
2013-08-21 14:59:32 UTC
I'm using SCI_SETDOCPOINTER to share multiple views of the same document.
However, when the user uses "Save As" to save a specific view to a
different file, I'd like to unshare the views. Is there a way to copy an
existing document, so all settings and undo history are still preserved?
The only thing I can find in the docs is SCI_CREATEDOCUMENT, but it seems
as though I would need to manually copy settings over and I would lose undo
history.
However, when the user uses "Save As" to save a specific view to a
different file, I'd like to unshare the views. Is there a way to copy an
existing document, so all settings and undo history are still preserved?
The only thing I can find in the docs is SCI_CREATEDOCUMENT, but it seems
as though I would need to manually copy settings over and I would lose undo
history.
--
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/groups/opt_out.
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/groups/opt_out.