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
Léo-Paul Géneau
erp5
Commits
ed1e9ec1
Commit
ed1e9ec1
authored
Aug 13, 2013
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZODB Components: Add Ace Editor settings menu (Alt+p) to set up keybinding styles for example.
parent
e23040e5
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3541 additions
and
1 deletion
+3541
-1
bt5/erp5_ace_editor/SkinTemplateItem/portal_skins/erp5_ace_editor/ace/ext-settings_menu.js.xml
...portal_skins/erp5_ace_editor/ace/ext-settings_menu.js.xml
+668
-0
bt5/erp5_ace_editor/SkinTemplateItem/portal_skins/erp5_ace_editor/ace/keybinding-emacs.js.xml
.../portal_skins/erp5_ace_editor/ace/keybinding-emacs.js.xml
+1102
-0
bt5/erp5_ace_editor/SkinTemplateItem/portal_skins/erp5_ace_editor/ace/keybinding-vim.js.xml
...em/portal_skins/erp5_ace_editor/ace/keybinding-vim.js.xml
+1756
-0
bt5/erp5_ace_editor/SkinTemplateItem/portal_skins/erp5_ace_editor/ace_editor_support.xml
...eItem/portal_skins/erp5_ace_editor/ace_editor_support.xml
+11
-0
bt5/erp5_ace_editor/bt/change_log
bt5/erp5_ace_editor/bt/change_log
+3
-0
bt5/erp5_ace_editor/bt/revision
bt5/erp5_ace_editor/bt/revision
+1
-1
No files found.
bt5/erp5_ace_editor/SkinTemplateItem/portal_skins/erp5_ace_editor/ace/ext-settings_menu.js.xml
0 → 100644
View file @
ed1e9ec1
This diff is collapsed.
Click to expand it.
bt5/erp5_ace_editor/SkinTemplateItem/portal_skins/erp5_ace_editor/ace/keybinding-emacs.js.xml
0 → 100644
View file @
ed1e9ec1
This diff is collapsed.
Click to expand it.
bt5/erp5_ace_editor/SkinTemplateItem/portal_skins/erp5_ace_editor/ace/keybinding-vim.js.xml
0 → 100644
View file @
ed1e9ec1
This diff is collapsed.
Click to expand it.
bt5/erp5_ace_editor/SkinTemplateItem/portal_skins/erp5_ace_editor/ace_editor_support.xml
View file @
ed1e9ec1
...
...
@@ -173,6 +173,8 @@
tal:attributes=
"src string:${portal_url}/ace/ace.js"
></script>
\n
<script
type=
"text/javascript"
\n
tal:attributes=
"src string:${portal_url}/ace/mode-python.js"
></script>
\n
<script
type=
"text/javascript"
\n
tal:attributes=
"src string:${portal_url}/ace/ext-settings_menu.js"
></script>
\n
<script
type=
"text/javascript"
\n
tal:define=
\'fullscreen_button
string:<input
type=
"button"
value=
"Fullscreen"
onclick=
"switchToFullScreen()"
class=
"ace_editor_action_button"
/>
;\n
save_button string:
<button
class=
"ace_editor_save_button"
onclick=
"saveDocument(event)"
><img
src=
"images/save2.png"
width=
"30"
height=
"30"
border=
"0"
/></button>
;\'\n
...
...
@@ -354,6 +356,15 @@
window.onresize = setContainerDivSize;\n
\n
ace_editor = ace.edit(\'${div_id}\');\n
\n
ace.require(\'ace/ext/settings_menu\').init(ace_editor);\n
ace_editor.commands.addCommands([{\n
name: \'showSettingsMenu\',\n
bindKey: {win: \'Alt-p\', mac: \'Alt-p\'},\n
exec: function(editor) { editor.showSettingsMenu(); },\n
readOnly: true\n
}]);\n
\n
ace_editor.resize();\n
\n
var PythonMode = require(\'ace/mode/python\').Mode;\n
...
...
bt5/erp5_ace_editor/bt/change_log
View file @
ed1e9ec1
2013-08-13 arnaud.fontaine
* ZODB Components: Add Ace Editor settings menu (Alt+p) to set up keybinding styles for example.
2013-08-13 arnaud.fontaine
* ZODB Components: Add JS file required to find text within Ace Editor.
...
...
bt5/erp5_ace_editor/bt/revision
View file @
ed1e9ec1
11
\ No newline at end of file
12
\ No newline at end of file
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