help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Escaped double quote breaks syntax highlighting


From: Tim Johnson
Subject: Escaped double quote breaks syntax highlighting
Date: Tue, 11 Jul 2006 17:53:14 -0000
User-agent: slrn/0.9.8.0 (Linux)

I'm working on a mode for the rebol programming language.
The mode is derived from scheme (using 'define-derived-mode)

Rebol uses ^ (caret) as the escape character.

The syntax table is installed with the following relevant code:
  (modify-syntax-entry ?^ "\\   ")

When the mode is loaded Alt-x describe-syntax shows the following
relevant output:
^                               \       which means: escape

Unhappily though, when I place the follow sequence: ^"
inside of a string, the syntax highlighting following that sequence
fails to render properly.

What else do I need to do? 
What documentation is available for this topic?

Thanks
-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]