Commit 35f012a9 authored by Jérome Perrin's avatar Jérome Perrin

codemirror: enable activeline addon

https://codemirror.net/demo/activeline.html
parent f1e9e744
......@@ -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?
......@@ -484,6 +485,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