Commit graph

479 commits

Author SHA1 Message Date
nightwing
4d2afc9d1c fix ctrl-tab keybinding on firefox 2013-05-01 14:12:30 +04:00
nightwing
846f712969 cleanup and merge pull #1370 update lsl mode 2013-04-29 23:40:38 +04:00
nightwing
f7a17ac67d smaller demo file 2013-04-29 23:19:25 +04:00
Joel Moss
5d5f509bf1 Fixed require path in settings menu demo 2013-04-26 14:25:09 +02:00
nightwing
9d453a158d Insert charset utf8 for static highlighter demo
fixes #1385
2013-04-23 09:17:49 +04:00
nightwing
2f9a6e5ba7 update require and luaparse 2013-04-18 16:52:10 +04:00
nightwing
63551228ee update styling and clean up demos 2013-04-15 00:19:08 +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
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
f5500fefc4 adds demo show_keyboard_shortcuts 2013-04-13 20:52:50 +04:00
nightwing
3c46895f8c cleanup 2013-04-13 20:37:47 +04:00
Matthew Kastor
d0d3ca2de8 kitchen sink using statusbar extension
I refactored the kitchen sink to use the statusbar extension, deleted
the build directory, did a full rebuild and it works. :D
2013-04-13 19:50:04 +04:00
Matthew Kastor
2b362a2fa1 changed demo title 2013-04-13 19:50:04 +04:00
Matthew Kastor
43250dd064 adds statusbar demo 2013-04-13 19:50:04 +04:00
nightwing
8a75cdca13 cleanup 2013-04-13 19:42:14 +04:00
nightwing
978d32eca3 Create client-noconflict.html
Is this the right way to use the static highlighter with the 
noconflict build?

Edit as necessary. This is about as good as I can get it...

loads modules from script tags

makes div visible after highlighting

fixes display (sort of)

codeEl margin & padding 0

editor overflow auto, gutter position relative

replace code element with div

mode can be specified as a string

mode and theme may be specified as strings

This preserves the behavior of this method when specifying mode and
theme as objects. It adds the ability to specify mode and theme as
module paths. When specifying mode and / or theme as a module path you
must provide a callback function. The callback function will receive the
same value as the return value previously returned when specifying mode
and theme as objects.

Good stuff.

multiple elements with different modes and themes

The example shows multiple elements highlighted with different modes and
themes all in the same page. The pre element isn't ideal.

The example shows how to transfer the computed width and height of the
element into its inline style so that it won't dramatically change shape
and disrupt the page once it's had highlighting applied. It would
probably be better to replace the elements entirely and apply sizing
styles to the replacement elements but that isn't always an option.
2013-04-13 19:41:53 +04:00
nightwing
859d5c8cd9 Merge pull request #1365 from wcandillon/master
Add JSONiq mode
2013-04-13 18:11:41 +04:00
William Candillon
e099044630 Add JSONiq mode. 2013-04-13 18:10:01 +04:00
Nicolas Guillaumin
258d00dcff Added .properties files mode 2013-04-13 10:05:39 +10:00
Ryan Griffith
31aede445d Added velocity mode and sample doc to demo 2013-04-05 14:45:22 -04:00
nightwing
28943dcf1d snippetManager should be lowercase 2013-04-04 22:59:06 +04:00
nightwing
55af92676f add emmet extension 2013-03-30 18:12:52 +04:00
Lennart Kats
dd5c9954db Merge pull request #1192 from ajaxorg/tmSnippets
Add support for TextMate snippets
2013-03-25 11:41:05 -07:00
nightwing
9d4faf8911 Merge pull request #1293
Incremental search
2013-03-23 16:21:35 +04:00
h3rb
6e62f2f0a5 Update scrollable-page.html
added terminal theme to "dark"
2013-03-23 15:23:59 +04:00
h3rb
3637c8d87b Update doclist.js
Modified name of file
2013-03-23 15:23:59 +04:00
h3rb
84f167b828 Create tinymush.mc
Example MUSHcode
2013-03-23 15:23:58 +04:00
h3rb
cb3abb8257 Update doclist.js
Added to docs as per ace docs for TinyMUSH code hilighter
2013-03-23 15:23:58 +04:00
h3rb
69ea968649 Update modelist.js
Added MUSHCode to ModeList in Kitchensink
2013-03-23 15:23:58 +04:00
h3rb
7efe8c933b Update modelist.js
Included MUSHcode in Mode List
2013-03-23 15:22:57 +04:00
nightwing
f9ed205557 add a way to unregister snippets 2013-03-20 02:38:57 +04:00
nightwing
19ea0fe979 add snippet editor to the demo 2013-03-19 18:41:41 +04:00
nightwing
d97de5c149 use delayedCall instead of setTimeout 2013-03-18 21:54:39 +04:00
nightwing
47ba638f4b fix formatstrings 2013-03-18 10:07:21 +04:00
nightwing
3d43f42f8a more work on snippet manager 2013-03-17 21:03:15 +04:00
nightwing
b8eb5a1fec add support for TextMate snippets 2013-03-17 21:03:14 +04:00
nightwing
84b130acdb add whitespace addon 2013-03-17 19:51:20 +04:00
Robert Krahn
5cc2c50ebb [incremental search] emacs uses isearch by default 2013-03-17 04:43:34 -07:00
Robert Krahn
8a62ad8be0 [incremental search] extending kitchen sink to use isearch 2013-03-17 04:43:33 -07:00
Robert Krahn
3e6a036995 [incremental search] adding basic functionality 2013-03-17 04:43:31 -07:00
Ruben Daniels
b5a5d327de Merge pull request #1244 from ajaxorg/cmdLine
VIM mode. Fix count handling for dd yy p P
2013-03-15 10:17:01 -07:00