Pausing on a location outside of the current viewport horizontally wouldn't move the paused location in center of the screen
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(firefox139 fixed)
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 external file)
While pausing in a non-visible location, which is up/down vertically, we would move the paused line in the middle of the codemirror viewport,
we don't do that for locations on left/right of the current viewport.
Instead, we only show the first character on the left or right edges of the current viewport.
As soon as the paused location isn't visible, we should move the viewport to make it so that the paused location is in the middle of the viewport.
| Assignee | ||
Comment 1•1 year ago
|
||
Before this patch, it would only make the column visible on the edge of the viewport,
so that we could only see the breakpoint marker, and/or only the first character after the pause location.
With this patch, if the paused location is visible, nothing happens.
But if the paused location is outside of the viewport, the paused location is centered horizontally.
Also remove the unused third argument of Editor's scrollTo.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
Description
•