Le Mercredi 28 Mai 2003 10:39, Axel Bodemer a =E9crit :
> a nice feature is, if J highlight all found pattern at the same time on t=
> current screen. So, the user have a better overview.
> Like the 'vim'.
> This SF.net email is sponsored by: ObjectStore.
> If flattening out C++ or Java code to make your application fit in a
> relational database is painful, don't do it! Check out ObjectStore.
> Now part of Progress Software. http://www.objectstore.net/sourceforge
> armedbear-j-devel mailing list
From: Peter Graves <peter@ar...> - 2003-05-29 02:27:26
On Wed, 28 May 2003 at 14:49:59 +0200, Olivier Imbert wrote:
> Le Mercredi 28 Mai 2003 10:39, Axel Bodemer a =E9crit :
> > Hi,
> > a nice feature is, if J highlight all found pattern at the same
> > time on the current screen. So, the user have a better overview.
> > Like the 'vim'.
This feature is a tad underspecified.
When vim highlights the found pattern, it's -not- limited to the
current screen. The found pattern is highlighted throughout the file,
and every occurrence of the found pattern -stays- highlighted until you
(a) do another search, which highlights a different found pattern, or
(b) turn off the highlighting with the "nohlsearch" command.
Do people really like this? I can imagine it might be useful on
occasion, but for most of my searches, I don't want the found pattern
to be highlighted for very long after I've found it. (In addition, I
use incremental find, so a lot of the time I quit on a partial match,
which would be even more disconcerting to have highlighted on an on-
Note that this behavior is off by default in vim, until you turn it on
with "set hlsearch".
Emacs has a much more sensible implementation, which is tied to
isearch: all of the visible occurrences of the found pattern are
transiently highlighted for the duration of the isearch operation. When
you terminate the isearch (in any of the various ways you can do this),
the highlighting is removed.
I could maybe be talked into the emacs approach, but I find the vim
approach awkward and disconcerting.
Are there other examples I should be looking at?
What am I missing?
Get latest updates about Open Source Projects, Conferences and News.