tonkv / qdevelop

Automatically exported from code.google.com/p/qdevelop
0 stars 0 forks source link

IDE crashes if parenthesis are not in pair #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open any file (new empty is the best)
2. Write starting parenthesis '('
3. Press left arrow button

What is the expected output?
Parenthesis should (or should not) be highlighted even if pair parenthesis
is missing. It does not matter if parentheses are inside comment or inside
real code.

What do you see instead?
QDevelop falls down.

What version of the product are you using? On what operating system?
SVN rev. 107 on WinXP & Gentoo, Qt 4.2.2

Original issue reported on code.google.com by tomas.hanak@gmail.com on 1 Apr 2007 at 6:31

GoogleCodeExporter commented 9 years ago
The problem also occurs when a '(' character is entered at the end of a file:

warning: QTextCursor::setPosition: Position '2897' out of range

warning: ASSERT: "i >= 0 && i < size()" in file
C:/Qt/4.2.3/include/QtCore/../../src/corelib/tools/qstring.h, line 581

Original comment by volker.d...@gmx.de on 3 Jul 2007 at 7:28

GoogleCodeExporter commented 9 years ago

Original comment by cucoma...@gmail.com on 20 Jul 2007 at 7:00

GoogleCodeExporter commented 9 years ago
I fixed some issues with the parenthesis in trunk, and even before QDevelop did 
not 
crash for me (in this area). Closing.

Original comment by cucoma...@gmail.com on 10 Sep 2007 at 7:29