Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: region_highlight cancels styles set in zle_highlight
- X-seq: zsh-workers 29426
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: region_highlight cancels styles set in zle_highlight
- Date: Wed, 1 Jun 2011 17:59:14 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=6eWujNJDTsFGgfRrn3NiRkrtRz2PdVdolsZv8eDE0uw=; b=mDa3kW28EWJePEhMYUS+yhlor/V5CN/AWbEYbSmqxq+Xx0oIHYID/UvQ6CbUmf4kJZ Lhmd4LCnR1byF89yWI86RtvCwusEQ9wSQyoVwYA45DDQbyqTU66FT/Xh7OZSCIO2Gdbg Zw8E6LJcruOdm5JWcJ0ZUWEYeoNXNg06UU/R4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=p46eiOG1L5+0vcnrhN6px3K+2t1Kx9bVwncBFGwkelmtAeaWjCHH6HKtSkbaICzW1F n8YdDQsMQDYlMpjSy1jQfey0bqE1ue5EJJXUtGLZb11TJ34/3mMSJ1/1CzoVR8XzNwFg PMgRbioKdzZXdthZaSE2WBLdkUeZg8wX9RFuc=
- In-reply-to: <BANLkTim-2V_GEAKOhRRLog+9=CDe96fyaQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <BANLkTim-2V_GEAKOhRRLog+9=CDe96fyaQ@mail.gmail.com>
On 1 June 2011 17:57, Mikael Magnusson <mikachu@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author