comparison lisp/emulation/cua-rect.el @ 57011:47e923e70073

(cua--highlight-rectangle): Fix last change. Use zero width overlays when necessary.
author Kim F. Storm <storm@cua.dk>
date Wed, 08 Sep 2004 13:07:50 +0000
parents 8d62e1b62c44
children 57f225a13a09 cce1c0ee76ee
comparison
equal deleted inserted replaced
57010:708016046e80 57011:47e923e70073
776 (sit-for 0) ; make window top/bottom reliable 776 (sit-for 0) ; make window top/bottom reliable
777 (cua--rectangle-operation nil t nil nil nil ; do not tabify 777 (cua--rectangle-operation nil t nil nil nil ; do not tabify
778 '(lambda (s e l r v) 778 '(lambda (s e l r v)
779 (let ((rface (if v 'cua-rectangle-face 'cua-rectangle-noselect-face)) 779 (let ((rface (if v 'cua-rectangle-face 'cua-rectangle-noselect-face))
780 overlay bs ms as) 780 overlay bs ms as)
781 (if (= s e) (setq e (1+ e)))
782 (when (cua--rectangle-virtual-edges) 781 (when (cua--rectangle-virtual-edges)
783 (let ((lb (line-beginning-position)) 782 (let ((lb (line-beginning-position))
784 (le (line-end-position)) 783 (le (line-end-position))
785 cl cl0 pl cr cr0 pr) 784 cl cl0 pl cr cr0 pr)
786 (goto-char s) 785 (goto-char s)