Commit graph

2,695 commits

Author SHA1 Message Date
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
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
Ryan Griffith
3557eba166 Removed trailing commas that cause errors in IE 2013-04-08 16:29:50 -04: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
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
Harutyun Amirjanyan
251719f85b Merge pull request #1351 from rgriffith/velocity_mode
Add Velocity highlighter
2013-04-06 04:48:37 -07:00
Mark Achee
d308803fbe fix php worker bogus error on use keyword 2013-04-06 06:01:04 +02:00
Ryan Griffith
a22dda79fc Added comment settings to add comment shortcut (ctrl+/) 2013-04-05 14:46:53 -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
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
nightwing
61155649b9 remove console.log 2013-03-30 19:57:10 +04:00
nightwing
55af92676f add emmet extension 2013-03-30 18:12:52 +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
nightwing
f531bceabe pass target to eventListener as a second argument 2013-03-30 18:07:17 +04:00
Lennart Kats
5a367bafb3 Merge pull request #1340 from ajaxorg/wrap_bug
fix #1337
2013-03-30 05:21:41 -07:00
nightwing
10bbd842a3 fix test 2013-03-30 16:02:55 +04:00
nightwing
4be0153e2b fix #1337 bad interaction of removeFolds and updateWrapData 2013-03-30 15:47:27 +04:00
nightwing
cf74db8e1d cleanup 2013-03-30 15:46:52 +04:00
Builders Brewery
1cc09de7b7 updated lsl syntax highlight 2013-03-29 17:25:35 +01:00
Robert Krahn
227f500a2c occur+isearch: fixing tests 2013-03-28 14:21:12 -07:00
Robert Krahn
eb25810456 occur+isearch: adding occurisearch command and binding it to Ctrl-o by default 2013-03-28 14:13:26 -07:00
Robert Krahn
e8c8cfeda4 occur+isearch: fixing highlighting for big font sizes 2013-03-28 12:24:37 -07:00
nightwing
bf34500927 fix #906 can't input chinese in ie9 2013-03-28 21:25:06 +04:00
nightwing
b0a43790b4 do not overlay editor text when ime is active
fixes #1112
2013-03-28 21:25:05 +04:00
nightwing
0f4fd999ee allow delete command only after opening contextmenu
this will break delete from browser edit menu, but it is not as important as ime textinput
  fixes #1325
2013-03-28 21:25:05 +04:00
Adam Kumpf
3d2e291c0c Update Chaos.css to include indent-guide and fold
Add indent guide to theme.
Modify ace_fold to be more subtle (the big inline ace_fold widgets are a bit distracting on this dark theme).
This is true to the original Chaos theme (Space Editor).
2013-03-28 11:12:17 +01:00
nightwing
74a66575f3 restart search after toggling option 2013-03-27 15:41:15 +04:00