Re: Improve word boundaries for text widgets
- From: Sébastien Wilmet <swilmet gnome org>
- To: gtk-devel-list gnome org
- Subject: Re: Improve word boundaries for text widgets
- Date: Sat, 4 Oct 2014 20:54:03 +0200
On Sat, Oct 04, 2014 at 02:10:02PM -0400, Matthias Clasen wrote:
My main motiviation is that 'we follow TR29' is much better in terms
of documenting it, testing it and diagnosing bugs in than 'do what vim
does'.
That would work if TR29 specifies clearly the different word boundaries
to use for the different features. But it is not the case. Instead, TR29
specifies generic word boundaries that should be tailored for the
different features, and the tailoring is left as an exercise for the
reader.
For the documentation, no need to mention Vim, the Vim word boundaries
can be summarized easily. A word is either:
- a natural-language word that can include the underscore character;
- a contiguous group of non-blank characters.
But anyway, this is an implementation detail.
--
Sébastien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]