[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 5a8186b 34/79: Color comments and strings inside defuns.
From: |
Jackson Ray Hamilton |
Subject: |
[elpa] master 5a8186b 34/79: Color comments and strings inside defuns. |
Date: |
Sun, 14 Jun 2015 00:05:30 +0000 |
branch: master
commit 5a8186bcbfc761e96021033850d8958b4367e27f
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>
Color comments and strings inside defuns.
---
context-coloring.el | 3 ++-
test/context-coloring-test.el | 1 +
test/fixtures/let.el | 1 +
3 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/context-coloring.el b/context-coloring.el
index 180752c..9a5f022 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -512,7 +512,8 @@ generated by `js2-mode'."
;; Skip it.
(goto-char start)
(forward-sexp)))))
- (context-coloring-elisp-pop-scope)))
+ (context-coloring-elisp-pop-scope)
+ (context-coloring-elisp-colorize-comments-and-strings-in-region start
end)))
(defun context-coloring-elisp-colorize-lambda ()
(context-coloring-elisp-colorize-defun t))
diff --git a/test/context-coloring-test.el b/test/context-coloring-test.el
index a4b31d5..85b700e 100644
--- a/test/context-coloring-test.el
+++ b/test/context-coloring-test.el
@@ -1139,6 +1139,7 @@ ssssssssssss0"))
(lambda ()
(context-coloring-test-assert-coloring "
1111 11
+ cccccccccc
11 01
11 00001
11 2222 22
diff --git a/test/fixtures/let.el b/test/fixtures/let.el
index 11637b1..5507b47 100644
--- a/test/fixtures/let.el
+++ b/test/fixtures/let.el
@@ -1,4 +1,5 @@
(let (a
+ ;; comment
(b a)
(c free)
(d (let (a
- [elpa] master d146af8 23/79: Fix string coloring., (continued)
- [elpa] master d146af8 23/79: Fix string coloring., Jackson Ray Hamilton, 2015/06/13
- [elpa] master aaf4835 20/79: Remove let-varlist data structure. Cleanup., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 49265ab 25/79: Simplify comment and string parsing., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 52383b5 26/79: Handle octothorpes., Jackson Ray Hamilton, 2015/06/13
- [elpa] master a283883 24/79: Always colorize the remaining region., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 3d3c693 22/79: Pass interrupt test with recursive colorizer., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 966bd20 31/79: Add test for escape characters., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 7ab01e3 30/79: Fix ignored test., Jackson Ray Hamilton, 2015/06/13
- [elpa] master f88e21c 29/79: Ignore escaped characters., Jackson Ray Hamilton, 2015/06/13
- [elpa] master e06f1a6 27/79: Color comments and strings inside quotes., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 5a8186b 34/79: Color comments and strings inside defuns.,
Jackson Ray Hamilton <=
- [elpa] master 4b25191 28/79: Refactor benchmarks. Improve benchmark reliability., Jackson Ray Hamilton, 2015/06/13
- [elpa] master f3697c0 35/79: Strings are sexps., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 87893df 32/79: Support comma splicing., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 7167e93 19/79: Pass let and let* tests with recursive colorizer., Jackson Ray Hamilton, 2015/06/13
- [elpa] master af4f773 33/79: Colorize comments and strings inside backquotes., Jackson Ray Hamilton, 2015/06/13
- [elpa] master acaaf39 38/79: Add file statistics to benchmarks., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 8836df9 37/79: Add colorization times to logs., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 5661ed0 44/79: Document `:host' and `:port' properties., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 16fa835 40/79: Optimize JSON parser., Jackson Ray Hamilton, 2015/06/13
- [elpa] master 3dfd515 42/79: Messy server implementation., Jackson Ray Hamilton, 2015/06/13