zsh-workers
 help / color / mirror / code / Atom feed
* Paste highlighting doesn't restore 'default' highlighting properly
@ 2016-02-07  2:32 Mikael Magnusson
  0 siblings, 0 replies; only message in thread
From: Mikael Magnusson @ 2016-02-07  2:32 UTC (permalink / raw)
  To: zsh workers

in zsh -f,
zle_highlight=(default:bg=blue paste:bold)
now, type a few characters in, position the character some distance
from the end, and paste something. If the pasted string is longer than
$#RBUFFER, the area to the right of the cursor after the paste is not
blue anymore. I'm guessing this is because the 'end bold' code
actually cancels colors too. Setting default:bold works fine though,
all the text is still bold after pasting.

-- 
Mikael Magnusson


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-07  2:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-07  2:32 Paste highlighting doesn't restore 'default' highlighting properly Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).