Commit bda31cda authored by Robert Strandh's avatar Robert Strandh

Improvements to HTML syntax. This syntax module now uses an

incremental lexer, and and incremental parser based on the existing
Earley parser in syntax.lisp.

Removed backward-to-error and forward-to-error, since I am not sure
that these are what we want.
parent 0052cdaf
......@@ -1282,18 +1282,6 @@ as two values"
(syntax (syntax (buffer pane))))
(end-of-paragraph point syntax)))
(define-named-command com-backward-to-error ()
(let* ((pane (current-window))
(point (point pane))
(syntax (syntax (buffer pane))))
(display-message "~a" (backward-to-error point syntax))))
(define-named-command com-forward-to-error ()
(let* ((pane (current-window))
(point (point pane))
(syntax (syntax (buffer pane))))
(display-message "~a" (forward-to-error point syntax))))
(define-named-command com-eval-expression ((insertp 'boolean :prompt "Insert?"))
(let* ((*package* (find-package :climacs-gui))
(string (handler-case (accept 'string :prompt "Eval")
......
This diff is collapsed.
......@@ -91,8 +91,7 @@
#:basic-syntax
#:update-syntax #:update-syntax-for-display
#:syntax-line-indentation
#:beginning-of-paragraph #:end-of-paragraph
#:forward-to-error #:backward-to-error))
#:beginning-of-paragraph #:end-of-paragraph))
(defpackage :climacs-cl-syntax
(:use :clim-lisp :clim :climacs-buffer :climacs-base :flexichain :climacs-syntax)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment