PDA

View Full Version : Use Qt Creator's text editor widget?



agarny
2nd March 2011, 12:30
My application relies on a text editing facility (with syntax highlighting, code folding, bookmarks, etc.). At the moment, I am using QScintilla (http://www.riverbankcomputing.co.uk/software/qscintilla/intro), but looking at the text editor in Qt Creator, I am wondering whether it wouldn't be better for me to use Qt Creator's text editor widget instead (main reason: stick to 'proper' Qt widgets).

So, I was wondering whether someone has ever had a go at re-using Qt Creator's text editor widget in their own program? If so, what has been your experience? What advice would you have? Etc.

Cheers, Alan.

creatio.x
21st September 2011, 17:05
My application relies on a text editing facility (with syntax highlighting, code folding, bookmarks, etc.). At the moment, I am using QScintilla (http://www.riverbankcomputing.co.uk/software/qscintilla/intro), but looking at the text editor in Qt Creator, I am wondering whether it wouldn't be better for me to use Qt Creator's text editor widget instead (main reason: stick to 'proper' Qt widgets).

So, I was wondering whether someone has ever had a go at re-using Qt Creator's text editor widget in their own program? If so, what has been your experience? What advice would you have? Etc.

Cheers, Alan.

I'm wondering the same thing right now. What did you decide on doing? Are you still using QScintilla or have you incorporated the Qt Creator's text editor into your program.

elcuco
21st September 2011, 19:02
Shameless plug - http://code.google.com/p/qtedit4/wiki/QtSourceView

I am working on such component, and looking for developers

agarny
21st September 2011, 22:25
Well done elcuco! That looks very nice and promising. Good luck with finding some developers. I, for one, don't have time to help, sorry.

Vadi
21st September 2011, 22:39
It looked too complicated at that time to rip it out, and since QScintialla was crashing quite often (and not supporting international characters), we want to using a really basic editor instead. But thanks for the thread rezz, I'll look at QtSourceView.