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
Mostafa Eweda
19dd921127
Merge pull request #1364 from ajaxorg/worker
...
Queue events before sending to the worker
2013-04-11 04:07:12 -07:00
nightwing
886da0d0dc
fix setDefaultValue for useWorker
2013-04-09 22:14:30 +04:00
nightwing
13c8ef5f5c
update site
2013-04-09 21:41:09 +04:00
Lennart Kats
ba015bb251
Merge pull request #1333 from ajaxorg/ime
...
Improve ime handling
2013-04-09 06:38:02 -07:00
nightwing
477d381185
do not send deltas to worker synchronously since it is slow and crashes chrome
2013-04-09 16:44:17 +04:00
nightwing
e04b37c062
add cursorStyle option
2013-04-09 14:37:14 +04:00
Harutyun Amirjanyan
5f8f3bf925
Merge pull request #1361 from rgriffith/ie_fix
...
Removed trailing commas that cause errors in IE
2013-04-08 13:42:31 -07:00
Ryan Griffith
3557eba166
Removed trailing commas that cause errors in IE
2013-04-08 16:29:50 -04:00
Harutyun Amirjanyan
bf4e49668a
Merge pull request #1360 from chhochreiner/master
...
minor tcl mode cleanup
2013-04-08 06:05:41 -07:00
Christoph Hochreiner
bc66204d59
remove not necessary/worng comments and not tcl specific rule for variables (is only valid for the tcl extension xotcl
2013-04-08 14:45:58 +02:00
Harutyun Amirjanyan
5fb95ca184
Merge pull request #1358 from ajaxorg/dart-based-on-c
...
Based Dart mode on C/C++ mode so that at least the indentation basics
2013-04-08 04:52:55 -07:00
Zef Hemel
712818b49e
Removed outdated keywords
2013-04-08 13:48:19 +02:00
Zef Hemel
149bef7051
Fix Dart test
2013-04-08 13:27:51 +02:00
Zef Hemel
6d8c810581
of keyword
2013-04-08 13:24:23 +02:00
Zef Hemel
835f2e3690
Fixed some higlighting rules to match modern Dart.
2013-04-08 13:22:02 +02:00
Zef Hemel
63930b52d1
Based Dart mode on C/C++ mode so that at least the indentation basics
...
are acceptable (e.g. indentation after curly braces).
2013-04-08 12:13:18 +02:00
nightwing
6c7ea4a2f7
remove whitespace from css during the build
2013-04-06 16:10:39 +04:00
Harutyun Amirjanyan
e0a2d5688c
Merge pull request #1350 from rgriffith/snippet_newline_fix
...
Fix newlines for text files
2013-04-06 05:10:19 -07:00
Harutyun Amirjanyan
251719f85b
Merge pull request #1351 from rgriffith/velocity_mode
...
Add Velocity highlighter
2013-04-06 04:48:37 -07:00
Harutyun Amirjanyan
0f6706f29d
Merge pull request #1354 from machee/master
...
fix php worker bogus error on use keyword
2013-04-06 04:46:18 -07:00
Mark Achee
d308803fbe
fix php worker bogus error on use keyword
2013-04-06 06:01:04 +02:00
Ryan Griffith
06a74d59dd
Slight adjustment to the newline fix
...
I also had to remove this line to get things to work.
2013-04-05 16:45:20 -03:00
Ryan Griffith
a22dda79fc
Added comment settings to add comment shortcut (ctrl+/)
2013-04-05 14:46:53 -04:00
Ryan Griffith
31aede445d
Added velocity mode and sample doc to demo
2013-04-05 14:45:22 -04:00
Ryan Griffith
646b0442b6
Fixed matching of single line comments
2013-04-05 10:39:17 -04:00
Ryan Griffith
2463471b39
Add Velocity highlighter
2013-04-05 08:08:23 -04:00
Ryan Griffith
7dcd7c0cb9
Fixing newline character for text files
...
This addressed an issue where the newlines generated when including snippet files does not contain newline characters, this causes SnippetManager.parseSnippetFile to always return empty.
Instead, of creating actual newlines and a multiline string with \, this adds newline characters.
2013-04-05 08:54:31 -03:00
Lennart Kats
202ecaac90
Merge pull request #1346 from ajaxorg/tmSnippets
...
snippet bugfix
2013-04-05 00:52:51 -07:00
nightwing
9409ae8090
fix typo
2013-04-04 23:27:26 +04:00
nightwing
c4c308211e
do not use split with capturing regex to not break old ie
2013-04-04 23:17:39 +04:00
nightwing
28943dcf1d
snippetManager should be lowercase
2013-04-04 22:59:06 +04:00
nightwing
9a59b084cc
update lsl test
2013-04-01 20:56:44 +04:00
Harutyun Amirjanyan
83de4e32e7
Merge pull request #1336 from buildersbrewery/master
...
updated lsl syntaxhighlight
2013-04-01 09:56:05 -07:00
Builders Brewery
7e9e425f84
added llGetAnimationOverride, llResetAnimationOverride, llSetAnimationOverride
2013-03-30 23:19:27 +01:00
Builders Brewery
f310c09502
added PERMISSION_OVERRIDE_ANIMATIONS
2013-03-30 22:45:49 +01:00
Builders Brewery
1361ee6579
removed a ,
2013-03-30 19:31:22 +01:00
Builders Brewery
3681dbeaea
added missing , and condensed regex
2013-03-30 19:18:41 +01:00
Builders Brewery
7a6fd89bfc
rollback
2013-03-30 18:29:46 +01:00
Builders Brewery
346712c6ca
fixed typo from pasting no2
2013-03-30 18:18:37 +01:00
Builders Brewery
eadd4e4b39
fixed typo from pasting
2013-03-30 18:13:32 +01:00
Builders Brewery
66ddb8d25b
added left shift, right shift, bitwise xor to keyword.operator and condensed regex match
2013-03-30 18:05:30 +01:00
Builders Brewery
93c57928d3
updated keyword.operator and moved indentation to the left
2013-03-30 17:30:41 +01:00
Lennart Kats
ac1835e54d
Merge pull request #1311 from ajaxorg/emmet
...
Add Emmet extension
2013-03-30 09:17:56 -07:00
nightwing
61155649b9
remove console.log
2013-03-30 19:57:10 +04:00
nightwing
ec9984acbd
add link to chocolatejs
2013-03-30 18:27:18 +04:00
nightwing
55af92676f
add emmet extension
2013-03-30 18:12:52 +04:00
nightwing
5b6a826383
add divshot to list of sites using ace
2013-03-30 18:10:03 +04:00
nightwing
d92505e1c9
autodetect platform in HashHandler
2013-03-30 18:08:41 +04:00
nightwing
841dbf7890
add EventEmitter.off
2013-03-30 18:07:17 +04:00