Do not show cursor in read-only mode.
Created attachment 196156 [details] Patch
Comment on attachment 196156 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=196156&action=review > Source/WebCore/inspector/front-end/CodeMirrorTextEditor.js:136 > + if (readOnly) Why not just this._codeMirror.setOption("readOnly", isReadOnlySection ? "nocursor" : false); ?
Comment on attachment 196156 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=196156&action=review >> Source/WebCore/inspector/front-end/CodeMirrorTextEditor.js:136 >> + if (readOnly) > > Why not just > > this._codeMirror.setOption("readOnly", isReadOnlySection ? "nocursor" : false); ? yep, your solution is much better! Thanks!
Created attachment 196171 [details] Patch
Comment on attachment 196171 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=196171&action=review > Source/WebCore/ChangeLog:8 > + No new tests. We usually specify the reason for which a change has no tests. E.g., "No new tests - a UI change"
Comment on attachment 196171 [details] Patch Clearing flags on attachment: 196171 Committed r147451: <http://trac.webkit.org/changeset/147451>
All reviewed patches have been landed. Closing bug.