Thank you, Luar's guidance and sharing these code, what is plagued in Chinese input will affect the expression positioning. UpdatePixelpos method found in component code
1: this.pixel_pos = this.char_width_map [math.min (1, this.is_bold)] [String.Charcodeat (POS)];
Replace the following code:
1 :
// ******************************************************** ************
2 :
// Because All English Characters' Width Is Stored in Array
3:
// if return undefined, IT is Chinese character,
4:
// Hardcode Chinese Character Width = 13
5:
// ******************************************************** ************
6:
VAR ccWidth = this.char_width_map [Math.min (1, this.is_bold)] [String.Charcodeat (POS)];
7: ccWidth = (ccWidth ==
Undefined)? 13: ccWidth; // This line is the resolution of the problem
8: this.pixel_pos = ccWidth;
Then find in the ParsehtmlShortcuts method
1: Test_pos = this.char_width_map [math.min (1, this.is_bold)] [shortcut_str.charcodeat (j)];
Replace the code:
// ******************************************************** ************
// Because All English Characters' Width Is Stored in Array
// if return undefined, IT is Chinese character,
// Hardcode Chinese Character Width = 13
// ******************************************************** ************
Var ccWidth = this.char_width_map [Math.min (1, this.is_bold)] [Shortcut_Str.Charcodeat (j)];
CcWidth = (ccwidth == undefined)? 13: ccWidth;
Test_pos = ccWidth;
//
The above references the restriction code of Luar, thank you for luar!