mirror of https://github.com/gorhill/uBlock.git
[codemirror] add active line addon
This commit is contained in:
parent
1521d4326c
commit
9df0202a00
|
@ -33,9 +33,10 @@
|
||||||
|
|
||||||
<script src="lib/codemirror/lib/codemirror.js"></script>
|
<script src="lib/codemirror/lib/codemirror.js"></script>
|
||||||
<script src="lib/codemirror/addon/display/panel.js"></script>
|
<script src="lib/codemirror/addon/display/panel.js"></script>
|
||||||
<script src="lib/codemirror/addon/search/searchcursor.js"></script>
|
|
||||||
<script src="lib/codemirror/addon/scroll/annotatescrollbar.js"></script>
|
<script src="lib/codemirror/addon/scroll/annotatescrollbar.js"></script>
|
||||||
<script src="lib/codemirror/addon/search/matchesonscrollbar.js"></script>
|
<script src="lib/codemirror/addon/search/matchesonscrollbar.js"></script>
|
||||||
|
<script src="lib/codemirror/addon/search/searchcursor.js"></script>
|
||||||
|
<script src="lib/codemirror/addon/selection/active-line.js"></script>
|
||||||
|
|
||||||
<script src="js/codemirror/search.js"></script>
|
<script src="js/codemirror/search.js"></script>
|
||||||
<script src="js/codemirror/ubo-static-filtering.js"></script>
|
<script src="js/codemirror/ubo-static-filtering.js"></script>
|
||||||
|
|
|
@ -26,9 +26,10 @@ body {
|
||||||
|
|
||||||
<script src="lib/codemirror/lib/codemirror.js"></script>
|
<script src="lib/codemirror/lib/codemirror.js"></script>
|
||||||
<script src="lib/codemirror/addon/display/panel.js"></script>
|
<script src="lib/codemirror/addon/display/panel.js"></script>
|
||||||
<script src="lib/codemirror/addon/search/searchcursor.js"></script>
|
|
||||||
<script src="lib/codemirror/addon/scroll/annotatescrollbar.js"></script>
|
<script src="lib/codemirror/addon/scroll/annotatescrollbar.js"></script>
|
||||||
<script src="lib/codemirror/addon/search/matchesonscrollbar.js"></script>
|
<script src="lib/codemirror/addon/search/matchesonscrollbar.js"></script>
|
||||||
|
<script src="lib/codemirror/addon/search/searchcursor.js"></script>
|
||||||
|
<script src="lib/codemirror/addon/selection/active-line.js"></script>
|
||||||
|
|
||||||
<script src="js/codemirror/search.js"></script>
|
<script src="js/codemirror/search.js"></script>
|
||||||
<script src="js/codemirror/ubo-static-filtering.js"></script>
|
<script src="js/codemirror/ubo-static-filtering.js"></script>
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
.cm-staticnet.cm-block {color: #800;}
|
.cm-staticnet.cm-block {color: #800;}
|
||||||
.cm-staticnet.cm-allow {color: #004f00;}
|
.cm-staticnet.cm-allow {color: #004f00;}
|
||||||
|
|
||||||
|
|
||||||
.cm-search-widget {
|
.cm-search-widget {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
|
|
|
@ -38,6 +38,7 @@ var cmEditor = new CodeMirror(
|
||||||
autofocus: true,
|
autofocus: true,
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
lineWrapping: true,
|
lineWrapping: true,
|
||||||
|
styleActiveLine: true
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,8 @@
|
||||||
autofocus: true,
|
autofocus: true,
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
lineWrapping: true,
|
lineWrapping: true,
|
||||||
readOnly: true
|
readOnly: true,
|
||||||
|
styleActiveLine: true
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue