Commit graph

4,454 commits

Author SHA1 Message Date
Harutyun Amirjanyan
ce9adfe4ee Merge pull request #1395 from ajaxorg/fix/searchAll
Fix for replaceAll in a range. Fix for no session ace
2013-04-25 03:07:30 -07:00
Ruben Daniels
9796369696 Fix for replaceAll in a range. Fix for no session ace 2013-04-24 21:12:48 +00:00
Harutyun Amirjanyan
f7d70f4a8c Merge pull request #1387 from rgriffith/folder-widget-css-improvement
Adjust fold-widget visibility based on folding-enabled
2013-04-24 13:07:07 -07:00
Harutyun Amirjanyan
0c4ca1872c Merge pull request #1394 from rgriffith/ie8_xml_folding_fix
Addresses an issue where IE8 does not properly handle the RegExp in _par...
2013-04-24 13:04:33 -07:00
Ryan Griffith
73ad243936 Addresses an issue where IE8 does not properly handle the RegExp in _parseTag, causing folding not to work for the XML mode (or modes that inherit XML). Tested XML mode in IE8/9 and major browsers. Should resolve ajaxorg/ace#1384 2013-04-24 15:23:48 -04:00
Lennart Kats
985566b38d Merge pull request #1391 from ajaxorg/cleanup
Cleanup
2013-04-24 03:49:41 -07:00
Ryan Griffith
365dba6006 Adjust fold-widget visibility based on folding-enabled
Slight adjustment to the visibility of `.ace_fold-widget` so that when the `.ace_folding-enabled` flag is toggled, so is the widget's visibility. This addresses the issue where the left-most edge of the folding widgets may still be visible after disabling code. folding
2013-04-23 10:16:28 -03:00
nightwing
9d453a158d Insert charset utf8 for static highlighter demo
fixes #1385
2013-04-23 09:17:49 +04:00
nightwing
796fb32cc2 some coffeescript errors can be detected only with compile 2013-04-20 18:27:06 +04:00
nightwing
6e8989095c add MultiPlay.io to the list of sites 2013-04-20 17:00:30 +04:00
nightwing
12bb135b54 update perf-test.html 2013-04-20 16:57:20 +04:00
nightwing
9dd309469c fix typo in getFontSize 2013-04-20 16:49:34 +04:00
Ruben Daniels
076eeb8cab Merge pull request #1345 from ajaxorg/toggleComment
Toggle comments
2013-04-18 08:48:08 -07:00
Ruben Daniels
ef2b2bd1be Merge pull request #1368 from ajaxorg/multiselect_paste
Fix multiselect copy and paste
2013-04-18 08:47:19 -07:00
nightwing
758f500b4a Merge pull request #1378 update coffeeScript 2013-04-18 18:09:58 +04:00
nightwing
c6e4e4fa1d add more tests 2013-04-18 18:07:14 +04:00
nightwing
4dd3475fd9 pass line information from coffee parseErrors to the worker 2013-04-18 17:31:01 +04:00
nightwing
2f9a6e5ba7 update require and luaparse 2013-04-18 16:52:10 +04:00
nightwing
cf9ef326ae fix modecreator 2013-04-18 16:51:25 +04:00
Michal Srb
5a5439fd05 updated CoffeeScript to 1.6.2 2013-04-18 14:13:17 +02:00
nightwing
62a25b0ce6 fix setting for keybinding 2013-04-15 11:03:44 +04:00
nightwing
63551228ee update styling and clean up demos 2013-04-15 00:19:08 +04:00
nightwing
5894667b41 update code formatting, and general cleanup 2013-04-13 23:07:36 +04:00
nightwing
95f822c6d8 Merge branch modelist 2013-04-13 22:31:44 +04:00
nightwing
919c8221ab Merge branch setting_menu 2013-04-13 22:31:10 +04:00
nightwing
41e1f08dfe Merge remote-tracking branch 'remotes/origin/statusbar' 2013-04-13 22:30:24 +04:00
nightwing
734a5b32f2 Merge remote-tracking branch 'remotes/origin/static_highlighter' 2013-04-13 22:29:34 +04:00
Matthew Kastor
8d0183f397 kitchen_sink & mode_creator using modelist extension
I refactored all requires to point at `ace/ext/modelist` deleted the
build directory and did a full rebuild. In both the kitchen sink and the
mode creator I was able to use the mode lists and see an immediate
reaction in the applications. I think it worked out. :D
2013-04-13 20:55:08 +04:00
Matthew Kastor
9702e8d4d3 change title of modelist demo page 2013-04-13 20:55:08 +04:00
Matthew Kastor
75a55d5efa rename modelist demo 2013-04-13 20:55:08 +04:00
Matthew Kastor
3d222a773a better example code for modelist demo 2013-04-13 20:55:08 +04:00
Matthew Kastor
e306b09232 adds modelist demo 2013-04-13 20:55:08 +04:00
Matthew Kastor
a37b9ac53a adds modelist to extensions
I copied the modelist.js file from the kitchen sink demo and added doc
comments to the exported methods.

