unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* C++-mode: Syntax highlighting: wrong color for function identifier depending on the kind of whitespace that follows
@ 2005-01-21 17:44 Erik
  0 siblings, 0 replies; only message in thread
From: Erik @ 2005-01-21 17:44 UTC (permalink / raw)


In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)

In C++-mode, type:
void function(int x);

The string "function" is blue, which is correct. Now type:
void function           (int x);

The color is still correct. But type:
void function
                        (int x);

The color is suddenly yellow. This is clearly a bug. It seems to happen when
the whitespace between the function identifier th and argument list includes a
newline. The color of function identifiers should always be the same, and not
depend on what kind of whitespace follows it.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-21 17:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-21 17:44 C++-mode: Syntax highlighting: wrong color for function identifier depending on the kind of whitespace that follows Erik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).