Re: [PyQt] QsciScintilla with multiple documents

2013-04-27 Thread Lee Harr
Should I just be creating multiple QsciScintilla to make the multiple document system? This is what I ended up doing. I put them in a QStackedLayout. It works quite well. The QsciScintilla API is much easier to use than QTextEdit and it has a lot of nice extra features built in. Code

Re: [PyQt] QsciScintilla with multiple documents

2013-04-23 Thread Phil Thompson
On Tue, 23 Apr 2013 14:53:13 +0430, Lee Harr wrote: >> > With the QTextEdit there is a separate QTextDocument that can >> > be swapped in and out to make a multi-document editor. >> > >> > I am trying to switch over to QsciScintilla but am having trouble >> > achieving the same effect. >> > >> > D

Re: [PyQt] QsciScintilla with multiple documents

2013-04-23 Thread Lee Harr
> > With the QTextEdit there is a separate QTextDocument that can > > be swapped in and out to make a multi-document editor. > > > > I am trying to switch over to QsciScintilla but am having trouble > > achieving the same effect. > > > > Does the QsciDocument serve the same purpose as QTextDocument

Re: [PyQt] QsciScintilla with multiple documents

2013-04-23 Thread Phil Thompson
On Tue, 23 Apr 2013 05:02:25 +0430, Lee Harr wrote: > With the QTextEdit there is a separate QTextDocument that can > be swapped in and out to make a multi-document editor. > > I am trying to switch over to QsciScintilla but am having trouble > achieving the same effect. > > Does the QsciDocumen

[PyQt] QsciScintilla with multiple documents

2013-04-22 Thread Lee Harr
With the QTextEdit there is a separate QTextDocument that can be swapped in and out to make a multi-document editor. I am trying to switch over to QsciScintilla but am having trouble achieving the same effect. Does the QsciDocument serve the same purpose as QTextDocument? The online documentation