diff --git a/src/vs/editor/browser/controller/textAreaHandler.ts b/src/vs/editor/browser/controller/textAreaHandler.ts index 4fd634ae391..ea1e5ff1ca3 100644 --- a/src/vs/editor/browser/controller/textAreaHandler.ts +++ b/src/vs/editor/browser/controller/textAreaHandler.ts @@ -47,6 +47,14 @@ class VisibleTextAreaData { public visibleTextareaStart: HorizontalPosition | null = null; public visibleTextareaEnd: HorizontalPosition | null = null; + /** + * When doing composition, the currently composed text might be split up into + * multiple tokens, then merged again into a single token, etc. Here we attempt + * to keep the presentation of the