Closed Bug 1491776 Opened Last year Closed Last year
Typing a non-alpha character insert it after the completion text for a brief moment
83.86 KB, video/mp4
22.81 KB, image/png
46 bytes, text/x-phabricator-request
|Details | Review|
**Steps to reproduce** 1. Open the console 2. Type `doc` 3. The completion text should be visible (with `ument`. 4. Type `;` **Actual results** For a very brief moment, the input looks like `document;` (where `ument` is in grey), before switching to `doc;`. This results in a flash of styling which looks weird (see attachment). --- This is probably because of the way we use markText in the editor.
Here's a still of what's visible just after typing `;`. It's only displayed for some milliseconds.
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Depends on: 1470922
TRY push when keeping the markText approach: https://treeherder.mozilla.org/#/jobs?repo=try&revision=4264ce9e120e2ca9d9eb681850d7e21af07300e5&selectedJob=199881206
Comment on attachment 9009579 [details] Bug 1491776 - Do not use markText to show the completion text; r=bgrins. Brian Grinstead [:bgrins] has approved the revision.
Attachment #9009579 - Flags: review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/83af3bf2f967 Do not use markText to show the completion text; r=bgrins.
You need to log in before you can comment on or make changes to this bug.