Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
7d6d0ea3
Commit
7d6d0ea3
authored
Jan 22, 2015
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_code_mirror: Add syntax checking in Merge view as well.
parent
eaba53bc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
bt5/erp5_code_mirror/SkinTemplateItem/portal_skins/erp5_code_mirror/code_mirror_support.xml
...tem/portal_skins/erp5_code_mirror/code_mirror_support.xml
+6
-2
bt5/erp5_code_mirror/bt/change_log
bt5/erp5_code_mirror/bt/change_log
+3
-0
No files found.
bt5/erp5_code_mirror/SkinTemplateItem/portal_skins/erp5_code_mirror/code_mirror_support.xml
View file @
7d6d0ea3
...
@@ -480,11 +480,15 @@
...
@@ -480,11 +480,15 @@
matchBrackets: true,\n
matchBrackets: true,\n
/* viewportMargin: Infinity, */\n
/* viewportMargin: Infinity, */\n
extraKeys: {"Ctrl-Space": "autocomplete",\n
extraKeys: {"Ctrl-Space": "autocomplete",\n
"Ctrl-Q": function(cm){cm.foldCode(cm.getCursor());},\n
"Ctrl-S": function(cm){saveDocument(merge_mode_elem.edit, $.Event(\'click\'))}},\n
"Ctrl-S": function(cm){saveDocument(merge_mode_elem.edit, $.Event(\'click\'))}},\n
foldGutter: true,\n
foldGutter: true,\n
lineWrapping: true,\n
lineWrapping: true,\n
gutters: ["CodeMirror-linenumbers",\n
gutters: ["CodeMirror-lint-markers",\n
"CodeMirror-foldgutter"]});\n
"CodeMirror-linenumbers",\n
"CodeMirror-foldgutter"],\n
lint: {"getAnnotations": checkPythonSourceCode,\n
"async": true}});\n
\n
\n
$("#merge").keyup(\n
$("#merge").keyup(\n
function(event) {\n
function(event) {\n
...
...
bt5/erp5_code_mirror/bt/change_log
View file @
7d6d0ea3
2015-01-22 arnaud.fontaine
* Add syntax checking in Merge view as well.
2015-01-22 arnaud.fontaine
2015-01-22 arnaud.fontaine
* Update CodeMirror to 4.11.
* Update CodeMirror to 4.11.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment