forked from colonelpanic/dotfiles
update multi-lining testing functions
This commit is contained in:
parent
087604c693
commit
bab589076e
@ -10,11 +10,16 @@
|
|||||||
|
|
||||||
(defun test-multi-line-get-markers ()
|
(defun test-multi-line-get-markers ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(message "%d" (length (multi-line-get-markers
|
(let ((markers (multi-line-get-markers
|
||||||
(make-instance multi-line-forward-sexp-enter-strategy)
|
(multi-line-get-enter-strategy multi-line-config)
|
||||||
(make-instance multi-line-forward-sexp-find-strategy)))))
|
(multi-line-get-find-strategy multi-line-config))))
|
||||||
|
(message "%d" markers)))
|
||||||
|
|
||||||
(defclass bars-at-markers () nil)
|
(defclass bars-at-markers () nil)
|
||||||
|
|
||||||
(defmethod multi-line-respace ((respacer bars-at-markers) index markers)
|
(defmethod multi-line-respace ((respacer bars-at-markers) index markers)
|
||||||
(insert "|"))
|
(insert "|"))
|
||||||
|
|
||||||
|
(defun multiline-test-bars()
|
||||||
|
(interactive)
|
||||||
|
(multi-line-adjust-whitespace (make-instance bars-at-markers)))
|
||||||
|
Loading…
Reference in New Issue
Block a user