[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 2807902 343/405: Added syntax coloring for %,
From: |
Stefan Monnier |
Subject: |
[elpa] externals/phps-mode 2807902 343/405: Added syntax coloring for %, = |
Date: |
Sat, 13 Jul 2019 10:00:45 -0400 (EDT) |
branch: externals/phps-mode
commit 280790224366c2476b9d6a7db162816b29b080ec
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>
Added syntax coloring for %, =
---
phps-mode-lexer.el | 36 ++----------------------------------
1 file changed, 2 insertions(+), 34 deletions(-)
diff --git a/phps-mode-lexer.el b/phps-mode-lexer.el
index 5f47a50..17300a9 100644
--- a/phps-mode-lexer.el
+++ b/phps-mode-lexer.el
@@ -202,40 +202,6 @@
(display-warning "phps-mode" "PHPs Lexer Error - Going back to nil?"))
))
-;; TODO This causes error:
-;; <?php
-;; /**
-;; * @var array $listing
-;; */
-;; ?>
-;; <h1>Boat listing</h1>
-;; <pre><?php print_r($listing); ?></pre>
-;; <div class="cvj-sokbat-listing">
-
-;; <section class="sorting">
-;; <strong>Sortering</strong>
-;; <ul>
-;; <li><a href="#" data-key="date"
class="selected">Senaste</a></li>
-;; <li><a href="#" data-key="price">Pris</a></li>
-;; <li><a href="#" data-key="alphabetical">A-O</a></li>
-;; </ul>
-;; </section>
-
-;; <section class="items">
-;; <ul>
-;; <?php foreach $listing as $item) { ?>
-;; <?php $url =
-;; <li>
-;; <a href="visa-bat?<?php echo $item['Id']; ?>"></a>
-;; </li>
-;; <?php } ?>
-;; </ul>
-;; </section>
-;; </div>
-
-;; TODO Assure syntax coloring for % and =
-
-
;; Error running timer ‘phps-mode-lexer-run-incremental’: (error
"phps-mode-lexer-lex: endless loop at 609, after (T_ENCAPSED_AND_WHITESPACE 609
. 609)") [3 times]
(defun phps-mode-lexer-MOVE_FORWARD (position)
@@ -290,6 +256,8 @@
(overlay-put (make-overlay start end) 'font-lock-face
'font-lock-string-face))
((or
+ (string= token "%")
+ (string= token "=")
(string= token "?")
(string= token "!")
(string= token "<")
- [elpa] externals/phps-mode e9475f7 321/405: Merge branch 'master' of https://github.com/cjohansson/emacs-phps-mode, (continued)
- [elpa] externals/phps-mode e9475f7 321/405: Merge branch 'master' of https://github.com/cjohansson/emacs-phps-mode, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 55b3087 333/405: Optimized lexer calling, do not call when using (indent-line), Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode a309998 326/405: Integration tests passes with new function, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode c37b234 334/405: Added failing test for indent in concatenated string inside function arguments, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 8109c1a 328/405: (uncomment-region) working, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 9e62157 338/405: (comment-region) and (uncomment-region) now handles part of lines as well as full lines, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 091ab21 340/405: Passes new unit test for indentation of concatenated equal and multiplication equal assignments, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode d27af61 327/405: Fixed bug with incremental lexer were states are missing, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 32f9808 329/405: indent and imenu now triggers incremental lexer if buffer changed, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 365d739 324/405: Changed structure of integration tests, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 2807902 343/405: Added syntax coloring for %, =,
Stefan Monnier <=
- [elpa] externals/phps-mode 1bac28a 352/405: Updated readme with decreased percent for indent, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 2801604 350/405: Added TODO item, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode c80aa68 351/405: Added a new failing test for indentation of else expression inside switch, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode a8fbe7d 344/405: Improved syntax coloring of =, % and more, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 64e1789 356/405: Fixed indentation were assignments end at next line, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 83d5de8 355/405: Removed uneccesary debug output in unit test, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode abd78a0 359/405: Work on incremental newline logic, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode d8ad25b 341/405: Passes new test indentation of multi-line double-arrow inside assignment, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode e7cb803 346/405: Added another indentation test, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode dabe0ea 345/405: Added failing indentation test for multi-dimension array in assignment with double arrows, Stefan Monnier, 2019/07/13