Commit graph

3,323 commits

Author SHA1 Message Date
Matthew Kastor
09266196ab adds settings menu to ace
I'm not stuck on the keybinding or aesthetics of this, please change
them at will. All I really want is the ability to display a menu where I
can change the editor's settings from and I want the menu to be smart
enough to automatically know about new settings. This pretty much works
except there isn't a registry for themes and modes so every new theme or
mode has to be added to the internal list by hand...
2013-04-13 20:40:06 +04:00
nightwing
3c46895f8c cleanup 2013-04-13 20:37:47 +04:00
Matthew Kastor
603e4d52c0 adds inline style "display: inline-block;" 2013-04-13 19:50:04 +04:00
Matthew Kastor
640c72f44a adds statusbar to extensions
the only thing changed is the statusbar's inline styling has been
removed.
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
8f0b5abb3a Cleanup + fix typo on export 2013-04-13 10:57:16 +10:00
Nicolas Guillaumin
258d00dcff Added .properties files mode 2013-04-13 10:05:39 +10:00
nightwing
fcf3330d66 fix #1027 Eclipse XML bad color 2013-04-12 16:10:48 +04:00
nightwing
7fa644f7c3 multiselect getCopyText should be empty when all ranges are empty 2013-04-12 15:55:24 +04:00
nightwing
f389660100 fix pasting 2 lines in multiselect mode 2013-04-12 15:54:40 +04:00
nightwing
48aa35c081 put cursor at the end of selected line on trippleclick 2013-04-12 15:54:40 +04:00
nightwing
73ad918a6b add batch_file highlighting 2013-04-12 15:27:08 +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
nightwing
2868df4b28 cleanup and fix tests 2013-04-06 15:17:41 +04:00
nightwing
f40cc1c31d fix #510 #{} highlighting for CoffeeScript 2013-04-06 15:00:06 +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
nightwing
5d63adb2a7 workaround for unsupported regex features 2013-04-06 14:21:42 +04:00
nightwing
03fe8a3576 add several autoconverted modes 2013-04-06 14:21:42 +04: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
nightwing
538359ccd6 meta scope isn't for styling 2013-04-05 19:29:59 +04:00
nightwing
826105b5e9 make generated statenames nicer 2013-04-05 19:29:59 +04:00
nightwing
a23bdb49a2 workaround for chrome not displaying middle of very long lines 2013-04-05 19:29:58 +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
57fd7dabf2 update tests 2013-04-04 10:07:55 +04:00
nightwing
782178ecbe add toggle line comment for css/html 2013-04-02 02:33:31 +04:00
nightwing
5cda3a7be7 add toggleBlockComment ctrl+shift+/ 2013-04-02 01:55:55 +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