#39 Crash when use QCodeEdit only

Crash (8)

I have some crash if i use QCodeEdit without define language. Can we use QCodeEdit as an simple editor or must we associate a language definition to QCodeEdit ?

Example :
If no language are define (so no lan->setLanguage(codeEdit->editor(), "file.cpp") :
- qlignechange don't work
- if i have a set a text with setText and then i break a line in two (with "enter"), the app crash.
- i can't place a mark.


  • fullmetalcoder

    fullmetalcoder - 2008-12-08
    • assigned_to: nobody --> fullmetalcoder
  • fullmetalcoder

    fullmetalcoder - 2008-12-08

    These are sever bugs. QCE *should* work just as well without any language set.
    However, sometimes there are regressions because most testing is done with files whose language is supported (mostly QCE sources themselves).

    The first two issues have been dealt with in SVN, thanks for reporting them.

    As for the third, it may be a little more complicated to solve (so it will take more time) but it is doable.

  • fullmetalcoder

    fullmetalcoder - 2008-12-08
    • status: open --> open-accepted
  • fullmetalcoder

    fullmetalcoder - 2009-01-05
    • status: open-accepted --> closed-accepted

Log in to post a comment.