[Konsole-devel] [Bug 127823] Error when highlighting an apostrophe character

torquil at frisurf.no torquil at frisurf.no
Tue Jul 18 12:10:07 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=127823         
torquil frisurf no changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |torquil frisurf no



------- Additional Comments From torquil frisurf no  2006-07-18 14:10 -------
Hello

Ok, here is a specific example with a screenshot:

1) To generate an error message try to compile the following file (1.cpp) by running the command 'make 1':
--------------------
#include <iostream>
using namespace std;
int main() {
        1+
}
--------------------

2) The error message I get is:
--------------------
1.cpp: In function ‘int main()’:
1.cpp:5: error: expected primary-expression before ‘}’ token
1.cpp:5: error: expected `;' before ‘}’ token
make: *** [1] Error 1

3) But, when I try to highlight the first line from the left, I get the following when I reach the apostrophe preceeding "int main()":
http://folk.uio.no/tmac/konsole_bug_1.png
http://folk.uio.no/tmac/konsole_bug_2.png
http://folk.uio.no/tmac/konsole_bug_3.png

The error occurs when the highlighting reaches the character immediately preceeding the first apostrophe. As seen in the first screenshot, the 'i' in 'int' is destroyed.

Best regards,
TMS



More information about the konsole-devel mailing list