Commit 2134df47 authored by Troels Henriksen's avatar Troels Henriksen
Browse files

Many changes, but CVS makes it too painful to break it up into smaller

patches (/me wishes for more modern VCS). The highlights are:

        * Symbol completion should no longer nuke quoting.

        * Symbol completion is now more intelligent with respect to
          completion of keywords for keyword arguments.

        * Changed some form selection functions to accept offsets as
          well as marks (using the `as-offsets' macro).

        * Realized that this syntax is becoming quite complex, slight
          refactoring is needed.
parent 9969be28
......@@ -254,11 +254,11 @@ possible completions will be displayed."
(buffer (buffer pane))
(syntax (syntax buffer))
(mark (point pane))
(name (symbol-name-at-mark mark
syntax)))
(when name
(token (symbol-at-mark mark
syntax)))
(when token
(with-syntax-package syntax mark (package)
(let ((completion (show-completions syntax name package)))
(let ((completion (show-completions syntax token package)))
(unless (= (length completion) 0)
(replace-symbol-at-mark mark syntax completion)))))))
......
This diff is collapsed.
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