adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.26k stars 7.64k forks source link

[Dilato]: [I18N]: AR/HE: The cursor's location is incorrect for Arabic/Hebrew input state in file tree area. #14355

Open ZuoBaogang opened 6 years ago

ZuoBaogang commented 6 years ago

Problem: The cursor’s location is incorrect for Arabic/Hebrew input state in file tree area.

Test device: Ubuntu 17.10, windows 7 (64 bit), Mac 10.12 Test build: 1.13.0.17683

Method:

  1. Launch Brackets 1.13.
  2. Change to Arabic/Hebrew input state.
  3. Right-click a file/folder ->rename.
  4. Input some characters.
  5. Observe.

Result: The cursor’s location is incorrect for Arabic/Hebrew input state in file tree area. The cursor is displayed behind the character.

Expected: The cursor should be displayed at the front of the character for Arabic/Hebrew input state.

gif: issue

Verified this issue is also reproed in 1.12 build.

ZuoBaogang commented 6 years ago

When we input the RTL language on the main work panel and then press space key or input some punctuation, the cursor will jump to the right side of the string. space