[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strings not handled properly in C++ hightlighting
From: |
Daniel K. Skovenborg |
Subject: |
Strings not handled properly in C++ hightlighting |
Date: |
10 Nov 2003 20:10:03 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Hello
Try to put the following string into a buffer in C++-mode:
"blabla\
(blabla)\
more bla"
Now try to edit the last line. The hightlightning suddently change. The
part of the buffer after the string will suffer from appearantly random
hightlighting as string - sometime the code is hightlighted correctly
and suddently it will be hightlighted as string and vice versa (I can't
find the pattern in how it behaves after the string. It's just weird).
It's the paranthese in the start of a line that causes the problem
(delete it = no problems). You have probably copy-pasted some Lisp
highlighting code without looking through it... well, what do I know ;)
M-x version returns
GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit) of 2003-10-31 on raven,
modified by Debian
Sincerely
Daniel Kjøller Skovenborg
who will never begin to use vi - no matter how badly Emacs handles
syntax highlighting
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Strings not handled properly in C++ hightlighting,
Daniel K. Skovenborg <=