From: Mikael Magnusson <mikachu@gmail.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: region_highlight cancels styles set in zle_highlight
Date: Wed, 1 Jun 2011 17:57:14 +0200 [thread overview]
Message-ID: <BANLkTim-2V_GEAKOhRRLog+9=CDe96fyaQ@mail.gmail.com> (raw)
foo() { region_highlight=("5 10 bold") }
zle_highlight=(default:bg=blue)
zle -N foo
bindkey '^T' foo
type a few words, then press ^T and ^L, note how after character 10,
the line is no longer blue.
What I'm actually trying to do is highlight the pre/post display stuff
in narrow-to-region.
--
Mikael Magnusson
next reply other threads:[~2011-06-01 15:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 15:57 Mikael Magnusson [this message]
2011-06-01 15:59 ` Mikael Magnusson
2015-09-05 10:44 Daniel Shahaf
2015-09-06 17:22 ` Peter Stephenson
2015-09-07 2:08 ` Daniel Shahaf
2015-09-07 8:48 ` Peter Stephenson
2015-09-07 21:21 ` Daniel Shahaf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTim-2V_GEAKOhRRLog+9=CDe96fyaQ@mail.gmail.com' \
--to=mikachu@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).