View Full Version : QScintilla

14th May 2009, 09:59
looking for a complex editor component, I just trapped over QScintilla.
But I found only an API doc, no example at all.

Can anybody post a simple example how to use it?

Thanks in advance, Gérôme

14th May 2009, 11:23

maybe take a look at sqliteman sources: http://sqliteman.com/ . I think it uses QScintilla as a custom sql editor.

17th May 2009, 15:30
You may also have a look at QCodeEdit (http://qcodeedit.edyuk.org) whose API is closer to that of QTextEdit/QTextDocument which makes it significantly easier to use. QCodeEdit comes with an example application and there are already several projects using it, both OSS (e.g TexMakerX (http://texmakerx.sf.net), Xinx (http://xinx.shadoware.org) and Qapote (http://qapote.tuxfamily.org)) and commercial (which you obviously won't be able to get much inspiration from unfortunately...).