This module would be extremely helpful to anyone implementing a menu
system or who wanted to programatically switch rendering modes based on
the file extension of the file loaded into ace. I can think of several
use cases for it already. (1) in the settingsMenu branch. (2) in
supporting theme switching for anyone implementing drag and drop support
for loading files into the editor (3) in supporting theme switching for
sites implementing their own file picker dialogues and loading content
into ace through xmlhttprequest (4) in supporting filebrowser / editor
applications where a server could be set up to display file contents in
an ace editor as users browsed to arbitrary files. (5) etc. etc.

Had I known about it when I began writing the settingsMenu branch I
would have used it.
2013-04-13 20:55:07 +04:00
Matthew Kastor
408b190bb0 refactored settings menu extension 2013-04-13 20:53:41 +04:00
Matthew Kastor
60616deec0 add_editor_menu_options uses themelist to generate theme options 2013-04-13 20:53:41 +04:00
Matthew Kastor
5ea87bd96d themelist consumes themes.js & mimics modelist 2013-04-13 20:53:41 +04:00
Matthew Kastor
2107796de5 autogenerated themes.js during build 2013-04-13 20:53:41 +04:00
Matthew Kastor
dd33d82528 build now generates themes.js
This module simply exports an array of themes available so we can use
it.
2013-04-13 20:53:41 +04:00
Matthew Kastor
47329e944f Merge modelist branch & use it
This branch now depends on the modelist being pulled in as a module. I'm
using the modelist to generate the menu options for switching modes
because it's redundant to have the same massive list in two places.

The modelist module also has some awesome features so I choose it over
my silly list. :D
2013-04-13 20:53:41 +04:00
Matthew Kastor
1a4af9aff9 example code explains extension 2013-04-13 20:52:58 +04:00
nightwing
3adba8eb21 adds demo show_settings_menu
adds keyboard shortcut on init

adds keyboard shortcut on init
2013-04-13 20:52:58 +04:00
Matthew Kastor
7aac105a07 augments Editor.prototype 2013-04-13 20:52:50 +04:00
Matthew Kastor
f5500fefc4 adds demo show_keyboard_shortcuts 2013-04-13 20:52:50 +04:00
Matthew Kastor
d531866663 augments Editor.prototype 2013-04-13 20:52:50 +04:00
Matthew Kastor
b1ac371387 fixes esc event listener removal 2013-04-13 20:52:50 +04:00
nightwing
fb9bc6d3f4 prettifies menu option labels
removes "set" adds space before uppercase letters.

focus handling

focus handling
2013-04-13 20:52:50 +04:00
Matthew Kastor
9e9cdb3c48 removes commands from default commands 2013-04-13 20:52:22 +04:00
Matthew Kastor
0631a708bc removes requires from Editor 2013-04-13 20:49:46 +04:00
Matthew Kastor
b0e496de88 moved utilities to subdirectory 2013-04-13 20:49:46 +04:00
Matthew Kastor
ccae5bd8d5 remove console.log 2013-04-13 20:49:46 +04:00