You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an Input Method Editor (IME) on Windows, decorations in the Monaco editor do not update correctly after the compositionStart event is fired. This issue occurs when a user starts typing using an IME, and the editor fails to refresh or re-render the decorations, leading to incorrect or missing visual cues.
To Reproduce
Environment: Monaco Playground (line and inline decoration example)
Input Method: Any IME (e.g., Japanese, Chinese, Korean)
Start typing using the IME to input characters on a inline block with decorations.
Observe that the decorations in the line of typing are not updated or re-rendered to reflect the changes in the text.
Expected Behavior
Decorations should update dynamically as the user types using the IME, even during the composition phase (between compositionStart and compositionEnd events).
Actual (Problematic) Behavior
Decorations do not update after the compositionStart event, leading to inconsistencies between the displayed text and the visual decorations.
Screenshots
Additional context
This issue specifically occurs on Windows when using an IME.
It may be related to the way the Monaco editor handles input events and updates decorations during IME composition.
This bug can impact various features that rely on decorations, such as syntax highlighting, error markers, and custom annotations.
Possible solution.
The text was updated successfully, but these errors were encountered:
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
When using an Input Method Editor (IME) on Windows, decorations in the Monaco editor do not update correctly after the compositionStart event is fired. This issue occurs when a user starts typing using an IME, and the editor fails to refresh or re-render the decorations, leading to incorrect or missing visual cues.
To Reproduce
Reproduction Steps
Expected Behavior
Decorations should update dynamically as the user types using the IME, even during the composition phase (between compositionStart and compositionEnd events).
Actual (Problematic) Behavior
Decorations do not update after the compositionStart event, leading to inconsistencies between the displayed text and the visual decorations.
Screenshots
Additional context
This issue specifically occurs on Windows when using an IME.
It may be related to the way the Monaco editor handles input events and updates decorations during IME composition.
This bug can impact various features that rely on decorations, such as syntax highlighting, error markers, and custom annotations.
Possible solution.
The text was updated successfully, but these errors were encountered: