From: Mikael Magnusson <mikachu@gmail.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: region_highlight cancels styles set in zle_highlight
Date: Wed, 1 Jun 2011 17:59:14 +0200 [thread overview]
Message-ID: <BANLkTikbhNQFZYSK97uM__95E2VUh1XwfQ@mail.gmail.com> (raw)
In-Reply-To: <BANLkTim-2V_GEAKOhRRLog+9=CDe96fyaQ@mail.gmail.com>
On 1 June 2011 17:57, Mikael Magnusson <mikachu@gmail.com> wrote:
> 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.
Hm, if I use bg=red instead of/in addition to bold, it works.
--
Mikael Magnusson
next prev parent reply other threads:[~2011-06-01 15:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 15:57 Mikael Magnusson
2011-06-01 15:59 ` Mikael Magnusson [this message]
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=BANLkTikbhNQFZYSK97uM__95E2VUh1XwfQ@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).