Bug 128465 - Incorrect cursor position when editting
Summary: Incorrect cursor position when editting
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-07-23 09:40 UTC by Toshihiko Shimizu
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-08-19 01:19:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Toshihiko Shimizu 2004-07-23 09:40:03 UTC
Description of problem:

 Incorrect cursor position handling, when entered the specific
characters.(in japanese environment)
 spacific characters are following:(it will not be all of them)
   . white circle (U-25CB)
   . multiple sign (U-00D7)
   . divide sign (U-00F7)

 Although these characters are full-width size in Japanese environment,
 vim handles them like as half-width size characters.

Version-Release number of selected component (if applicable):

 6.2.457

How reproducible:

 very easy.

Steps to Reproduce:
1. login with X11(Japanese environment)
2. kick kterm
3. invoke vim
4. enter following string in vim
   "xxx**xxx"
   ** means 'White Circle' character enter with canna.
5. move cursor from left end to right end with 'l' key.
   it feels strange result.
  
Actual results:

 stop cursor before end of line.  

Expected results:

 stop cursor *at* end of line.


Additional info:

Comment 1 Toshihiko Shimizu 2004-08-19 01:19:44 UTC
Self solved.

use 'ambiwidth' option as following:

  :set ambiwidth=double

All looks like good.



Note You need to log in before you can comment on or make changes to this bug.