zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: region_highlight and zle_highlight[paste]
Date: Tue, 08 Sep 2015 11:41:43 +0100	[thread overview]
Message-ID: <20150908114143.7675342a@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <CAHYJk3TuUxjTMzXec8Y1gyg8WqOZ=ff1bbqtqy-rukr4s262xA@mail.gmail.com>

On Tue, 8 Sep 2015 12:27:13 +0200
Mikael Magnusson <mikachu@gmail.com> wrote:
> 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).

I think that's probably doable, though I have no interest in doing it
myself.  At the point in the code I indicated to Daniel you'd need to
check if the attrribute currently being set didn't have TXTBGCOLOUR but
what was previously in effect did, and in that case transfer the
attribute.  That doesn't sound too hard, but I haven't looked at this
stuff for years (so the flags may not behave quite the way I'm
assuming).

pws


  reply	other threads:[~2015-09-08 10:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-07 21:22 Daniel Shahaf
2015-09-08  8:27 ` Peter Stephenson
2015-09-08 10:27   ` Mikael Magnusson
2015-09-08 10:41     ` Peter Stephenson [this message]
2015-09-10 19:12   ` 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=20150908114143.7675342a@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.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).