Discussion:
Can Text Be Retrieved From Document
Gary Beene
2013-12-28 15:10:00 UTC
Permalink
I've created multiple documents, all of which are viewed in a single
Scintilla control, one at a time.

Can I get the text of the documents without first attaching the documents
to the Scintilla control?
--
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.
Neil Hodgson
2013-12-28 21:04:42 UTC
Permalink
Can I get the text of the documents without first attaching the documents to the Scintilla control?
No.

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/groups/opt_out.
Matthew Brush
2013-12-28 21:52:48 UTC
Permalink
Post by Gary Beene
I've created multiple documents, all of which are viewed in a single
Scintilla control, one at a time.
Can I get the text of the documents without first attaching the documents
to the Scintilla control?
I think using the Qt bindings (or copying their code[1] and accessing
the document instance in C++ directly) is the only way to use Scintilla
with model-view separation like one would expect.

Cheers,
Matthew Brush

[1]
https://sourceforge.net/p/scintilla/code/ci/default/tree/qt/ScintillaEdit/ScintillaDocument.cpp#l177
--
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.
Gary Beene
2013-12-29 02:24:13 UTC
Permalink
Neil/Matthew,
Thanks for the responses.

The link Matthew gave is certainly along the lines of what I asking about.

I guess it seems a lot simpler to just keep a hidden Scintilla control
somewhere and use it as a way station for accessing documents without
messing with the visible GUI content.
--
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.
Loading...