Version: (using KDE KDE 3.5.2) Installed from: Debian testing/unstable Packages OS: Linux Hallo, This error occurs with konsole when trying to highlight a certain text containing the characters ‘ and ’ . When highlighting from the left with the left mouse button, the error occurs just as the above characters also become highlighted. The result when the whole line is highlighted is that all the text after the ‘ character has moved almost one character width towards the right, and the character after the ‘ has become duplicated. The ‘ and ’ characters are the ones outputted by cpp at compilation errors, e.g. 2.cpp:98: error: invalid initialization of non-const reference of type ‘int&’ from .... I use LANG and LC_CTYPE=en_GB.utf8 Best regards, TMS
I can't reproduce... maybe a screen shot or a little movie?
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
Still can't reproduce. I tried using your LANG also. Works here... 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 What char is before your int? Mine looks like backtick `, while your's looks different.
Hello, I am not able to reproduce the problem either. What font and font-size are you using?
Hello, Thanks for the suggestion, Robert. I am using the font Monospace, Regular, 9. When I changed to Bitstream Vera Sans Mono, Regular, 9 the problem went away :-) It also worked with Courier 10 Pitch, Regular, 9. And sorry Kurt for not answering, I wasn't CC'ed when you commented... Best regards, TMS
Seems to be a font-related issue. Marking as resolved for now.