Skip to content

Bad caret position on a line containing Japanese symbols #256

@ProgerXP

Description

@ProgerXP

Open Notepad 2e with default settings (/f0), set the following font settings:

  • Segoe UI
  • Regular
  • 16 (size)

Now paste this line (switch the buffer to UTF-8, Shift+F8):

日本zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzP TOPTOPTOPTOPTOPTOPZZZZZ IIIIzzzzzI!

Enable word wrapping and adjust window size so that this line has 1 subline (see the screenshot). Put the caret at the end of the line - you will notice that it's not positioned exactly after last character. Type z - you will notice that the caret appears right in the middle of the symbol, not after it.

This only happens if the line has Japanese symbols (alike to #247).

It's probably a Scintilla bug. If so, report it to them, please.

screenshot

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions