Closed Bug 1451612 Opened 6 years ago Closed 6 years ago

JSTerm autocomplete input is confused when there's a new line after the caret position

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(firefox61 affected)

RESOLVED DUPLICATE of bug 1479521
Tracking Status
firefox61 --- affected

People

(Reporter: nchevobbe, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image JSTerm issue
**Steps to reproduce**
1. Open the webconsole
2. In the input, paste the following: 
```js
{
window
```
3. Hit <kbd>Enter</kbd> **twice**
4. Hit <kbd>ArrowLeft</kbd> once to get to the penultimate line
5. Enter `.add` 


**Expected results**

There is an autocomplete text (in grey), completing the input to `.addEventListener`

**Actual results**

I can't see the completion node (see attachment)

---
Priority: -- → P3
Priority: P3 → P2
Whiteboard: [boogaloo-mvp]
Product: Firefox → DevTools
Will be handled in Bug 1479521
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Priority: P2 → --
Whiteboard: [boogaloo-mvp]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: