forked from mirrors/gecko-dev
Bug 1894725 - [devtools] Scroll to the function when using the copy function context menu item r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D209676
This commit is contained in:
parent
f9454c2afe
commit
f1aef7d2f6
1 changed files with 1 additions and 1 deletions
|
|
@ -72,8 +72,8 @@ class HighlightLines extends Component {
|
|||
}
|
||||
|
||||
if (features.codemirrorNext) {
|
||||
// TODO: Fix scrolling into view if its out Bug 1894725
|
||||
if (editor) {
|
||||
editor.scrollTo(range.start, 0);
|
||||
editor.setLineContentMarker({
|
||||
id: "multi-highlight-line-marker",
|
||||
lineClassName: "highlight-lines",
|
||||
|
|
|
|||
Loading…
Reference in a new issue