Looks promising... When will QCodeEdit 2 be available for use? I tried downloading from svn using below address but was unable to connect.
Looks promising... When will QCodeEdit 2 be available for use? I tried downloading from svn using below address but was unable to connect.
You can't "download" from SVN but, provided you have a Subversion client installed, you can "checkout" the content of a repository... The code is already available through SVN but no package will be issued before at least a week...
Current Qt projects : QCodeEdit, RotiDeCode
I have a little trouble getting QCodeEdit2 to compile on Ubuntu Feisty, see this log:
Sorry that these error message are german, but its just the compiler complaining about missing functions. Solution?daehlith@nurse:~/projects/edyuk/edyuk/trunk/3rdparty/qcodeedit2$ qmake -v
QMake version 2.01a
Using Qt version 4.3.0 in /usr/lib
daehlith@nurse:~/projects/edyuk/edyuk/trunk/3rdparty/qcodeedit2$ qmake
daehlith@nurse:~/projects/edyuk/edyuk/trunk/3rdparty/qcodeedit2$ make
cd lib/ && make -f Makefile
make[1]: Betrete Verzeichnis '/home/daehlith/projects/edyuk/edyuk/trunk/3rdparty/qcodeedit2/lib'
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DQNFA_BUILD -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Idocument -Ilanguage -Iwidgets -Iqxs -Iqnfa -I../../qpluginsystem -I.build -I.build -o .build/qsearchreplacepanel.o widgets/qsearchreplacepanel.cpp
.build/ui_searchreplace.h: In member function »void Ui_SearchReplace::setupUi(QWidget*)«:
.build/ui_searchreplace.h:56: Fehler: »class QVBoxLayout« hat kein Element namens »setLeftMargin«
.build/ui_searchreplace.h:57: Fehler: »class QVBoxLayout« hat kein Element namens »setTopMargin«
.build/ui_searchreplace.h:58: Fehler: »class QVBoxLayout« hat kein Element namens »setRightMargin«
.build/ui_searchreplace.h:59: Fehler: »class QVBoxLayout« hat kein Element namens »setBottomMargin«
.build/ui_searchreplace.h:73: Fehler: »class QHBoxLayout« hat kein Element namens »setLeftMargin«
.build/ui_searchreplace.h:74: Fehler: »class QHBoxLayout« hat kein Element namens »setTopMargin«
.build/ui_searchreplace.h:75: Fehler: »class QHBoxLayout« hat kein Element namens »setRightMargin«
.build/ui_searchreplace.h:76: Fehler: »class QHBoxLayout« hat kein Element namens »setBottomMargin«
.build/ui_searchreplace.h:169: Fehler: »class QHBoxLayout« hat kein Element namens »setLeftMargin«
.build/ui_searchreplace.h:170: Fehler: »class QHBoxLayout« hat kein Element namens »setTopMargin«
.build/ui_searchreplace.h:171: Fehler: »class QHBoxLayout« hat kein Element namens »setRightMargin«
.build/ui_searchreplace.h:172: Fehler: »class QHBoxLayout« hat kein Element namens »setBottomMargin«
make[1]: *** [.build/qsearchreplacepanel.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/daehlith/projects/edyuk/edyuk/trunk/3rdparty/qcodeedit2/lib'
make: *** [sub-lib-make_default] Fehler 2
daehlith@nurse:~/projects/edyuk/edyuk/trunk/3rdparty/qcodeedit2$
Last edited by jacek; 30th July 2007 at 21:47. Reason: changed [code] to [quote]
"If you lie to the compiler, it will get its revenge." - Henry Spencer
This has been discussed in Edyuk thread already : Qt Designer from Qt 4.3.0 generates ui files that uic from Qt 4.2 can not turn into proper code since margin managements of layout has changed... There are several ways to get rid of this :
- switch to Qt 4.3.0 (obvious but not always affordable)
- modify ui files (either by hand or, possibly, through designer from Qt 4.2) to replace new properties by old, backward compatible ones
- wait for the Trolls to fix this (I've submitted a bug report, just wait and see...)
Current Qt projects : QCodeEdit, RotiDeCode
I did not even spot that... It's much weirder then... try out re-generating the header file from the ui (make distclean && qmake && make OR "dummy edit" in the .ui)
Try a dummy edit first, to see if your uic version still generates a faulty code and feed me back... The bug submitted to TT might prove broader than expected...
Current Qt projects : QCodeEdit, RotiDeCode
Nice to hear! Please feed me back. All suggestions, feelings and bug reports are relevant. QCodeEdit is meant to be usable and useful (i.e. to fulfil both users and coders need)
Time for fun has just come. Here's the last eye-candy : the generic highlighting definition for XML being displayed to test itself. I'm quite proud of the efficiency of it, especially relatively to its small size and human-readability!
BTW if you feel like creating new syntax definitions please do it. The 5 existing ones are far from being complete, though sufficient for Edyuk until now (C++, Doxygen, Python, C# and XML)
Current Qt projects : QCodeEdit, RotiDeCode
Hey,
is there any update on the QCodeEdit / QCodeModel 2 development? :-)
The framework looked fairly impressive the last time I checked it out.
"If you lie to the compiler, it will get its revenge." - Henry Spencer
There have loads of improvements since I last talked about it here but since I did not get much feedback I stopped reporting progress.... The code is still available through in Edyuk SVN trunk and be tested both independently (a minimal example is provided) and within Edyuk. QCodeModel 2 is fairly mature (try out Edyuk completion...) and QCodeEdit 2 works pretty well but it will need more testing/polishing before I can release anything (the search functionnalities are quite limited ATM for instance).
Current Qt projects : QCodeEdit, RotiDeCode
This editor looks like it could be very useful to me. In particular I like the ability to extend the syntax highlighting just with XML, as I have a couple of obscure languages I want to support.
I have it starting up inside my application, but cannot figure out how to make it go to a chosen line number. I need this for locating items in the source when the user clicks on them in my structure view.
Is this possible?
I am using the version from Edyuk beta 3.
Thanks in advance.
And another thing...
Does it work on your machine with a variable width font? Here, unless I go for the default fixed with font, selecting part of a line causes corruption of the text. For example, choose a proportional font, and select a the word in the middle of a line and let me know if the line is still readable for you.
Bookmarks