Summary: | Error when highlighting an apostrophe character | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Torquil Macdonald Sørensen <torquil> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | torquil |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Torquil Macdonald Sørensen
2006-05-22 15:58:02 UTC
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. |