Skip to content

Cursor auto-back to the front of last character of it's forward English word #32

@Ynjxsjmh

Description

@Ynjxsjmh

I find that when cursor is between an English word and Chinese character or full-width punctuation, there are some strange phenomenon:

  1. If I type a space, the cursor will automatically move back to the front of the last character of that English word.
  2. If I type a English character, the cursor will automatically back to the front of that character.

Here are two gifs I record these problems

Video_2019-05-06_193333

Steps to reproduce:

  1. type test|,(notice the comma is full-width punctuation and | is the cursor's place)
  2. type space

Then you can see the cursor's automatic movement.

Video_2019-05-06_193844

Steps to reproduce:

  1. type test |中文
  2. type an English character

I think these two situation is really common while we write some articles with English and Chinese. Image when you type Artificial 是人工智能 and you forget the spell of intelligence. After you look up the dictionary, you know it's spell. Then you need to move cursor to the front of and type intelligence. But if you type i and hesitate 0.01s you will get something like ntelligencei. And it's really a torture because you should move the cursor once you type an English character(every time you type an English character between English word and Chinese character, the cursor will move back ).

There is a workround by typing two spaces before Chinese character or full-width punctuation, But you need to delete that extra space every time you complete your writing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions