Closed
Bug 1905380
Opened 1 year ago
Closed 1 year ago
Migrate the extension for rendering line markers from View Plugins to State Fields
Categories
(DevTools :: Debugger, task)
DevTools
Debugger
Tracking
(firefox129 fixed)
RESOLVED
FIXED
129 Branch
| Tracking | Status | |
|---|---|---|
| firefox129 | --- | fixed |
People
(Reporter: bomsy, Assigned: bomsy)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
No description provided.
| Assignee | ||
Comment 1•1 year ago
|
||
Highlights of this patch
- Fixes the line shifting issue in the related bug as the
blockproperty can be used inDecoration.widget. - Uses Statefields. With StateFields codemirror has more control over updates, avoiding possible crashes like in Bug 1898157
- Changes from using
conditionson markers to usingpositions, this means we can just render the marker at the
desired location without always needing to loop over the all the lines of the viewport. Most times the number ofpositionsto mark
are a lot lesser that the no of lines in theviewport. - When explicitly updating a marker only the required decoration is updated.
Updated•1 year ago
|
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4003447ea832
[devtools] Refactor lineContentMarkers to use StateFields from ViewPlugins r=devtools-reviewers,nchevobbe
Comment 3•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox129:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•