Commit graph

613 commits

Author SHA1 Message Date
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
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
Ruben Daniels
d75b97c108 Merge pull request #1291 from ajaxorg/worker
Add lua worker and update require.js, csshint
2013-03-15 10:01:49 -07:00
nightwing
fd2191e76e rename LogicQL->LogiQL 2013-03-12 19:43:16 +04:00
Lennart Kats
f16d0dc1d3 Merge pull request #1298 from ajaxorg/highlighting/logicblox
Highlighting logicblox and some cleanup
2013-03-12 08:31:27 -07:00
nightwing
6d7e9e263d add demo for livescript 2013-03-12 16:44:53 +04:00
nightwing
35c239d280 rename LogicBlox to LogicQL 2013-03-12 13:24:32 +04:00
nightwing
91b42b43d3 update require.js and fix toUrl call 2013-03-10 17:36:12 +04:00
Nicolas Guillaumin
81e8a582a4 Added mode for FreeMarker Java template engine 2013-03-10 17:06:13 +11:00
nightwing
8634f2661d update emacs mode 2013-03-09 18:55:01 +04:00
nightwing
5d6bc3a75d add highlighting and folding for POD documentation 2013-03-06 20:33:40 +04:00
nightwing
2fc8ffcc38 add highlighting for LogicBlox 2013-03-06 20:33:40 +04:00
Harutyun Amirjanyan
ad1e74017b Merge pull request #1254 from nemurimasu/master
LSL support
2013-02-25 09:53:57 -08:00
Garen Torikian
45f19c76b8 Add CSON as permitted type 2013-02-24 23:35:33 -08:00
Garen Torikian
f2e523b0b4 Initial addition of toml files 2013-02-24 12:46:32 -08:00
nightwing
f2d6d7d6c9 Merge pull request #1237 from danyaPostfactum/miscfixes
classList usage in dom.{add|remove|toggle}CssClass + minor changes
2013-02-22 18:40:50 +04:00
nightwing
e6fd9dc977 move elastic_tabstops into ext to automatically include in build 2013-02-22 16:39:45 +04:00
nightwing
04f06ebefe use config defineOptions 2013-02-22 16:17:30 +04:00