On Aug 25, 9:31 am, "Vince Negri" <[email protected]> wrote:
> From: Ben Fritz [mailto:[email protected]]
>
> > Forwarded from vim_use...potentially the changeset mentioned below
> > missed a change or two.
>
> Chip Campbell noticed this, although in his case it turned out there was an
> easier way to do what he was trying to do. Nothing got missed out from
> the changeset, I think there is still a funny with specifying a cchar for
> "concealends". I never imagined someone would want to do that (since cchar was
> for things like entity replacement.)

Well, I suppose I don't really *need* this feature either. I have a
plugin that provides something akin to "rich text" within Vim. It
accomplishes the formatting with regions introduced by single-
character "tokens", which are concealed, either through "normal"
syntax concealment methods, or (for versions that support it) with the
'conceal' feature. At one point, a user suggested it would be nice to
have a mapping that made the tokens temporarily visible. When I saw
how 'cole' could be varied dynamically to switch between total
concealment and cchar representation, I thought I had found a nice way
to accomplish this; however, it's really a minor feature, so I won't
be devastated if you decide it's not worth fixing. If you don't fix
it, however, I would suggest that the expected behavior be documented
in the help; as it is now, I think a user would reasonably expect to
see cchar on both ends of the region. More generally, I think he would
expect for cchar to work the same for concealends as it does for
conceal.

At any rate, I'm very glad this excellent feature has made it into Vim
proper.

Thanks,
Brett Stahlman

>
> Chip's original comment:
>
> > A cchar with concealends seems to show up only on the right side,
> > and the left side persistently shows [the default conceal character]
>
> Vince

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui