forked from unlcms/UNL-CMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[unlcmsgh-908] Add ace_editor module (patched) and library
- Loading branch information
Showing
1,533 changed files
with
590,476 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/js/ace_editor.admin.js b/js/ace_editor.admin.js | ||
index 29e6da5..1c5214e 100644 | ||
--- a/js/ace_editor.admin.js | ||
+++ b/js/ace_editor.admin.js | ||
@@ -200,9 +200,20 @@ | ||
/** | ||
* Bind the change event to all text format select lists. | ||
*/ | ||
+ | ||
+ // Customize this handler depending on the installed JQuery version, | ||
+ // to ensure compatibility from JQuery 1.4 to 1.9+. Issue #2255597 | ||
+ var iCanUseOn = !!$.fn.on; | ||
+ if (iCanUseOn) { | ||
+ var func = 'on'; | ||
+ } | ||
+ else { | ||
+ var func = 'live'; | ||
+ } | ||
+ | ||
var toAcify = 'div.text-format-wrapper fieldset.filter-wrapper select.filter-list'; | ||
|
||
- $(toAcify).change(function(e) { | ||
+ $(toAcify)[func]('change', toAcify, function(e) { | ||
var $textFormatWrapper = $(this).parents('div.text-format-wrapper:first'); | ||
acifyWrapper($textFormatWrapper); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,359 @@ | ||
2016.01.17 Version 1.2.3 | ||
|
||
* Bugfixes | ||
- fix memory leak in setSession (Tyler Stalder) | ||
- double click not working on linux/mac | ||
|
||
* new language modes | ||
- reStructuredText (Robin Jarry) | ||
- NSIS (Jan T. Sott) | ||
|
||
|
||
2015.10.28 Version 1.2.1 | ||
|
||
* new language modes | ||
- Swift | ||
- JSX | ||
|
||
2015.07.11 Version 1.2.0 | ||
|
||
* New Features | ||
- Indented soft wrap (danyaPostfactum) | ||
- Rounded borders on selections | ||
|
||
* API Changes | ||
- unified delta types `{start, end, action, lines}` (Alden Daniels https://github.com/ajaxorg/ace/pull/1745) | ||
- "change" event listeners on session and editor get delta objects directly | ||
|
||
* new language modes | ||
- SQLServer (Morgan Yarbrough) | ||
|
||
2015.04.03 Version 1.1.9 | ||
|
||
- Small Enhancements and Bugfixes | ||
|
||
2014.11.08 Version 1.1.8 | ||
|
||
* API Changes | ||
- `editor.commands.commandKeyBinding` now contains direct map from keys to commands instead of grouping them by hashid | ||
|
||
* New Features | ||
- Improved autoindent for html and php modes (Adam Jimenez) | ||
- Find All from searchbox (Colton Voege) | ||
|
||
* new language modes | ||
- Elixir, Elm | ||
|
||
2014.09.21 Version 1.1.7 | ||
|
||
* Bugfixes | ||
- fix several bugs in autocompletion | ||
- workaround for inaccurate getBoundingClientRect on chrome 37 | ||
|
||
2014.08.17 Version 1.1.6 | ||
|
||
* Bugfixes | ||
- fix regression in double tap to highlight | ||
- Improved Latex Mode (Daniel Felder) | ||
|
||
* API Changes | ||
- editor.destroy destroys editor.session too (call editor.setSession(null) to prevent that) | ||
|
||
* new language modes | ||
- Praat (José Joaquín Atria) | ||
- Eiffel (Victorien Elvinger) | ||
- G-code (Adam Joseph Cook) | ||
|
||
2014.07.09 Version 1.1.5 | ||
|
||
* Bugfixes | ||
- fix regression in autocomplete popup | ||
|
||
* new language modes | ||
- gitignore (Devon Carew) | ||
|
||
2014.07.01 Version 1.1.4 | ||
|
||
* New Features | ||
- Highlight matching tags (Adam Jimenez) | ||
- Improved jump to matching command (Adam Jimenez) | ||
|
||
* new language modes | ||
- AppleScript (Yaogang Lian) | ||
- Vala | ||
|
||
2014.03.08 Version 1.1.3 | ||
|
||
* New Features | ||
- Allow syntax checkers to be loaded from CDN (Derk-Jan Hartman) | ||
- Add ColdFusion behavior (Abram Adams) | ||
- add showLineNumbers option | ||
- Add html syntax checker (danyaPostfactum) | ||
|
||
* new language modes | ||
- Gherkin (Patrick Nevels) | ||
- Smarty | ||
|
||
2013.12.02 Version 1.1.2 | ||
|
||
* New Features | ||
- Accessibility Theme for Ace (Peter Xiao) | ||
- use snipetManager for expanding emmet snippets | ||
- update jshint to 2.1.4 | ||
- improve php syntax checker (jdalegonzalez) | ||
- add option for autoresizing | ||
- add option for autohiding vertical scrollbar | ||
- improvements to highlighting of xml like languages (danyaPostfactum) | ||
- add support for autocompletion and snippets (gjtorikyan danyaPostfactum and others) | ||
- add option to merge similar changes in undo history | ||
- add scrollPastEnd option | ||
- use html5 dragndrop for text dragging (danyaPostfactum) | ||
|
||
* API Changes | ||
- fixed typo in HashHandler commmandManager | ||
|
||
* new language modes | ||
- Nix (Zef Hemel) | ||
- Protobuf (Zef Hemel) | ||
- Soy | ||
- Handlebars | ||
|
||
2013.06.04 Version 1.1.1 | ||
|
||
- Improved emacs keybindings (Robert Krahn) | ||
- Added markClean, isClean methods to UndoManager (Joonsoo Jeon) | ||
- Do not allow `Toggle comments` command to remove spaces from indentation | ||
- Softer colors for indent guides in dark themes | ||
|
||
* new language modes | ||
- Ada | ||
- Assembly_x86 | ||
- Cobol | ||
- D | ||
- ejs | ||
- MATLAB | ||
- MySQL | ||
- Twig | ||
- Verilog | ||
|
||
2013.05.01, Version 1.1.0 | ||
|
||
* API Changes | ||
- Default position of the editor container is changed to relative. Add `.ace_editor {position: absolute}` css rule to restore old behavior | ||
- Changed default line-height to `normal` to not conflict with bootstrap. Use `line-height: inherit` for old behavior. | ||
- Changed marker types accepted by session.addMarker. It now accepts "text"|"line"|"fullLine"|"screenLine" | ||
- Internal classnames used by editor were made more consistent | ||
- Introduced `editor.setOption/getOption/setOptions/getOptions` methods | ||
- Introduced positionToIndex, indexToPosition methods | ||
|
||
* New Features | ||
- Improved emacs mode (chetstone) | ||
with Incremental search and Occur modes (Robert Krahn) | ||
|
||
- Improved ime handling | ||
- Searchbox (Vlad Zinculescu) | ||
|
||
- Added elastic tabstops lite extension (Garen Torikian) | ||
- Added extension for whitespace manipulation | ||
- Added extension for enabling spellchecking from contextmenu | ||
- Added extension for displaying available keyboard shortcuts (Matthew Christopher Kastor-Inare III) | ||
- Added extension for displaying options panel (Matthew Christopher Kastor-Inare III) | ||
- Added modelist extension (Matthew Christopher Kastor-Inare III) | ||
|
||
- Improved toggleCommentLines and added ToggleCommentBlock command | ||
- `:;` pairing in CSS mode (danyaPostfactum) | ||
|
||
- Added suppoert for Delete and SelectAll from context menu (danyaPostfactum) | ||
|
||
- Make wrapping behavior optional | ||
- Selective bracket insertion/skipping | ||
|
||
- Added commands for increase/decrease numbers, sort lines (Vlad Zinculescu) | ||
- Folding for Markdown, Lua, LaTeX | ||
- Selective bracket insertion/skipping for C-like languages | ||
|
||
* Many new languages | ||
- Scheme (Mu Lei) | ||
- Dot (edwardsp) | ||
- FreeMarker (nguillaumin) | ||
- Tiny Mushcode (h3rb) | ||
- Velocity (Ryan Griffith) | ||
- TOML (Garen Torikian) | ||
- LSL (Nemurimasu Neiro, Builders Brewery) | ||
- Curly (Libo Cannici) | ||
- vbScript (Jan Jongboom) | ||
- R (RStudio) | ||
- ABAP | ||
- Lucene (Graham Scott) | ||
- Haml (Garen Torikian) | ||
- Objective-C (Garen Torikian) | ||
- Makefile (Garen Torikian) | ||
- TypeScript (Garen Torikian) | ||
- Lisp (Garen Torikian) | ||
- Stylus (Garen Torikian) | ||
- Dart (Garen Torikian) | ||
|
||
* Live syntax checks | ||
- PHP (danyaPostfactum) | ||
- Lua | ||
|
||
* New Themes | ||
- Chaos | ||
- Terminal | ||
|
||
2012.09.17, Version 1.0.0 | ||
|
||
* New Features | ||
- Multiple cursors and selections (https://c9.io/site/blog/2012/08/be-an-armenian-warrior-with-block-selection-on-steroids/) | ||
- Fold buttons displayed in the gutter | ||
- Indent Guides | ||
- Completely reworked vim mode (Sergi Mansilla) | ||
- Improved emacs keybindings | ||
- Autoclosing of html tags (danyaPostfactum) | ||
|
||
* 20 New language modes | ||
- Coldfusion (Russ) | ||
- Diff | ||
- GLSL (Ed Mackey) | ||
- Go (Davide Saurino) | ||
- Haxe (Jason O'Neil) | ||
- Jade (Garen Torikian) | ||
- jsx (Syu Kato) | ||
- LaTeX (James Allen) | ||
- Less (John Roepke) | ||
- Liquid (Bernie Telles) | ||
- Lua (Lee Gao) | ||
- LuaPage (Choonster) | ||
- Markdown (Chris Spencer) | ||
- PostgreSQL (John DeSoi) | ||
- Powershell (John Kane) | ||
- Sh (Richo Healey) | ||
- SQL (Jonathan Camile) | ||
- Tcl (Cristoph Hochreiner) | ||
- XQuery (William Candillion) | ||
- Yaml (Meg Sharkey) | ||
|
||
* Live syntax checks | ||
- for XQuery and JSON | ||
|
||
* New Themes | ||
- Ambiance (Irakli Gozalishvili) | ||
- Dreamweaver (Adam Jimenez) | ||
- Github (bootstraponline) | ||
- Tommorrow themes (https://github.com/chriskempson/tomorrow-theme) | ||
- XCode | ||
|
||
* Many Small Enhancements and Bugfixes | ||
|
||
2011.08.02, Version 0.2.0 | ||
|
||
* Split view (Julian Viereck) | ||
- split editor area horizontally or vertivally to show two files at the same | ||
time | ||
|
||
* Code Folding (Julian Viereck) | ||
- Unstructured code folding | ||
- Will be the basis for language aware folding | ||
|
||
* Mode behaviours (Chris Spencer) | ||
- Adds mode specific hooks which allow transformations of entered text | ||
- Autoclosing of braces, paranthesis and quotation marks in C style modes | ||
- Autoclosing of angular brackets in XML style modes | ||
|
||
* New language modes | ||
- Clojure (Carin Meier) | ||
- C# (Rob Conery) | ||
- Groovy (Ben Tilford) | ||
- Scala (Ben Tilford) | ||
- JSON | ||
- OCaml (Sergi Mansilla) | ||
- Perl (Panagiotis Astithas) | ||
- SCSS/SASS (Andreas Madsen) | ||
- SVG | ||
- Textile (Kelley van Evert) | ||
- SCAD (Jacob Hansson) | ||
|
||
* Live syntax checks | ||
- Lint for CSS using CSS Lint <http://csslint.net/> | ||
- CoffeeScript | ||
|
||
* New Themes | ||
- Crimson Editor (iebuggy) | ||
- Merbivore (Michael Schwartz) | ||
- Merbivore soft (Michael Schwartz) | ||
- Solarized dark/light <http://ethanschoonover.com/solarized> (David Alan Hjelle) | ||
- Vibrant Ink (Michael Schwartz) | ||
|
||
* Small Features/Enhancements | ||
- Lots of render performance optimizations (Harutyun Amirjanyan) | ||
- Improved Ruby highlighting (Chris Wanstrath, Trent Ogren) | ||
- Improved PHP highlighting (Thomas Hruska) | ||
- Improved CSS highlighting (Sean Kellogg) | ||
- Clicks which cause the editor to be focused don't reset the selection | ||
- Make padding text layer specific so that print margin and active line | ||
highlight are not affected (Irakli Gozalishvili) | ||
- Added setFontSize method | ||
- Improved vi keybindings (Trent Ogren) | ||
- When unfocused make cursor transparent instead of removing it (Harutyun Amirjanyan) | ||
- Support for matching groups in tokenizer with arrays of tokens (Chris Spencer) | ||
|
||
* Bug fixes | ||
- Add support for the new OSX scroll bars | ||
- Properly highlight JavaScript regexp literals | ||
- Proper handling of unicode characters in JavaScript identifiers | ||
- Fix remove lines command on last line (Harutyun Amirjanyan) | ||
- Fix scroll wheel sluggishness in Safari | ||
- Make keyboard infrastructure route keys like []^$ the right way (Julian Viereck) | ||
|
||
2011.02.14, Version 0.1.6 | ||
|
||
* Floating Anchors | ||
- An Anchor is a floating pointer in the document. | ||
- Whenever text is inserted or deleted before the cursor, the position of | ||
the cursor is updated | ||
- Usesd for the cursor and selection | ||
- Basis for bookmarks, multiple cursors and snippets in the future | ||
* Extensive support for Cocoa style keybindings on the Mac <https://github.com/ajaxorg/ace/issues/closed#issue/116/comment/767803> | ||
* New commands: | ||
- center selection in viewport | ||
- remove to end/start of line | ||
- split line | ||
- transpose letters | ||
* Refator markers | ||
- Custom code can be used to render markers | ||
- Markers can be in front or behind the text | ||
- Markers are now stored in the session (was in the renderer) | ||
* Lots of IE8 fixes including copy, cut and selections | ||
* Unit tests can also be run in the browser | ||
<https://github.com/ajaxorg/ace/blob/master/lib/ace/test/tests.html> | ||
* Soft wrap can adapt to the width of the editor (Mike Ratcliffe, Joe Cheng) | ||
* Add minimal node server server.js to run the Ace demo in Chrome | ||
* The top level editor.html demo has been renamed to index.html | ||
* Bug fixes | ||
- Fixed gotoLine to consider wrapped lines when calculating where to scroll to (James Allen) | ||
- Fixed isues when the editor was scrolled in the web page (Eric Allam) | ||
- Highlighting of Python string literals | ||
- Syntax rule for PHP comments | ||
|
||
2011.02.08, Version 0.1.5 | ||
|
||
* Add Coffeescript Mode (Satoshi Murakami) | ||
* Fix word wrap bug (Julian Viereck) | ||
* Fix packaged version of the Eclipse mode | ||
* Loading of workers is more robust | ||
* Fix "click selection" | ||
* Allow tokizing empty lines (Daniel Krech) | ||
* Make PageUp/Down behavior more consistent with native OS (Joe Cheng) | ||
|
||
2011.02.04, Version 0.1.4 | ||
|
||
* Add C/C++ mode contributed by Gastón Kleiman | ||
* Fix exception in key input | ||
|
||
2011.02.04, Version 0.1.3 | ||
|
||
* Let the packaged version play nice with requireJS | ||
* Add Ruby mode contributed by Shlomo Zalman Heigh | ||
* Add Java mode contributed by Tom Tasche | ||
* Fix annotation bug | ||
* Changing a document added a new empty line at the end |
Oops, something went wrong.