Bram Moolenaar <[email protected]> writes:
> Can we see the start and/or end of a word by recognizing characters?
> Or do we need to recognize words?

Everything I can find online indicates that word boundary detection (and
line breaking, which requires _syllable_ boundary detection). ICU
provides algorithms for this, which use dictionaries for Thai, Khmer,
Chinese, and Japanese, though I don't know if this is what is used by
the platforms that provide this capability in standard editing controls.

Cynically, I suppose that users of these scripts are probably used to
minor inconsistencies between different software packages, and that
matching platform behavior exactly is less important than having
reasonable behavior 99% of the time.

http://userguide.icu-project.org/boundaryanalysis

One thing I wonder about is, will \< and \> be in scope for such a
feature? I don't think they can be on the same column right now.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui