Skip to content
Snippets Groups Projects
Unverified Commit e10bd302 authored by Phil Hughes's avatar Phil Hughes
Browse files

Disable cursor for review mode in the IDE

Also disables occurrences highlights & the line highlight for the review
mode.

Closes #44307
parent 49e87168
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -65,6 +65,10 @@ export default class Editor {
(this.instance = this.monaco.editor.createDiffEditor(domElement, {
...defaultEditorOptions,
readOnly: true,
quickSuggestions: false,
occurrencesHighlight: false,
renderLineHighlight: 'none',
hideCursorInOverviewRuler: true,
})),
);
 
Loading
Loading
Loading
Loading
@@ -290,6 +290,10 @@
.margin-view-overlays .delete-sign {
opacity: 0.4;
}
.cursors-layer {
display: none;
}
}
}
 
Loading
Loading
Loading
Loading
@@ -74,6 +74,10 @@ describe('Multi-file editor library', () => {
},
readOnly: true,
scrollBeyondLastLine: false,
quickSuggestions: false,
occurrencesHighlight: false,
renderLineHighlight: 'none',
hideCursorInOverviewRuler: true,
},
);
});
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment