Commit graph

499 commits

Author SHA1 Message Date
Lennart Kats
e97d7609b9 Merge pull request #1445 from ajaxorg/highlighting/bugfix
Add more modes
2013-05-26 00:32:07 -07:00
nightwing
82ee67d49b add more modes 2013-05-26 11:08:11 +04:00
nightwing
8fe616edb1 add more modes 2013-05-20 18:00:48 +04:00
Lennart Kats
7ce0ee557b Merge pull request #1415 from ajaxorg/highlighting/bugfix
Highlighting bugfix
2013-05-17 08:39:14 -07:00
DanyaPostfactum
4f17b1ff09 Mistype fixes 2013-05-12 22:17:02 +10:00
DanyaPostfactum
a2260740ad Minor IE8 fixes 2013-05-12 22:16:33 +10:00
nightwing
790bc5e87a add erb mode 2013-05-09 15:10:46 +04:00
nightwing
495318ef6b fix #1413 Invalid number value breaks CSS mode 2013-05-09 15:10:46 +04:00
Steven John Lange
fc67023ff2 Update settings_menu.html
insert ext-settings_menu.js
2013-05-02 05:14:11 +03:00
Steven John Lange
ae3770b38e Update modelist.html 2013-05-02 05:12:49 +03:00
Lennart Kats
28c810bbce Merge pull request #1355 from ajaxorg/highlighting/tmmodes
add several new modes autoconverted from textmate
2013-05-01 06:08:17 -07:00
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
834d0aee9f update tests 2013-04-17 16:28:59 +04:00
nightwing
35563c5e84 update modelist extension 2013-04-17 16:15:58 +04:00
nightwing
cc01912250 rename snippets syntax highlighter 2013-04-16 22:23:48 +04:00
nightwing
4a5fe215c4 Merge remote-tracking branch 'remotes/origin/highlighting/tmmodes' into master
Conflicts:
	demo/kitchen-sink/modelist.js
2013-04-16 19:09:00 +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
nightwing
73ad918a6b add batch_file highlighting 2013-04-12 15:27:08 +04:00
nightwing
2868df4b28 cleanup and fix tests 2013-04-06 15:17:41 +04:00
nightwing
743aad3ad4 Add AutoHotKey/AutoIT syntax highglight fixes #886 2013-04-06 14:58:47 +04:00
nightwing
ab1ed57d55 remove half working fortran and html_twig 2013-04-06 14:21:42 +04:00
nightwing
73f299d3f0 add demo docs 2013-04-06 14:21:42 +04: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