zsh-workers
 help / color / mirror / code / Atom feed
From: "Mikael Magnusson" <mikachu@gmail.com>
To: "Zsh hackers list" <zsh-workers@sunsite.dk>
Subject: Re: PATCH: command line highlighting
Date: Fri, 4 Apr 2008 11:13:51 +0200	[thread overview]
Message-ID: <237967ef0804040213p78672a0i795c80bff249b9a9@mail.gmail.com> (raw)
In-Reply-To: <8360.1207165155@pws-pc>

On 02/04/2008, Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
> Now 4.3.6 is out of the way, here's something I've been working on.  It
>  highlights the normal command line (not a completion list) in three
>  ways:

+item(tt(special))(
+Individual characters that have no direct printable
+representation but are shown in a special manner by the line editor.
+These characters are described below.)
+enditem()

It appears a newline is needed between the . and the ), or the output becomes:
  These characters are described below..'
same for these parts
`tt(^)' followed by the base character.)
on the operating system.)


The region hilighting acts a bit odd for me, if I type 'hello' press
ctrl-space and go left, everything appears fine until the cursor
reaches the "e", at this point the "h" is also hilighted. Tried in
urxvt and xterm, with zsh -f, with the same result. Going back and
forth seems to leave some characters hilighted too.

Other than that, this seems really nice. :)

-- 
Mikael Magnusson


  parent reply	other threads:[~2008-04-04  9:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02 19:39 Peter Stephenson
2008-04-03 10:30 ` Oliver Kiddle
2008-04-03 11:33   ` Peter Stephenson
2008-04-03 14:11     ` Oliver Kiddle
2008-04-03 15:29       ` Peter Stephenson
2008-04-03 15:13     ` Peter Stephenson
2008-04-04  9:13 ` Mikael Magnusson [this message]
2008-04-04 16:28   ` Peter Stephenson
2008-04-06 20:31 ` Bart Schaefer
2008-04-07  9:36   ` Peter Stephenson

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=237967ef0804040213p78672a0i795c80bff249b9a9@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=zsh-workers@sunsite.dk \
    /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).