Results 1 to 20 of 216

Thread: QCodeEdit

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Join Date
    May 2006
    Location
    Germany
    Posts
    108
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2
    Thanked 14 Times in 12 Posts

    Default Re: QCodeEdit

    Quote Originally Posted by fullmetalcoder View Post
    Fixed. (I've not tested but applied the suggested patch which I hope will be enough...)
    I just checked - you missed line 331 in qdocument_p.h :-)

    Also, I just spotted a problem when compiling on mac:

    Qt Code:
    1. /Users/dominik/Documents/code/edyuk/3rdparty/qcodeedit2/lib/qeditor.cpp: In member function ‘virtual void QEditor::mousePressEvent(QMouseEvent*)’:
    2. /Users/dominik/Documents/code/edyuk/3rdparty/qcodeedit2/lib/qeditor.cpp:1262: error: no match for ‘operator=’ in ‘((QEditor*)this)->QEditor::m_doubleClick = ((QEditor*)this)->QEditor::cursor’
    3. /Users/dominik/Documents/code/edyuk/3rdparty/qcodeedit2/lib/document/qdocumentcursor.h:79: note: candidates are: QDocumentCursor& QDocumentCursor::operator=(const QDocumentCursor&)
    4. /Users/dominik/Documents/code/edyuk/3rdparty/qcodeedit2/lib/qeditor.cpp: In member function ‘virtual bool QEditor::moveKeyEvent(QDocumentCursor&, QKeyEvent*, bool*)’:
    To copy to clipboard, switch view to plain text mode 

    Quote Originally Posted by fullmetalcoder View Post
    What do you mean? That you'd like to use your own syntax engine? Or simply add a hard-coded one? The later is really easy to do but the former is a bit trickier but still doable...
    I mean using a custom syntax engine. Already noticed that it would not be easily doable :-)
    Last edited by Methedrine; 8th December 2007 at 21:16. Reason: added log for mac compiler error
    "If you lie to the compiler, it will get its revenge." - Henry Spencer

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.