Commit 98faed9f authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(cua--highlight-rectangle): Preserve

existing face when partially highlighting a TAB in a rectangle.
parent b14935df
......@@ -781,7 +781,7 @@ If command is repeated at same position, delete the rectangle."
(- l cl0 (if (and (= le pl) (/= le lb)) 1 0))
(if cua--virtual-edges-debug ?. ?\s))
'face 'default))
'face (or (get-text-property (1- s) 'face) 'default)))
(if (/= pl le)
(setq s (1- s))))
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