Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
region_highlight cancels styles set in zle_highlight
- X-seq: zsh-workers 29425
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: region_highlight cancels styles set in zle_highlight
- Date: Wed, 1 Jun 2011 17:57:14 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=ep+V6FYC47HZJ8rnNiAqDKpoG7VpIAtZ8V7c0MN4EIg=; b=JpwTrepeQrgSJEHDzdEwShwkcuWZLtC7YOgAjqAdTXimRqbxROmt8I3cDas3s+kPZ+ umRbUoSjWjWotfj+l43Ji+Tlp5W4JryLKcSXEZEd8IyvvhBiEG67NL9tlv/DcgPCxx8X 0guScm3PLCEVGtDsSjvJuAaLi8WBoJC14rVZU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZPwVVkM4b9ercuJeDr8qHMT+1cqYqrb0u2AuN+YI8xrIweqxErHcwfTfp1/BjXmETQ Yz4qgIEP9dXoZ/GDnRlcQwnSypgdQPg7hh64TrBn5kb8uSPb9BhFnnDX84f9VUUTHmjT Il2DOlEWWDW8In/oq5pTt7F/P6EbojC12UG60=
- 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
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author