diff options
| author | Dmitry Gutov | 2012-11-14 16:17:21 +0400 |
|---|---|---|
| committer | Dmitry Gutov | 2012-11-14 16:17:21 +0400 |
| commit | c62792e7dfa403db8c36cb92f32fb69258a199ef (patch) | |
| tree | b66f89060cd2f882a04b508896cbbbd424b08412 /lisp/ChangeLog | |
| parent | 710f581278f6eaea5dbc5c0bcc7c206be9690746 (diff) | |
| download | emacs-c62792e7dfa403db8c36cb92f32fb69258a199ef.tar.gz emacs-c62792e7dfa403db8c36cb92f32fb69258a199ef.zip | |
* lisp/progmodes/ruby-mode.el
(ruby-syntax-propertize-function): After everything else, search
for expansions in string literals, mark their insides as
whitespace syntax and save match data for font-lock.
(ruby-font-lock-keywords): Highlight just the 2nd group from
expression expansion matches.
(ruby-match-expression-expansion): Use the match data saved to the
text property in ruby-syntax-propertize-function.
* test/automated/ruby-mode-tests.el
Change direct font-lock face references to var references.
(ruby-interpolation-suppresses-syntax-inside): New test.
(ruby-interpolation-inside-percent-literal-with-paren): New
failing test.
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 19623bd06b7..99bfabb8115 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -2,6 +2,15 @@ | |||
| 2 | 2 | ||
| 3 | * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection | 3 | * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection |
| 4 | more strict. Add docstring. | 4 | more strict. Add docstring. |
| 5 | (ruby-expression-expansion-re): Extract from | ||
| 6 | `ruby-match-expression-expansion'. | ||
| 7 | (ruby-syntax-propertize-function): After everything else, search | ||
| 8 | for expansions in string literals, mark their insides as | ||
| 9 | whitespace syntax and save match data for font-lock. | ||
| 10 | (ruby-font-lock-keywords): Use the 2nd group from expression | ||
| 11 | expansion matches. | ||
| 12 | (ruby-match-expression-expansion): Use the match data saved to the | ||
| 13 | text property in ruby-syntax-propertize-function. | ||
| 5 | 14 | ||
| 6 | 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca> | 15 | 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca> |
| 7 | 16 | ||