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 ()
|
||||
(interactive)
|
||||
(message "%d" (length (multi-line-get-markers
|
||||
(make-instance multi-line-forward-sexp-enter-strategy)
|
||||
(make-instance multi-line-forward-sexp-find-strategy)))))
|
||||
(let ((markers (multi-line-get-markers
|
||||
(multi-line-get-enter-strategy multi-line-config)
|
||||
(multi-line-get-find-strategy multi-line-config))))
|
||||
(message "%d" markers)))
|
||||
|
||||
(defclass bars-at-markers () nil)
|
||||
|
||||
(defmethod multi-line-respace ((respacer bars-at-markers) index markers)
|
||||
(insert "|"))
|
||||
|
||||
(defun multiline-test-bars()
|
||||
(interactive)
|
||||
(multi-line-adjust-whitespace (make-instance bars-at-markers)))
|
||||
|
Loading…
Reference in New Issue
Block a user