Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=5xX3VgOgMjOQ8Df+B9fpvAhbW8a8bA5J2oW4u/wuyMA=;
        b=XR26LlA3pUxpJ1PqUcXZij62rIs7LwS2TTuIk+WIiq79rtkMWMV9lQ42wWt9aPt0Ft
         ftl30uV1sESu89dqAziVVlF2FCZHi5JUJ+rWtk258frhM5tw8eO47UQfKb9djEtRoGXV
         EatX1TdCP08hPis2sbzhaH5xj7SABvrRQLxI0Nbi4OuDCWy4Ss6iRkrJaVNqX79u8Fsi
         CuzY4uwkVnn+k7TZrltqExe1JHHiDg8mBCkIwgOgKSQ7gKCOvO0s6ZthYj5YNb3YWV9V
         ArfucxAZ0JDcALokrCpeMADdTING1pdmsgpZNtARm1yrS3gLW9dQrStj9nQ7cCZgmfRM
         lDcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:date:message-id:subject:from:to
         :content-type;
        bh=5xX3VgOgMjOQ8Df+B9fpvAhbW8a8bA5J2oW4u/wuyMA=;
        b=PajcJgN9SlsdOkDBc2Ec0knT3zodjaD1OXGDQuPZUEx8uuFWDvwzy5Jt+iBGbsrhdb
         WeQ1mLLbcqPaQwPWLitJ4/fP5VL9rNcJelDot91MDBj84IVzOjNRL5eQMkP0FlAMzL+d
         jjBRxCMWwrxwZW+Nd2ejplPhLMSL3bZ63pX6tzeIyfiG5dfmERZF6UxXO9MqIUbAqEtS
         iz9zvtKHAlRz2aFneIK4GRgmNShD+Q8MNnCiMxdIrqS7HWr8tAXDK1cngF6AxeCyV7bV
         W5qZW7EkqwTUKVsT35GFawsbD3LmY0X/4oYhRHjnDpwy+eX9bAgw/lFYmXKJq6GoARLQ
         G/pg==
X-Gm-Message-State: AG10YOQNFucJP8l4o4X14aORK9mFzJqfzarmvUIafuXpqk8ESilbAtAVHfV5MiVwHBKG7D0uvx+KaO9Qnn1jTg==
MIME-Version: 1.0
X-Received: by 10.140.224.18 with SMTP id u18mr7883562qhb.79.1454812355691;
 Sat, 06 Feb 2016 18:32:35 -0800 (PST)
Date: Sun, 7 Feb 2016 03:32:35 +0100
Message-ID: <CAHYJk3QG=d+e-PFVmgi1X84sksdwOMg3Mim2JVkfWuVoBo8Xxw@mail.gmail.com>
Subject: Paste highlighting doesn't restore 'default' highlighting properly
From: Mikael Magnusson <mikachu@gmail.com>
To: zsh workers <zsh-workers@zsh.org>
Content-Type: text/plain; charset=UTF-8
X-Seq: zsh-workers 37900

in zsh -f,
zle_highlight=(default:bg=blue paste:bold)
now, type a few characters in, position the character some distance
from the end, and paste something. If the pasted string is longer than
$#RBUFFER, the area to the right of the cursor after the paste is not
blue anymore. I'm guessing this is because the 'end bold' code
actually cancels colors too. Setting default:bold works fine though,
all the text is still bold after pasting.

-- 
Mikael Magnusson

