Commit graph

2,778 commits

Author SHA1 Message Date
Builders Brewery
d15dfadbd3 added "print" to invalid.illegal 2013-04-29 23:20:26 +04:00
Builders Brewery
2a089797c6 added constants from RC MAGNUM 13.04.19.274352
CONTENT_TYPE_ATOM, CONTENT_TYPE_FORM, CONTENT_TYPE_JSON,
CONTENT_TYPE_LLSD, CONTENT_TYPE_RSS, CONTENT_TYPE_XHTML,
CONTENT_TYPE_XML
2013-04-29 23:20:26 +04:00
Builders Brewery
fe46c0fee7 added ATTACH_AVATAR_CENTER and ATTACH_NECK 2013-04-29 23:20:26 +04:00
Builders Brewery
745ee98e4a ... 2013-04-29 23:20:26 +04:00
Builders Brewery
bbd8721a02 trying to fix udf regex for LSL 2013-04-29 23:20:25 +04:00
Builders Brewery
e0e6c38d17 fixed regex to match user defined function in LSL 2013-04-29 23:20:25 +04:00
Builders Brewery
36083cbfe8 unindented back as before 2013-04-29 23:20:25 +04:00
Builders Brewery
a39212bd0d added missing comma and fixed call in lsl.js .....now still have to fix regex line 311 in lsl_highlight_rules.js 2013-04-29 23:20:25 +04:00
Builders Brewery
b1d7fc7557 attempting to fix LSL for Ace 2013-04-29 23:20:25 +04:00
nightwing
f7a17ac67d smaller demo file 2013-04-29 23:19:25 +04:00
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
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
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
796fb32cc2 some coffeescript errors can be detected only with compile 2013-04-20 18:27:06 +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
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
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
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
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
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
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
Matthew Kastor
be52f7316a fix typo 2013-04-13 20:49:46 +04:00
Matthew Kastor
8244231254 adds support for closing menus by pressing esc 2013-04-13 20:49:46 +04:00
Matthew Kastor
0a289d2468 removed left property assignment
When the editor takes up the entire window and the window is only half
the size of my screen, the menus get crunched up horribly.  I'll provide
for closing the overlay by pressing esc in case the overlay's contents
take up the entire screen.

If ace is to be used in very small frames then implementors will need to
provide styling information in css to control how the settings menu
looks.
2013-04-13 20:49:46 +04:00
Matthew Kastor
24a00578c6 removed unnecessary function
since I've moved the functions to the editor and session objects
themselves I can get rid of this.
2013-04-13 20:49:46 +04:00
Matthew Kastor
b0c08dced1 adds setWrapLimit to session 2013-04-13 20:49:45 +04:00