Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: region_highlight and zle_highlight[paste]
- X-seq: zsh-workers 36449
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: region_highlight and zle_highlight[paste]
- Date: Tue, 8 Sep 2015 12:27:13 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Qz4/3pNdKdYEbOKtcVajydaLMKGYWE+FNGPJjKa3XBs=; b=yUyfpdmn+YQckuKRPC1ELVMWaA1r2qJgZVgp2ATF96X3Dk+NzZjmtflu8Y89V9n5TU e87FUyYWgDGR1uGAlh9N9xLISlgegenSeS3ktRXG/jyH31Zt5CJ45IY6Xtn+sd6K5Y/8 uxODdN5DG5t1KQ/a23KzTBzo8Z6iRpt1VYEYVee1HJY4TaU46bxug9mtV8E8tbz6lsKZ Him8LjAMd1FS++e6sdHZ43nseWSiSlrWG83ah/zUnA5KB8d6m/GBVCTw09kzRHO3WusE RPd6JxjiZLkkGC5TYwWuxo9VuSQrPjHelHchtDJqDOFhB1jzBg2YpZFc3y5IbR43KV+a j+Mg==
- In-reply-to: <20150908092746.5d25ad58@pwslap01u.europe.root.pri>
- 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: <20150907212211.GB9512@tarsus.local2> <20150908092746.5d25ad58@pwslap01u.europe.root.pri>
On Tue, Sep 8, 2015 at 10:27 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> On Mon, 7 Sep 2015 21:22:11 +0000
> Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>> Since region_highlight overrides zle_highlight[paste], as a widget
>> writer I'd like to know what part of $BUFFER is being paste-highlighted,
>> in order to avoid setting region_highlight entries for it.
>>
>> Does this seem reasonable?
>
> It's not much code, so if this is useful in practice, I'd say yes.
I noticed that a specification for fg=red overrides a bg=blue
specification to no background. Would it be easy to merge these
instead? (for example bold + bg=blue works already).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author