Commit 7d2ca18b authored by Jérome Perrin's avatar Jérome Perrin

codemirror: enable activeline addon

https://codemirror.net/demo/activeline.html
parent 2ea4bfda
......@@ -17,6 +17,7 @@
<script type="text/javascript" src="&dtml-portal_url;/codemirror/addon/search/searchcursor.js"></script>
<script type="text/javascript" src="&dtml-portal_url;/codemirror/addon/search/search.js"></script>
<script type="text/javascript" src="&dtml-portal_url;/codemirror/addon/search/jump-to-line.js"></script>
<script type="text/javascript" src="&dtml-portal_url;/codemirror/addon/selection/active-line.js"></script>
<!-- Python autocomplete (Ctrl-Space, see below)
TODO-arnau: Add ERP5 autocompletion?
......@@ -478,6 +479,7 @@
getTextareaField()[0],
{mode: mode,
lineNumbers: true,
styleActiveLine: true,
showTrailingSpace: true,
tabSize: 2,
indentWithTabs: false,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment