branch: externals/phps-mode
commit ad94b0b4898c37e2966090c82f0d6f6d8bc334ef
Author: Christian Johansson <[email protected]>
Commit: Christian Johansson <[email protected]>
Removed some fixed TODO itemsc
---
phps-mode-functions.el | 4 ----
phps-mode-lexer.el | 2 --
2 files changed, 6 deletions(-)
diff --git a/phps-mode-functions.el b/phps-mode-functions.el
index ba1ab50..60c4bb3 100644
--- a/phps-mode-functions.el
+++ b/phps-mode-functions.el
@@ -46,7 +46,6 @@
;; NOTE Also format white-space inside the line, i.e. after function
declarations?
-;; TODO Add support for automatic parenthesis, bracket, square-bracket,
single-quote and double-quote encapsulations
(defun phps-mode-functions-get-buffer-changes-start ()
"Get buffer change start."
@@ -811,9 +810,6 @@
(set (make-local-variable 'comment-start) "/* ")
(set (make-local-variable 'comment-end) " */")
- ;; TODO Make (uncomment-region) work
- ;; TODO Make selecting region and clicking ' wrap region in single quotes
-
;; Support for change detection
(add-hook 'after-change-functions #'phps-mode-functions-after-change))
diff --git a/phps-mode-lexer.el b/phps-mode-lexer.el
index 5438252..819c568 100644
--- a/phps-mode-lexer.el
+++ b/phps-mode-lexer.el
@@ -1718,10 +1718,8 @@
(setq phps-mode-lexer-state_stack state-stack)
(setq phps-mode-lexer-states new-states)
- ;; TODO Should clear overlays after point of change here
;; (message "Rewinding lex to state: %s and stack: %s and
states: %s and start: %s old tokens: %s" state state-stack new-states
previous-token-start old-tokens)
- ;; TODO Here clear all tokens after previous-token-start and add
new tokens to stack
))
;; (display-warning "phps-mode" (format "Found no state to rewind to
for %s in stack %s, buffer point max: %s" change-start states (point-max)))
(phps-mode-lexer-run)))