Code is highlighted incorrectly when switching to multiline mode with code already written in the console
Categories
(DevTools :: Console, defect)
Tracking
(Not tracked)
People
(Reporter: henrebotha, Unassigned)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
- Open devtools console.
- Write (or paste) some multiline code.
- Press Ctrl-B to switch to multiline mode.
- Select all the code in the multiline editor, either by clicking & dragging the mouse, or by using a keyboard shortcut such as Ctrl-A.
Actual results:
The code gets selected, but the selection highlighting does not visually cover all the lines of code completely. Depending on the exact input, the selection highlighting might stop partway through a line, or it completely fail to cover the last few lines.
Sometimes the text input cursor might also appear misaligned to the actual text.
Some of these behaviours may also occur when switching back to single-line mode.
Expected results:
The selection highlighting should visually cover all the lines of code.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•4 years ago
|
||
Hello Henré, thanks for the report.
I think this was fixed in 79 by Bug 1624531.
If you can try DevEdition or Beta, you should be able to confirm that it's fixed :)
Reporter | ||
Comment 3•4 years ago
|
||
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #2)
That was fast! Thanks for checking, and sorry for the duplication — I tried but failed to find the existing listing (probably looking in the wrong place).
Description
•