This reverts commit 1d08a5cd99.
Revert "Bug 2043267 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau"
This reverts commit 813e0fadb5.
Revert "Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau"
This reverts commit 2fc4893d8a.
This reverts commit c07fcd7808.
Revert "Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau" for causing node failures in devtools/client/*
This reverts commit e46af7df05.
Bug 2033191 made sure we only call ownerGlobal on nodes.
As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.
Differential Revision: https://phabricator.services.mozilla.com/D297183
Bug 2033191 made sure we only call ownerGlobal on nodes.
As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.
Differential Revision: https://phabricator.services.mozilla.com/D297183
Bug 2033191 made sure we only call ownerGlobal on nodes.
As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.
Differential Revision: https://phabricator.services.mozilla.com/D297183
Bug 2033191 made sure we only call ownerGlobal on nodes.
As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.
Differential Revision: https://phabricator.services.mozilla.com/D297183
This patch adds the autocomplete package to leverage the closeBrackets extension.
The autocomplete paackage will also be benefical in the future when we want to migrate
to using the full auto complete feature in codemirror 6.
Differential Revision: https://phabricator.services.mozilla.com/D279497
This reverts commit 58d1d10790.
Revert "Bug 2013481 - [devtools] Avoid setting autocomplete text from a transaction filter r=devtools-reviewers,nchevobbe"
This reverts commit e85159f216.
Revert "Bug 2013481 - [devtools] Remove the pref checks for Autocompletion r=devtools-reviewers,nchevobbe"
This reverts commit 8329e7b7b5.
Revert "Bug 2013481 - [devtools] Update the Autocompletion API's to support CM6 r=devtools-reviewers,nchevobbe"
This reverts commit 3ca8e58daf.
Revert "Bug 2013481 - [devtools] Add source editor API's to handle operations around the cursor position r=devtools-reviewers,perftest-reviewers,nchevobbe,sparky"
This reverts commit 856a9a8d13.
Revert "Bug 2013481 - [devtools] Add cursor class for codemirror 6 r=devtools-reviewers,nchevobbe"
This reverts commit ca6c4826d4.
These mapped CM5 methods should not be called for CM6, but lets add a check to makes sure we do not attempt to lookup on the CM6 codemirror instance.
Differential Revision: https://phabricator.services.mozilla.com/D295187
This patch adds the autocomplete package to leverage the closeBrackets extension.
The autocomplete paackage will also be benefical in the future when we want to migrate
to using the full auto complete feature in codemirror 6.
Differential Revision: https://phabricator.services.mozilla.com/D279497
Highlights of this patch
- Enables CM6 when the pref is set to true
- Autocompletion features are not working and disabled for CM6 (enabled in subsequent patch)
- No key bindings support for CM6 (support in subsequent patch)
Differential Revision: https://phabricator.services.mozilla.com/D282290
Highlights of this patch
- Updates the codemirror 6 bundle
- Restructured the `setText` api to have an options object
- Added a new `saveToHistory` option to handle not add to history (when set true), when re setting
the editor content. This is used to replace `clearHistory` behaviour in cm5.
- uses `config.keyMap` for setting the cm6 key maps
- Stop propagating `keydown` event to avoid the hijack when pressing the backspace key by the markup component
- Small cleanup on the usage of compartments
- Remove the extra `undo` intermediate change needed for cm5
Differential Revision: https://phabricator.services.mozilla.com/D267558
Highlights of this patch
- Updates the codemirror 6 bundle
- Restructured the `setText` api to have an options object
- Added a new `saveToHistory` option to handle not add to history (when set true), when re setting
the editor content. This is used to replace `clearHistory` behaviour in cm5.
- uses `config.keyMap` for setting the cm6 key maps
- Stop propagating `keydown` event to avoid the hijack when pressing the backspace key by the markup component
- Small cleanup on the usage of compartments
- Remove the extra `undo` intermediate change needed for cm5
Differential Revision: https://phabricator.services.mozilla.com/D267558