Hi, list, as title, if so, why can't many functions
still handle correctly with unicode? For example the func:
getline('.')[col('.')-1]
Can't return a charactor outside the range of ascii.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
On 06/01/09 12:31, anhnmncb wrote:
Hi, list, as title, if so, why can't many functions
still handle correctly with unicode? For example the func:
getline('.')[col('.')-1]
Can't return a charactor outside the range of ascii.
because string[index] returns a byte value, not a character
On Tue, Jan 6, 2009 at 6:10 PM, Tony Mechelynck wrote:
On 06/01/09 12:31, anhnmncb wrote:
Hi, list, as title, if so, why can't many functions
still handle correctly with unicode? For example the func:
getline('.')[col('.')-1]
Can't return a charactor outside the range of ascii.
On 07/01/09 00:39, Matt Wozniski wrote:
On Tue, Jan 6, 2009 at 6:10 PM, Tony Mechelynck wrote:
On 06/01/09 12:31, anhnmncb wrote:
Hi, list, as title, if so, why can't many functions
still handle correctly with unicode? For example the func:
getline('.')[col('.')-1]
Can't return a
On 1/6/09, Tony Mechelynck wrote:
On 07/01/09 00:39, Matt Wozniski wrote:
On Tue, Jan 6, 2009 at 6:10 PM, Tony Mechelynck wrote:
On 06/01/09 12:31, anhnmncb wrote:
Hi, list, as title, if so, why can't many functions
still handle correctly with unicode? For example the func:
On 07/01/09 02:14, Matt Wozniski wrote:
On 1/6/09, Tony Mechelynck wrote:
On 07/01/09 00:39, Matt Wozniski wrote:
On Tue, Jan 6, 2009 at 6:10 PM, Tony Mechelynck wrote:
On 06/01/09 12:31, anhnmncb wrote:
Hi, list, as title, if so, why can't many functions
still handle
On Wed, 07 Jan 2009 08:25:35 +0800, Tony Mechelynck wrote:
On 07/01/09 00:39, Matt Wozniski wrote:
On Tue, Jan 6, 2009 at 6:10 PM, Tony Mechelynck wrote:
On 06/01/09 12:31, anhnmncb wrote:
Hi, list, as title, if so, why can't many functions
still handle correctly with unicode? For example
On 07/01/09 02:10, Yue Wu wrote:
On Wed, 07 Jan 2009 08:25:35 +0800, Tony Mechelynck wrote:
On 07/01/09 00:39, Matt Wozniski wrote:
On Tue, Jan 6, 2009 at 6:10 PM, Tony Mechelynck wrote:
On 06/01/09 12:31, anhnmncb wrote:
Hi, list, as title, if so, why can't many functions
still handle
On Wed, 07 Jan 2009 10:24:30 +0800, Tony Mechelynck wrote:
On 07/01/09 02:10, Yue Wu wrote:
On Wed, 07 Jan 2009 08:25:35 +0800, Tony Mechelynck wrote:
On 07/01/09 00:39, Matt Wozniski wrote:
On Tue, Jan 6, 2009 at 6:10 PM, Tony Mechelynck wrote:
On 06/01/09 12:31, anhnmncb wrote:
Hi,
On 07/01/09 03:38, Yue Wu wrote:
[...]
I always think that a normal operator is only used for
normal mode by keyboard,[...]
Oh? I have the opposite impression. For normal mode by keyboard, I don't use
:normal ylEnter
but
yl
To me, the :normal command is _only_ useful in
On Wed, 07 Jan 2009 10:55:33 +0800, Tony Mechelynck wrote:
On 07/01/09 03:38, Yue Wu wrote:
[...]
I always think that a normal operator is only used for
normal mode by keyboard,[...]
Oh? I have the opposite impression. For normal mode by keyboard, I don't
use
:normal ylEnter
On 07/01/09 04:17, Yue Wu wrote:
On Wed, 07 Jan 2009 10:55:33 +0800, Tony Mechelynck wrote:
On 07/01/09 03:38, Yue Wu wrote:
[...]
I always think that a normal operator is only used for
normal mode by keyboard,[...]
Oh? I have the opposite impression. For normal mode by keyboard, I don't
On 1/6/09, Tony Mechelynck wrote:
On 1/6/09, Matt Wozniski wrote:
echo matchstr(getline('.'), '\%' . col('.') . 'c.')
Again, col('.') is a byte index, not a column. What about virtcol('.')
instead?
Nope. \%15c is also a byte index, not a column (which is also
counter-intuitive, and brings
13 matches
Mail list logo