(defun context-coloring-elisp-colorize-comments-and-strings-in-region (start end)
(let (syntax-code)
(goto-char start)
- (while (> end (progn (skip-syntax-forward "^<\"" end)
+ (while (> end (progn (skip-syntax-forward "^<\"\\" end)
(point)))
(setq syntax-code (context-coloring-get-syntax-code))
(cond
(context-coloring-elisp-colorize-comment))
((= syntax-code context-coloring-STRING-QUOTE-CODE)
(context-coloring-elisp-colorize-string))
+ ((= syntax-code context-coloring-ESCAPE-CODE)
+ (forward-char 2))
(t
(forward-char))))))
(defun context-coloring-elisp-colorize-region (start end)
(let (syntax-code)
(goto-char start)
- (while (> end (progn (skip-syntax-forward "^()w_'<\"" end)
+ (while (> end (progn (skip-syntax-forward "^()w_'<\"\\" end)
(point)))
(setq syntax-code (context-coloring-get-syntax-code))
(cond
(context-coloring-elisp-colorize-comment))
((= syntax-code context-coloring-STRING-QUOTE-CODE)
(context-coloring-elisp-colorize-string))
+ ((= syntax-code context-coloring-ESCAPE-CODE)
+ (forward-char 2))
(t
(forward-char))))))