Compare commits

...
Sign in to create a new pull request.

4,227 commits

Author SHA1 Message Date
Joey Payne
ca8da0a3f3 Merge remote-tracking branch 'upstream/master' 2015-06-04 14:23:14 -06:00
Lennart Kats
f10da4cdb0 Merge pull request #2523 from ajaxorg/fix/various
Fix several small issues
2015-06-01 17:59:08 +02:00
Lennart Kats
d953740339 Merge pull request #2507 from ajaxorg/c9
Sync with cloud9
2015-06-01 17:39:25 +02:00
nightwing
6cec0b28b2 improve tmlanguage importer 2015-06-01 13:50:32 +04:00
nightwing
3f31ca57ed fix typo 2015-06-01 01:06:39 +04:00
Joey Payne
fb7144b622 Merge remote-tracking branch 'upstream/master' 2015-05-31 11:49:42 -06:00
nightwing
2249d06337 fix #2484 Hard-coded characterWidth in static_highlight.js
and remove dependence on mockdom
2015-05-31 17:42:00 +04:00
nightwing
1514d5f374 fix #2483 Exception on ctrl-alt-shift-click when $enableJumpToDef is true 2015-05-31 17:42:00 +04:00
nightwing
446e3e1bf9 fix #2522 Popup position is off when gutter isn't shown 2015-05-31 17:42:00 +04:00
Harutyun Amirjanyan
652dd7009c Merge pull request #2516 from ajaxorg/fix/highlighter
fix highlighting of tables in Gherkin  mode
2015-05-31 16:45:58 +04:00
Harutyun Amirjanyan
3d23e1e98f Merge pull request #2518 from ajaxorg/autocompleter
fix autocomplete blur handler
2015-05-31 16:45:36 +04:00
Harutyun Amirjanyan
cafc7e7ce1 Merge pull request #2521 from puffnfresh/patch-1
Fix invalid syntax in autoresize.html
2015-05-31 16:45:13 +04:00
Brian McKenna
abdc4c7510 Fix invalid syntax in autoresize.html
The options literal had a duplicate key.
2015-05-29 09:55:02 -06:00
nightwing
8c1d0ab7cf fix autocomplete blur handler 2015-05-28 13:56:33 +04:00
nightwing
9f57989043 fix highlighting of tables in Gherkin mode 2015-05-28 13:40:56 +04:00
nightwing
2a089863e2 fix highlighting of line-height:1.5 in less mode 2015-05-22 22:14:29 +04:00
nightwing
386c508042 convert paste into command 2015-05-22 22:14:15 +04:00
nightwing
dc7643db8d better invisible tabs (fixes #2109) 2015-05-22 21:57:13 +04:00
nightwing
5705a7c2c1 fix toggle comments in handlebars mode 2015-05-22 02:34:43 +04:00
nightwing
2e2d9bcdc9 add more php extensions 2015-05-22 02:34:43 +04:00
nightwing
a799a4086f fix quote pairing for "\n" 2015-05-22 02:34:43 +04:00
nightwing
af5c7a9c3b improve require support in worker 2015-05-22 02:34:30 +04:00
nightwing
fe96eef206 fix require for paths ending with .js in the worker 2015-05-21 23:01:27 +04:00
Lennart Kats
0a3b002e28 Merge pull request #1819 from ajaxorg/v-1.2
Refactor document delta handling for v1.2
2015-05-21 11:15:29 +02:00
nightwing
60439d927f update changelog 2015-05-21 13:01:17 +04:00
Lennart Kats
95bb17d04b Merge pull request #2496 from ajaxorg/fix/renderer
fix renderer issues with autosize
2015-05-21 10:57:04 +02:00
Lennart Kats
2c1b565591 Merge pull request #2500 from ajaxorg/fix/tokenizer
fix highlighting stopping randomly in the middle of the file
2015-05-21 10:53:05 +02:00
Harutyun Amirjanyan
53ea1a8665 Merge pull request #2502 from Pike/patch-1
Add array-of-tables to keygroup markup for toml files.
2015-05-20 22:30:19 +04:00
Axel Hecht
9534e4ea92 Add array-of-tables to keygroup markup
The markup for array-of-tables at https://github.com/toml-lang/toml#array-of-tables is
[[ foo ]]

Right now, the last ] isn't part of the markup. Figured making this an explicit token is the most apparent way to fix this.
2015-05-20 14:53:02 +02:00
nightwing
fa86327b3d fix highlighting stopping randomly in the middle of the file 2015-05-19 17:43:10 +04:00
Joey Payne
a68e8bea01 Merging latest commits.
Merge remote-tracking branch 'upstream/master'
2015-05-16 16:02:51 -06:00
nightwing
88d8cf3447 fix renderer test 2015-05-15 02:48:12 +04:00
nightwing
9e9aa8f328 use scroller as mousetarget to not miss mouse events on scrollmargin 2015-05-15 02:44:24 +04:00
nightwing
93c39ca5b0 handle hscrollbar change during autoresize 2015-05-15 02:43:41 +04:00
nightwing
0db985a3d7 fix #2495 editor freezes when setting scrollmargin and maxLines together 2015-05-15 01:53:19 +04:00
Ruben Daniels
ad5802be06 Merge pull request #2488 from ajaxorg/rounded-corners
Add rounded corners for selections
2015-05-10 19:07:21 -07:00
nightwing
0abd9ec30e rounded corners for selections 2015-05-10 14:01:28 +04:00
Harutyun Amirjanyan
6d205a8f7e Merge pull request #2470 from ajaxorg/fix/leak
Fix memory leak
2015-05-07 01:28:22 +04:00
Harutyun Amirjanyan
d2dc26f5a5 Merge pull request #2479 from bcjordan/patch-4
Update comment, add missing semicolon [ci skip]
2015-05-07 01:27:42 +04:00
Brian Jordan
ef4537a099 Update edit_session.js
Fix extra `the`
2015-05-05 09:07:46 -07:00
Harutyun Amirjanyan
46f76b4b06 Merge pull request #2473 from Leushenko/master
Add indentation for Scheme
2015-05-05 16:31:02 +04:00
Harutyun Amirjanyan
71d1ca9d20 Merge pull request #2476 from bcjordan/patch-2
Remove unused variable `EditSession`
2015-05-05 16:26:41 +04:00
Harutyun Amirjanyan
263a45db02 Merge pull request #2477 from bcjordan/patch-3
Remove unused parameter `mutateData` & add ;s
2015-05-05 16:26:28 +04:00
Joey Payne
9323a2616b Added support for nim programming language. 2015-05-04 22:54:09 -06:00
Brian Jordan
ad22b71cfe Update comment, add missing semicolon [ci skip] 2015-05-01 10:56:08 -07:00
Brian Jordan
cd8099b0ad Remove unused parameter mutateData & add ;s 2015-04-30 17:38:19 -07:00
Brian Jordan
a61d304cbb Remove unused variable EditSession 2015-04-30 17:14:16 -07:00
Alex Gilding
e72f1d8337 Add indentation for Scheme
Just copied over the Clojure indentation rules to Scheme and changed
the keywords to suit the language, so that Scheme programs can be
automatically indented too
2015-04-28 20:24:13 +01:00
nightwing
d080fe51d4 fix #2468 error in strict mode 2015-04-28 19:01:24 +04:00
Harutyun Amirjanyan
32cb8c6b0e Merge pull request #2472 from ph1ll/master
Expose ClipboardEvent in editor paste event
2015-04-28 00:51:58 +04:00
Phill Campbell
3ce8d76c89 Expose ClipboardEvent in editor paste event 2015-04-27 18:49:12 +01:00
nightwing
a842dcdee3 do not retain ref to the first editor (fixes #2469) 2015-04-26 14:44:47 +04:00
Ruben Daniels
0dcb1281cd Merge pull request #2459 from ajaxorg/c9
Sync with c9
2015-04-25 12:30:37 -07:00
Harutyun Amirjanyan
65ad04082f Merge pull request #2460 from sevin7676/master
SQL Server typos and keyword completion modifier
2015-04-23 18:11:41 +04:00
Lennart Kats
b6f7e5d6a1 Merge pull request #2461 from ajaxorg/highlighter
Fix highlighter issues
2015-04-23 07:38:28 +02:00
sevin7676
5a3bf2570f no keyword if in brackets 2015-04-22 06:06:52 -04:00
sevin7676
2d7ebc34b6 no keyword if in brackets 2015-04-22 06:05:54 -04:00
sevin7676
87044e8816 forgot keyword completions 2015-04-22 05:38:01 -04:00
sevin7676
82453d884b better completions, no unneeded string rule 2015-04-22 05:28:31 -04:00
nightwing
636ace5178 fix typo 2015-04-22 13:20:39 +04:00
Harutyun Amirjanyan
3673aabe2a Merge pull request #2465 from bcjordan/patch-1
Remove unused variable `text`
2015-04-22 11:25:22 +04:00
Brian Jordan
694d7431b7 Remove unused variable text 2015-04-21 14:58:29 -07:00
nightwing
89b9a8ac72 address review comments 2015-04-20 18:25:32 +04:00
sevin7676
67c7da75b6 fix escape character
was using wrong escape char for string, sqlserver uses double single
quote to escape a single quote
2015-04-20 08:52:03 -04:00
sevin7676
662cd11975 no cache as its storing reference in filtered list 2015-04-20 05:08:54 -04:00
sevin7676
68d531ecb2 cleanup 2015-04-20 04:52:18 -04:00
sevin7676
e58fa3e6d7 remove completionModifer, one off for SQL Server Mode 2015-04-20 04:50:25 -04:00
nightwing
e610365e67 fix #2432 setPolling(false) doesn't turn off polling 2015-04-20 01:11:10 +04:00
nightwing
65b2cf2855 update test for rust mode 2015-04-19 20:35:57 +04:00
nightwing
2008ab813f fix bracket matching in modes imported from textmate 2015-04-19 20:29:28 +04:00
nightwing
ecb699aa11 support converting from cson 2015-04-19 20:28:12 +04:00
nightwing
63687f693b fix #2441 function highlighting in rust mode 2015-04-19 20:27:07 +04:00
nightwing
685ba18451 fix #2452 . is a valid XML tagname character 2015-04-19 20:05:25 +04:00
sevin7676
1ec6eb7b5d shorter names 2015-04-19 11:59:31 -04:00
sevin7676
1027dcea7c cache modifier 2015-04-19 11:52:54 -04:00
sevin7676
961f8c4893 completion modifier for SQL and JavaScript 2015-04-19 11:24:30 -04:00
sevin7676
27284cd29f added completionModifier
allows a highlight rule modify keyword completions
2015-04-19 11:23:10 -04:00
nightwing
04f4292fbc enable Emmet for handlebars mode 2015-04-19 17:34:22 +04:00
nightwing
4e6d48bf2e make sure operationEnd events are not emitted to wrong session 2015-04-19 17:34:22 +04:00
nightwing
80f43beb73 fix typo 2015-04-19 17:34:04 +04:00
sevin7676
cf0c81a25f more snippets 2015-04-19 08:37:22 -04:00
sevin7676
ee90854917 bug fix & typo fix 2015-04-19 08:18:04 -04:00
nightwing
ff4429dd5a fixes for emacs mode 2015-04-19 15:50:22 +04:00
nightwing
487408e84d fix +6291 Hard to tell what pane has focus in Vim mode 2015-04-19 15:50:06 +04:00
nightwing
2713d0a8db center cursor after vim jumplist motions
Conflicts:
	lib/ace/editor.js
2015-04-19 15:49:41 +04:00
nightwing
b0ce5630c9 add support for bindkey.position 2015-04-19 15:48:58 +04:00
Harutyun Amirjanyan
d89311e596 Merge pull request #2456 from kevinushey/bugfix/vim-normal-mode-yank
[vim] define 'Y' as 'keyToKey' mapping (fixes #2455)
2015-04-19 02:26:47 +04:00
Kevin Ushey
5482db1c4d [vim] fix 'Y' behaviour in visual mode 2015-04-18 15:19:28 -07:00
nightwing
eb70d5a6c8 Merge remote-tracking branch 'remotes/origin/master'
Conflicts:
	lib/ace/document.js
2015-04-19 01:04:25 +04:00
Harutyun Amirjanyan
abe0286420 Merge pull request #2458 from ajaxorg/vim
update vim mode
2015-04-18 22:00:47 +04:00
nightwing
094b8a147a update vim mode 2015-04-18 21:01:11 +04:00
Harutyun Amirjanyan
f0d01b93d4 Merge pull request #2457 from sevin7676/master
Add SQL Server (Microsoft SQL) Mode
2015-04-18 19:56:27 +04:00
nightwing
ef9cc542e7 fixes for indentedSoftWrap option 2015-04-18 19:53:49 +04:00
sevin7676
73808101cd cleanup 2015-04-18 10:06:55 -04:00
nightwing
0753f9aa12 Merge remote-tracking branch 'remotes/pull/2187' 2015-04-18 18:00:14 +04:00
Harutyun Amirjanyan
f270b4ae69 Merge pull request #2421 from mortalis13/master
Added new Sublime theme
2015-04-18 17:53:16 +04:00
sevin7676
121e0e51f4 add integer 2015-04-18 09:43:13 -04:00
sevin7676
846c2fb3d3 fix space 2015-04-18 09:35:39 -04:00
sevin7676
cd1c5a42c9 cleanup 2015-04-18 09:21:09 -04:00
sevin7676
282331b133 use pound as its the typical method 2015-04-18 09:12:11 -04:00
sevin7676
db0313f2ad fix case 2015-04-18 09:09:05 -04:00
sevin7676
37a80b35da missing execute in demo doc 2015-04-18 09:05:36 -04:00
sevin7676
75f66697f6 more cleanup 2015-04-18 08:55:29 -04:00
sevin7676
32847a6761 clean up 2015-04-18 08:53:11 -04:00
sevin7676
0d0b0b4356 updated demo doc and snippets 2015-04-18 08:45:13 -04:00
sevin7676
a0a31e16a2 cleanup 2015-04-18 08:27:22 -04:00
sevin7676
295ae4dc81 make pound optional for region 2015-04-18 08:25:47 -04:00
sevin7676
d38849ef9f added doc comment highlight to fix folding 2015-04-18 08:24:59 -04:00
sevin7676
184df6d18e inherit cstyle... trying to figure out best end marker 2015-04-18 07:29:10 -04:00
sevin7676
ff0cc12efc folding partially working.. 2015-04-18 06:37:29 -04:00
Morgan Yarbrough
1b9c8bfc88 FOLDING 2015-04-17 14:24:38 -04:00
Morgan Yarbrough
e42bc9a265 progress, and about to work on folding 2015-04-17 14:09:38 -04:00
Morgan Yarbrough
12be220297 even more keywords! 2015-04-17 12:53:42 -04:00
Morgan Yarbrough
7ae5c862c2 progress but not working yet 2015-04-17 11:17:31 -04:00
sevin7676
d8f7003fb8 add null back 2015-04-17 10:03:56 -04:00
sevin7676
76ac79f116 more progress 2015-04-17 10:00:13 -04:00
sevin7676
1a6e2f83f2 small fixes 2015-04-17 09:35:58 -04:00
sevin7676
6b62974118 good progress 2015-04-17 09:28:56 -04:00
sevin7676
461faa9184 more progress 2015-04-17 08:37:54 -04:00
sevin7676
ede82e7137 progress- save comments for reuse here 2015-04-17 08:11:21 -04:00
sevin7676
f0b3aa0a6f PARTIAL 2015-04-17 07:37:17 -04:00
mortalis13
fb5f272f81 Rename Sublime theme to iPlastic 2015-04-15 21:49:38 +03:00
mortalis13
c458f96d3a Edited lib/ace/sublime.css 2015-04-10 22:19:14 +03:00
Harutyun Amirjanyan
6070fe96f7 Merge pull request #2407 from xixixao/configure-block-select
Add configuration option for block select
2015-04-09 14:56:55 +04:00
Harutyun Amirjanyan
6a2d3fcb09 Merge pull request #2408 from bostikforever/vb-case-insensitive
VBScript is case insensitive
2015-04-09 14:52:56 +04:00
Harutyun Amirjanyan
8b29f7f3c9 Merge pull request #2411 from saxbophone/master
Wider SQL Command and Data Types Coverage
2015-04-09 14:51:33 +04:00
Harutyun Amirjanyan
48de4711eb Merge pull request #2418 from xixixao/selection-zero-height
Remove 0 height selection highlight
2015-04-09 14:50:26 +04:00
nightwing
bb3fa62824 Merge commit '510d060cb2' 2015-04-09 14:20:50 +04:00
Harutyun Amirjanyan
6bdc0d6cbb Merge pull request #2440 from grit96/patch-1
Make print margin in cobalt more visible
2015-04-09 14:20:07 +04:00
nightwing
510d060cb2 cleanup 2015-04-09 14:09:03 +04:00
Geraint White
da8d545985 Make print margin in cobalt more visible 2015-04-09 09:14:21 +01:00
César Izurieta
4f655e71d9 Make deepCopy work correctly with arrays 2015-04-05 04:39:36 -03:00
nightwing
8f686eb795 release v1.1.9 2015-04-03 13:43:18 +04:00
nightwing
6fad60f546 tweaks for the new release 2015-04-03 13:30:00 +04:00
nightwing
1ae86f896a update vim mode 2015-04-03 13:29:10 +04:00
nightwing
4e4df645cc add adoc extension for asciidoc files 2015-04-03 13:29:10 +04:00
Joshua Saxby
0bf729d88f added important keywords and data types missed out 2015-03-27 22:21:42 +00:00
Joshua Saxby
cc40177114 Revert "add some new types and change the type of existing keywords"
This reverts commit fcb4023e52.
2015-03-27 22:11:41 +00:00
Joshua Saxby
fcb4023e52 add some new types and change the type of existing keywords 2015-03-27 22:10:02 +00:00
mortalis
22f802a9ff new sublime theme 2015-03-27 12:37:59 +02:00
xixixao
14a8e1f5d9 Remove 0 height selection highlight 2015-03-25 18:07:38 +00:00
Harutyun Amirjanyan
a2e05ac438 Merge pull request #2410 from kevinushey/bugfix/r-sapply-snippet
correct snippet for 'sapply'
2015-03-21 18:06:48 +04:00
Kevin Ushey
f17c67cd01 correct snippet for 'sapply' 2015-03-19 15:30:41 -07:00
Bolutife Ogunsola
9c6720edca Update tokens test file for vbscript 2015-03-19 19:11:49 +01:00
Bolutife Ogunsola
4dd8eda928 VBScript is case insensitive 2015-03-19 18:03:01 +01:00
xixixao
cb83a974b4 Add configuration option for block select 2015-03-18 21:09:45 +00:00
Ruben Daniels
75556854b9 Merge pull request #2397 from ajaxorg/fix/various
Several small fixes
2015-03-17 15:12:49 -07:00
nightwing
7e9e5aea17 remove old code 2015-03-18 01:57:03 +04:00
nightwing
bb16d65cbb update jshint 2015-03-18 01:55:07 +04:00
Harutyun Amirjanyan
c39134411d Merge pull request #2387 from jmcphers/master
Prevent vim ex commandline from obscuring search results
2015-03-17 10:00:34 +04:00
Harutyun Amirjanyan
cb0816b183 Merge pull request #2399 from kevinushey/patch/vim-colon-selection
[vim] don't select range specifier on `:` insertion
2015-03-17 09:58:58 +04:00
Kevin Ushey
e551b090b7 don't select initial text on ':' 2015-03-16 15:50:31 -07:00
nightwing
c5602489f4 add styling for ace_invisble to all themes 2015-03-15 15:27:48 +04:00
nightwing
1c1d56b3ea make blurred state clearer in github theme 2015-03-15 15:18:10 +04:00
nightwing
a78bf8e5ef update links to emmet.js 2015-03-15 15:00:00 +04:00
nightwing
d9db903190 update rust mode 2015-03-15 15:00:00 +04:00
nightwing
4af37cd722 fix #2395 context menu regression in Firefox on mac 2015-03-15 15:00:00 +04:00
Harutyun Amirjanyan
dd69f5939c Merge pull request #2380 from trystanclarke/master
Fix typeerror "Cannot read property 'container' of undefined" in autocomplete
2015-03-15 00:09:42 +04:00
Harutyun Amirjanyan
cac9e261e3 Merge pull request #2386 from timdp/behaviours-keep-selection
CstyleBehaviour: keeping selections after insertion
2015-03-15 00:01:02 +04:00
Joshua Saxby
0216e8bbfd formatting 2015-03-11 21:27:36 +00:00
Joshua Saxby
38e3452313 added SQL data types 2015-03-11 21:05:54 +00:00
Joshua Saxby
fb7b23e627 started adding missing sql keywords and types 2015-03-11 18:42:21 +00:00
Jonathan McPherson
1b1006ac1d prevent vim ex commandline from obscuring search results (fixes #2384) 2015-03-10 14:17:17 -07:00
Harutyun Amirjanyan
101656ea5c Merge pull request #2385 from mikermcneil/patch-1
makes example work out of the box
2015-03-10 23:41:57 +04:00
Ruben Daniels
6a07619ad2 Merge pull request #2370 from ajaxorg/misc
Misc issues
2015-03-10 12:33:01 -07:00
Tim De Pauw
a5c619bda8 CstyleBehaviour: keeping selections after insertion 2015-03-09 17:44:03 +01:00
Mike McNeil
3adde642dc makes example work out of the box 2015-03-07 18:40:04 -08:00
trystanclarke
967177bbc5 Update autocomplete.js 2015-03-02 09:35:46 +00:00
nightwing
60c639a34b Merge branch 'pull/2375' 2015-02-28 22:17:25 +04:00
nightwing
de9e5226bf add tests from v1.2 branch and increase split size to improve performance 2015-02-28 22:16:19 +04:00
nightwing
76e05b7fd5 fix #2381: keycode for ; is missing 2015-02-28 21:51:18 +04:00
nightwing
2506bb0921 Merge branch pull/2376 2015-02-28 21:43:09 +04:00
nightwing
481bca1b09 use ellipsis character instead of dots 2015-02-28 21:41:30 +04:00
nightwing
01f5846ee3 static highlight can be used without editor.css 2015-02-28 20:40:54 +04:00
trystanclarke
cca4ab8b45 Merge pull request #1 from trystanclarke/trystanclarke-fix-autocomp-type-error
Update autocomplete.js
2015-02-27 16:18:03 +00:00
trystanclarke
ae4989eea1 Update autocomplete.js
Fix typeerror "Cannot read property 'container' of undefined" when using live autocomplete. Error can occur when editor loses focus and the autocomplete popup has never been shown.
2015-02-27 16:15:24 +00:00
Daniel Marcotte
6df244d429 Fit what metadata we can into autocompletes
The whole meta string currently gets dropped from the autocompletes
popup if it doesn't fit.  This leads to confusing autocompletes where
the meta for some entries are missing for no apparent reason.

So, instead of dropping the entire meta string when it doesn't fit,
insert what we can and append "..." to communicate that we clipped it.
2015-02-25 16:43:39 -08:00
Scott Glajch
b5064a4bb3 Fix for issue #2374, maximum call stack exceeded in 64 bit chrome when pasting large chunks. 2015-02-25 13:00:39 -05:00
nightwing
9905267e4d fix gutter in static highlight when wrapping is enabled 2015-02-25 00:14:14 +04:00
Harutyun Amirjanyan
bed3a18d49 Merge pull request #2366 from leanprover/add-lean-mode
add 'lean' mode for Lean Theorem Prover files
2015-02-24 23:25:57 +04:00
Soonho Kong
49ff504639 fix qqstring rule in lean-mode 2015-02-24 14:10:41 -05:00
Harutyun Amirjanyan
a035cd2558 Merge pull request #2373 from pamelafox/patch-2
Add ClassName to highlighting
2015-02-24 23:03:48 +04:00
Harutyun Amirjanyan
9a275f304d Merge pull request #2371 from pamelafox/patch-1
Adding cursive and fantasy to keywords list
2015-02-24 23:02:07 +04:00
Pamela Fox
b6910a3094 Add ClassName to highlighting
So that document.getElementsByClassName gets highlighted.
2015-02-24 10:59:36 -08:00
Soonho Kong
27ad846641 highlight names followed nameProviders in lean-mode 2015-02-24 13:21:40 -05:00
Soonho Kong
34d80e81ca clean up string rule for lean-mode 2015-02-24 13:21:22 -05:00
Soonho Kong
3c34a9852f add and sort keywords/storage-modifiers for lean-mode 2015-02-24 13:20:28 -05:00
Soonho Kong
a0fe09f3be clean up unused rules for lean-mode 2015-02-24 13:19:56 -05:00
Pamela Fox
906b6c9d8d Adding cursive and fantasy to keywords list 2015-02-24 09:30:43 -08:00
Soonho Kong
74800e84ee remove single quoted string (qstring) from lean-mode 2015-02-24 12:09:11 -05:00
Soonho Kong
8f49d3d897 add a small demo for lean mode 2015-02-24 11:11:34 -05:00
Soonho Kong
9654382294 use 'defaultToken' for comment/qqstring/qstring in lean-mode
Suggested by @nightwing
2015-02-24 11:02:06 -05:00
nightwing
5ce334e930 update CONTRIBUTING.md 2015-02-24 18:49:59 +04:00
nightwing
7572a9543e update syntax docs 2015-02-24 18:42:15 +04:00
Soonho Kong
b3da9336ee add 'lean' mode for Lean Theorem Prover files 2015-02-23 07:03:52 -05:00
nightwing
4bc34f4eae fix #2341 do not use ace_editor id for the default style 2015-02-18 23:26:22 +04:00
nightwing
16b542aea4 reduce crazy large negative top value on hidden textarea (fixes #2362) 2015-02-18 23:19:27 +04:00
Ruben Daniels
60a1281708 Merge pull request #2355 from ajaxorg/build-issues
Fix build issues
2015-02-16 11:28:20 -08:00
Ruben Daniels
2ff39c2192 Merge pull request #2322 from ajaxorg/altgr
Fix altgr handling
2015-02-16 11:27:45 -08:00
Ruben Daniels
34f57e7499 Merge pull request #2316 from ajaxorg/misc
Fix xml autodindent and several small issues
2015-02-16 11:27:16 -08:00
Harutyun Amirjanyan
04e75ea0db Merge pull request #2359 from invokr/master
Added new C++11 tokens to highlighting rules
2015-02-16 19:13:07 +03:00
Robin
b0475ce3e4 Added C++11 tokens to highlighting rules 2015-02-16 14:27:22 +00:00
Harutyun Amirjanyan
d86b2fd7ee Merge pull request #2332 from kevinushey/bugfix/xml-tag-highlighting
[xml] ensure tag name starts with letter
2015-02-16 15:27:42 +03:00
nightwing
0b20e4dc1d fix #2351 Minification fails on Windows 2015-02-12 19:46:21 +04:00
nightwing
388f0235b7 fix #2348 packaged require breaks node-webkit 2015-02-12 19:45:43 +04:00
nightwing
d9e4b52ee1 fix alt-e at the last error 2015-02-10 19:09:27 +04:00
nightwing
703a5394e3 toggle fold commands must work for all selections 2015-02-10 19:09:11 +04:00
nightwing
42b43b1fbe fix highlighting of indented bash heredocs 2015-02-10 19:08:56 +04:00
nightwing
3e32d5bf7e workaround for vim cursor getting stuck on folded lines 2015-02-10 19:07:55 +04:00
Harutyun Amirjanyan
385a285c58 Merge pull request #2334 from tylerlong/master
XAML is XML
2015-02-02 19:58:44 +04:00
Tyler Long
c840471248 XAML is XML
https://msdn.microsoft.com/en-us/library/cc295302.aspx
2015-01-29 14:47:57 +08:00
Kevin Ushey
3fe1383cdc [xml] ensure tag name starts with letter 2015-01-28 10:53:42 -08:00
Harutyun Amirjanyan
6b88b939c2 Merge pull request #2325 from mdinger/add_usize_isize_highlighting
Add Rust highlight support for isize, usize, us and is
2015-01-27 23:57:24 +04:00
mdinger
1621c1519c Add highlight support for isize, usize, us and is 2015-01-24 14:18:11 -05:00
nightwing
0da0566bac fix pagedown in vim mode 2015-01-24 18:53:41 +04:00
nightwing
b93d772720 do not overwrite ctrl-alt-0 on windows since that is used on German keyboard 2015-01-23 17:21:12 +04:00
nightwing
845a6d4e98 make detection of altGr more robust 2015-01-23 17:21:12 +04:00
nightwing
8df1eb70c5 fix typo 2015-01-23 17:07:20 +04:00
Harutyun Amirjanyan
63178a0511 Merge pull request #2318 from shiroyuki/patch-1
Add the missing mode "Django" to ext-modelist
2015-01-23 16:38:49 +04:00
nightwing
9f8cb78f37 fix require path for tests 2015-01-23 16:35:45 +04:00
nightwing
acd41efcb6 do not include all whitespace lines in vim paragraphs 2015-01-23 13:36:06 +04:00
nightwing
64eaf47c4d do not throw when running vim ':write' command 2015-01-23 13:32:20 +04:00
nightwing
c769031e78 [vim] fix w for non ascii chars 2015-01-22 22:38:32 +04:00
Juti Noppornpitak
8a8bc206db Add the missing mode "Django" to ext-modelist
This is to add Django as an alternative mode for HTML files. The placement of the entry is to ensure that Django syntax highlighter does not override HTML syntax highlighter.
2015-01-19 16:30:38 -05:00
nightwing
7db217dfe0 avoid emitting spurious changeWrapMode event 2015-01-19 01:15:24 +04:00
nightwing
847bfa4bfe cleanup 2015-01-19 01:13:05 +04:00
nightwing
135b9e5baf do not autoindent after self-closing tag 2015-01-19 01:10:03 +04:00
nightwing
c356c14940 fix weird pairing of quotes in cstyle behavior 2015-01-19 00:33:14 +04:00
nightwing
2d06dc6316 workaround for word-wrap bug on chrome 2015-01-19 00:28:51 +04:00
nightwing
8c4173ba11 Merge remote-tracking branch 'remotes/origin/master' 2015-01-18 23:44:18 +04:00
Harutyun Amirjanyan
fe57baaae1 Merge pull request #2289 from iDeBugger/master
Added XMLDOM and worker for XML syntax analysis
2015-01-18 22:37:58 +03:00
Harutyun Amirjanyan
0c3246e0df Merge pull request #2315 from xixixao/patch-1
Fix doc on editor.remove
2015-01-18 22:33:43 +03:00
Michal Srb
d21be42c8a Fix doc on editor.remove 2015-01-18 14:40:51 +00:00
Smirnov O. A
ccd5d689cc Updated xmldom dependency 2015-01-16 10:06:38 +03:00
Smirnov O. A
fb41c6ce4e Update update_deps.js for xmldom 2015-01-16 09:57:52 +03:00
Smirnov O. A
3b703dad56 Merge branch 'master' of github.com:iDeBugger/ace 2015-01-14 11:07:40 +03:00
Smirnov O. A
0a7d192b3d Merge remote-tracking branch 'upstream/master' 2015-01-14 11:06:22 +03:00
Harutyun Amirjanyan
c0b300a8e8 Merge pull request #2311 from yihangho/docs/spacing
Fix spacing in index.html
2015-01-13 17:03:16 +04:00
Yihang Ho
68abe8507a Fix spacing in index.html 2015-01-13 20:45:01 +08:00
Lennart Kats
d62315a740 Merge pull request #2309 from ajaxorg/misc
Fix several small issues
2015-01-13 09:54:25 +01:00
nightwing
eddc5563d8 update json worker tests 2015-01-12 02:23:50 +04:00
nightwing
57f6fbd768 tweak completer 2015-01-12 02:12:00 +04:00
nightwing
100022564c cancel gatherCompletions if cursor position changes 2015-01-12 01:13:27 +04:00
nightwing
b57f2e2ae3 fix inline editor demo 2015-01-11 23:23:53 +04:00
nightwing
264923e4df make worker events more consistent 2015-01-11 22:48:39 +04:00
nightwing
e1a5492a7f do not throw error when trying to match tag at the end of the document 2015-01-11 22:27:12 +04:00
nightwing
5e4facea44 fix livescript highlighting 2015-01-11 22:23:25 +04:00
Harutyun Amirjanyan
37ab8daabe Merge pull request #2300 from kevinushey/patch/vim-visual-block-move-to-eol
Conform with upstream change for Vim Visual Block + move to EOL behaviour
2015-01-07 22:49:58 +04:00
nightwing
55bf8e56d3 fix highlighting of ?" in ruby mode 2015-01-07 01:18:28 +04:00
nightwing
ced37c0c19 update jshint 2015-01-06 15:45:55 +04:00
Kevin Ushey
a50833cfea conform with upstream change
Ref:
1e5ae06ba4
2015-01-05 17:11:14 -08:00
iDeBugger
b2b0e73e0f Fixed some troubles with language and codestyle 2015-01-05 00:27:11 +03:00
nightwing
72edcd332d tweak mode_creator 2015-01-05 00:34:25 +04:00
nightwing
bcc2cd9b68 Merge remote-tracking branch 'remotes/origin/master' 2015-01-05 00:20:02 +04:00
nightwing
f4ea1ccb6a always call the callback form setMode 2015-01-05 00:17:16 +04:00
nightwing
a06739af9a Merge remote-tracking branch 'remotes/origin/fix/webkit-focus-bug' 2015-01-04 23:54:53 +04:00
nightwing
aceddd9f8f Merge branch 'pull/2273' 2015-01-04 23:54:00 +04:00
nightwing
ad9aa35ffe Revert "Reduced size of sample document" 2015-01-04 23:52:40 +04:00
nightwing
b66fb6def8 Merge branch 'pull/2269' 2015-01-04 23:50:57 +04:00
nightwing
0054bb8794 cleanup 2015-01-04 23:48:28 +04:00
nightwing
4603c34b10 workaround for webkit focus bug 2015-01-01 02:00:02 +04:00
Bernhard Weichel
07d01fda44 fixed a few typos and added more snippets 2014-12-29 22:10:03 +01:00
Smirnov O. A
4aff48a837 Added XMLDOM and worker for XML syntax analysis 2014-12-24 14:44:31 +03:00
Harutyun Amirjanyan
4b8a9a475b Merge pull request #2284 from darabos/patch-1
Fix getVScrollBarAlwaysVisible
2014-12-23 23:30:26 +04:00
Matthias S. Benkmann
eccc98b83b net.put => net.request('PUT'; improved usability for "Save" buttons 2014-12-23 16:33:56 +01:00
Matthias S. Benkmann
e7afb4f19e support glob patterns for --puttable; reformat for ancient terminals 2014-12-23 15:51:23 +01:00
Matthias S. Benkmann
8919b113d1 add server upload buttons and Ctrl-S bindings to mode_editor
in combination with PUT support in ./static.py (or whatever other web server)
this allows people to save both the highlighting rules and the demo documents right
from the mode editor for a better workflow.
2014-12-23 13:03:09 +01:00
Matthias S. Benkmann
ded43d9d69 HTTP PUT support for static.py
change host default to 127.0.0.1 for better security
improved option parsing
2014-12-23 13:03:09 +01:00
Bernhard Weichel
14850f5b9e Reduced size of sample document 2014-12-22 16:55:40 +01:00
Lennart Kats
7ff1f1dd0d Merge pull request #2283 from ajaxorg/misc
Sync with cloud9
2014-12-22 13:29:17 +01:00
nightwing
8ff856186d update tests for c mode 2014-12-22 02:47:38 +04:00
nightwing
b46a0fb4f9 do not include xml tag attributes in the fold range 2014-12-22 02:47:31 +04:00
Daniel Darabos
b9a4f293ed Fix getVScrollBarAlwaysVisible.
By accident it was returning `$hScrollBarAlwaysVisible`.
2014-12-21 22:52:21 +01:00
nightwing
724b66857d Merge remote-tracking branch 'remotes/pull/2281' 2014-12-21 13:47:50 +04:00
nightwing
56cb246c78 max stack size on chrome is smaller now 2014-12-21 13:46:41 +04:00
nightwing
fed215d046 do not discard modifier info of modifier keys 2014-12-21 13:39:25 +04:00
nightwing
7a3257ab58 fix incorrect highlighting in c and haskell modes 2014-12-21 13:39:25 +04:00
nightwing
2d12ebb1df improve global access warning in the demo 2014-12-21 13:39:13 +04:00
Kevin Ushey
15b83aca5f fix move to EOL behaviour for visual block mode 2014-12-20 13:31:23 -08:00
nightwing
60dd224d96 remove old delta shim from vim mode 2014-12-20 19:53:51 +04:00
nightwing
067a1ee68b Merge remote-tracking branch 'remotes/origin/master' 2014-12-20 19:51:39 +04:00
Harutyun Amirjanyan
5ea0a9b802 Merge pull request #2280 from ajaxorg/vim2
Update vim mode to the latest version
2014-12-20 19:45:50 +04:00
nightwing
66ede32c42 update build submodule 2014-12-20 16:19:58 +04:00
nightwing
ed5c38b7c8 update list of users 2014-12-19 18:50:55 +04:00
nightwing
b5c9b7f395 fix typo in IE mouse handler 2014-12-19 18:45:25 +04:00
Lennart Kats
7b037f35ba Merge pull request #2267 from ajaxorg/fix/various
Fix various small issues
2014-12-16 16:06:41 +01:00
Harutyun Amirjanyan
52de738e8a Merge pull request #2275 from mehtaphysical/char_reserved_in_js
change variable char to character
2014-12-16 01:01:45 +04:00
Ryan Mehta
dafa24d5e1 change variable char to character 2014-12-15 12:33:49 -08:00
Bernhard Weichel
95eed25439 small fix in the snippets 2014-12-14 23:53:52 +01:00
Bernhard Weichel
7da354d5f3 fixed Uncaught TypeError: undefined is not a functionapp_config.js:147
(anonymous function)app_config.js:146 setDefaultValuesmode_creator.js:6
2014-12-14 23:40:47 +01:00
Bernhard Weichel
18b3c57de9 Merge branch 'master' of https://github.com/ajaxorg/ace into feature/ace_language_definition
# By nightwing (7) and others
# Via Harutyun Amirjanyan (4) and others
* 'master' of https://github.com/ajaxorg/ace:
  do not pair quotes inside strings
  fix toggleComment command in php mode
  fix copyLines* for multiple selections
  fix pairing of quotes in cstyle behavior
  add helper for creating tests
  Autocomplete exactMatch option
  add *~ (backup files created by various editors) to .gitignore
  Remove unneeded regex groups for Eiffel
  Update Eiffel programming language definition.
  add config.warn and refactor config to allow sharing with ace_tree
  do not use automatic scroll into view
  Teach tmlanguage.js to process multiple .tmLanguage files at once
2014-12-14 23:11:35 +01:00
Bernhard Weichel
8019a21475 added abc mode 2014-12-14 20:34:41 +01:00
nightwing
c5edaa3608 allow filtering tests in browser runner 2014-12-13 16:45:56 +04:00
nightwing
5a03993f65 update vim.js 2014-12-13 00:50:13 +04:00
Lennart Kats
5fc3bbbe09 Merge pull request #2249 from ajaxorg/misc
Several small fixes
2014-12-12 20:48:16 +01:00
nightwing
6b13aedf5f do not pair quotes inside strings 2014-12-12 17:38:39 +04:00
nightwing
ec18d9493d fix toggleComment command in php mode 2014-12-12 17:38:39 +04:00
nightwing
3fa54ce97e fix copyLines* for multiple selections 2014-12-12 17:38:39 +04:00
nightwing
852e0673ca fix pairing of quotes in cstyle behavior 2014-12-12 17:38:38 +04:00
nightwing
278f1d1674 add helper for creating tests 2014-12-12 17:38:38 +04:00
Harutyun Amirjanyan
232b3c0f8c Merge pull request #2272 from adamjimenez/autocomplete-exact
Autocomplete exactMatch option
2014-12-12 17:21:39 +04:00
nightwing
d8f0ab2a16 fix regression in setDefaultValues 2014-12-12 16:56:02 +04:00
Adam Jimenez
cfdb223e7a Autocomplete exactMatch option
Option to show only exact matches in autocomplete
2014-12-12 10:27:45 +00:00
Harutyun Amirjanyan
d68050c62b Merge pull request #2268 from mbenkmann/gitignore_backup_files
add *~ (backup files created by various editors) to .gitignore
2014-12-10 11:11:00 -08:00
Matthias S. Benkmann
119259b702 add *~ (backup files created by various editors) to .gitignore 2014-12-07 18:21:03 +01:00
nightwing
c49e5bfef9 disable warning 2014-12-07 01:26:44 +04:00
nightwing
2fc497477d highlight tags when cursor is before tagname 2014-12-07 01:26:24 +04:00
nightwing
e54882db64 use setAttribute instead of autocorrect setter, since the setter doesn't work on ipad 2014-12-07 01:08:06 +04:00
Harutyun Amirjanyan
e217418d39 Merge pull request #2266 from Conaclos/master
Update Eiffel definition
2014-12-06 13:03:03 -08:00
Victorien ELVINGER
354dc37ea6 Remove unneeded regex groups for Eiffel 2014-12-06 20:04:27 +01:00
Victorien ELVINGER
29597325d9 Update Eiffel programming language definition.
- Disable comments into strings
- Enable concise form for real numbers
- Enable juxtaposed digit separators
- Check char and string content.
2014-12-06 19:50:52 +01:00
Harutyun Amirjanyan
0d4566b42b Merge pull request #2264 from aroben/convert-many-tmlanguages
Teach tmlanguage.js to process multiple .tmLanguage files at once
2014-12-04 03:44:16 -08:00
Lennart Kats
e1933043dc Merge pull request #2254 from ajaxorg/do-not-scroll
Disable automatic scroll into view
2014-12-04 11:10:29 +01:00
nightwing
a71c17b46f add config.warn and refactor config to allow sharing with ace_tree 2014-12-04 14:02:49 +04:00
nightwing
8c1aa5c772 do not use automatic scroll into view
prepares for deprecating the feature in the next version of ace
2014-12-04 14:02:19 +04:00
Lennart Kats
35155075e0 Merge pull request #2219 from ajaxorg/vim2
better vim mode
2014-12-04 10:55:29 +01:00
Adam Roben
23a3ba85f0 Teach tmlanguage.js to process multiple .tmLanguage files at once
You can now pass more than one .tmLanguage file to tmlanguage.js and it will
process each one in turn. This can vastly speed up the processing of multiple
files as you don't have to pay the node/V8 startup cost for each file.

Note that the script's "dev mode" is now controlled by a --dev flag rather than
an unnamed second argument.
2014-12-03 13:56:22 -05:00
Lennart Kats
57a07f54b3 Merge pull request #2261 from ajaxorg/build
fix broken paths in kitchen-sink demo
2014-12-01 16:10:08 +01:00
Harutyun Amirjanyan
93bd34e1cf Merge pull request #2238 from sevin7676/master
cstyle Comment Folding (region and triple star single line block comment)
2014-11-29 23:59:14 -08:00
Harutyun Amirjanyan
16cdd9ddb3 Merge pull request #2259 from jpallen/patch-2
Highlight \ref, \vref, \cite and \citep as labels
2014-11-28 06:33:29 -08:00
James Allen
fc322711ca Highlight \ref, \vref, \cite and \citep as labels
The `\ref`, and `\cite` commands in LaTeX are similar to `\label`s in that they refer to user defined labels elsewhere in the text, and it makes sense to highlight them with the same color scheme. Particularly the coloring of arguments to `\ref` commands should match the color of `\label` commands because `\label` defines the strings that `\ref` then references.
2014-11-28 13:34:16 +00:00
sevin7676
c1a8e77760 Add comment to explain unusual naming and remove ending whitespace 2014-11-28 08:18:33 -05:00
Harutyun Amirjanyan
097d19e943 Merge pull request #2256 from devoncarew/devoncarew_dart_keywords
more dart keywords
2014-11-26 07:31:07 -08:00
Devon Carew
f7144da4ec more dart keywords 2014-11-25 13:37:36 -08:00
sevin7676
41df1f265f Fix fold widget range for region
End range should be at end of line as we don't want to display the
'#endregion' text after the fold widget (this is consistent with cstyle
region comment folding).

Added missing semi-colons.
2014-11-25 07:01:09 -05:00
sevin7676
1869024de6 changes per nightwing recommendations
Rename this.getFoldWidgetBase to avoid conflict with C# mode.

Use regex instead of substring and trim to determine single line block
comment.

Fixed formatting.

Renamed this.getRegionBlock to this.getCommentRegionBlock to prevent C#
mode conflict.

Updated this.getCommentRegionBlock regex to make nested regions work
properly.

Cleaned up this.startRegionRe (had unneeded parenthesis).
2014-11-25 06:58:45 -05:00
sevin7676
602a7efd5f removed unused line
the end of the range should be the end of the line as we don't want to
see [//#endreigon] in our fold widget.
2014-11-24 10:18:00 -05:00
sevin7676
03730ce381 extra comment to help explain code 2014-11-24 09:52:57 -05:00
sevin7676
f26841da41 tested and cleaned up 2014-11-24 09:48:41 -05:00
sevin7676
fb32897b85 progress
appears to be working, need to clean up still
2014-11-24 09:29:37 -05:00
nightwing
49b50ff347 fix broken paths in kitchen-sink demo 2014-11-23 20:06:41 +04:00
Harutyun Amirjanyan
a50fe34925 Merge pull request #2253 from wcandillon/patch-1
Remove references to built-in modules
2014-11-23 14:27:33 +04:00
William Candillon
332472ecc6 Remove references to built-in modules 2014-11-22 19:27:52 -08:00
nightwing
2f32304c2e update vim.js 2014-11-22 00:52:50 +04:00
nightwing
a40060c1ae increase timeout for intermittently failing placeholder_test.js 2014-11-21 23:15:39 +04:00
nightwing
b4d2cf810d fix failing test 2014-11-21 23:15:37 +04:00
nightwing
a185414f64 remove old vim mode 2014-11-21 23:15:34 +04:00
nightwing
f9de0a5661 use ctrl-c and mac repeat handling from old vim mode 2014-11-21 23:14:28 +04:00
nightwing
068c950517 add support for multiple selections 2014-11-21 23:14:27 +04:00
nightwing
bd7de6b43b fix find next for regexps matching empty range 2014-11-21 23:14:26 +04:00
nightwing
aa472742cc allow to customize cursor appearance 2014-11-21 23:14:24 +04:00
nightwing
8daf190b2e add CodeMirror api proxy for vim mode 2014-11-21 23:14:21 +04:00
nightwing
f47c3ea8bd add cm vim mode 2014-11-21 23:04:16 +04:00
Harutyun Amirjanyan
38ed6de508 Merge pull request #2246 from wcandillon/patch-1
Disable module resolver
2014-11-21 16:51:49 +04:00
Harutyun Amirjanyan
d8d1e08a86 Merge pull request #2236 from tenbits/master
Add Mask Highlighter
2014-11-21 16:50:44 +04:00
Harutyun Amirjanyan
2c796133e0 Merge pull request #2247 from aroben/custom-tmtheme
Teach tmtheme.js how to convert a non-built-in theme
2014-11-21 16:49:45 +04:00
Alex Kit
1587b96b3c Add Mask Highlighter 2014-11-21 05:08:12 +01:00
Adam Roben
11d15b2f28 Pretty-print CSS even when creating a new file 2014-11-20 15:19:27 -05:00
nightwing
eec012b24e fix ignoring empty delta 2014-11-20 23:28:09 +04:00
nightwing
004a19855a do not throw for broken anchors since that can break editor 2014-11-20 23:23:46 +04:00
nightwing
d619e4e746 allow passing newLineCharacter ot getValue 2014-11-20 23:02:34 +04:00
nightwing
27264bb9d9 fix infinite loop when inserting more than 0xF000 lines at once 2014-11-20 23:01:53 +04:00
Adam Roben
89702bf606 Make tmtheme.js handle elements with no settings
We just ignore them now rather than throwing an exception.
2014-11-20 10:56:57 -05:00
Adam Roben
f471e54ef0 Teach tmtheme.js how to convert a non-built-in theme
You can now pass a .tmTheme file on the command line to have it converted.
2014-11-20 10:56:32 -05:00
William Candillon
e0bd006ffc Update xqlint dependency 2014-11-18 13:55:32 -08:00
William Candillon
9f2473bce2 Disable module resolver 2014-11-18 13:48:02 -08:00
Lennart Kats
d097d41144 Merge pull request #2237 from ajaxorg/focus
fix focus related issues
2014-11-17 10:34:12 +01:00
Harutyun Amirjanyan
a0f7864b78 Merge pull request #2241 from jmeas/fix-position
Sets offset of fontMetrics div to be 0.
2014-11-16 19:14:29 +04:00
Jmeas
a45385be98 Sets offset of fontMetrics div to be 0.
Offsetting the fontMetrics div causes the 'ghost image' created when
drag and dropping an Ace Editor to be offset by that same amount. By
removing the offset we fix the problem. Closes #2240.
2014-11-15 19:59:07 +01:00
sevin7676
ef856d0f61 Javascript fixes
added forceMultiline parameter and removed line copied from C# folding
2014-11-15 09:15:25 -05:00
sevin7676
a70a9a88a9 new javascript folding in html mode 2014-11-15 09:03:31 -05:00
sevin7676
11bbc03e1d Javascript region folding 2014-11-15 08:48:20 -05:00
sevin7676
1bed3ec951 Javscript region folding 2014-11-15 08:38:21 -05:00
nightwing
bf7eba2253 fix focusing window with click on ie 2014-11-14 23:57:06 +04:00
nightwing
7326de2a48 reset cached scroll values when resizing
this is needed since scrollTop of scrollbar element can be reset to 0
when ace is moved in the document.
2014-11-14 23:57:06 +04:00
nightwing
1721ca8a0c fix unwanted scrolling into view of hidden textarea 2014-11-14 23:56:55 +04:00
Lennart Kats
c5c1bb2b13 Merge pull request #2235 from ajaxorg/hotfix/php_folding
Hotfix for regression in php folding
2014-11-12 17:08:35 +01:00
nightwing
3a8b279e43 update fold widgets in mixed modes when tokenizer state changes 2014-11-12 18:40:22 +04:00
nightwing
742e8c01a8 fix folding of li tags containing unclosed p tags 2014-11-12 18:38:50 +04:00
nightwing
5801b75b5d fix php folding 2014-11-12 18:37:59 +04:00
nightwing
a4532dd8b9 Merge remote-tracking branch 'remotes/origin/master' into v-1.2
Conflicts:
	build
	lib/ace/multi_select_test.js
2014-11-11 11:47:04 +04:00
nightwing
64f2fc4015 add newLineCharacter argument to getValue 2014-11-11 11:45:20 +04:00
nightwing
ffaf44ec0b copy insert start position before storing it in undoStack 2014-11-11 11:44:17 +04:00
nightwing
bacaeb07d8 cleanup 2014-11-11 11:40:18 +04:00
nightwing
271cefb44a fix typo 2014-11-08 23:52:05 +04:00
nightwing
b8e3198ba8 version 1.1.8 2014-11-08 23:45:22 +04:00
nightwing
a4d831f474 add more users 2014-11-08 20:56:18 +04:00
nightwing
c4e937939a Merge remote-tracking branch 'remotes/origin/mode_issues' 2014-11-08 16:25:19 +04:00
nightwing
5562566b37 Merge remote-tracking branch 'remotes/origin/emacs'
Conflicts:
	lib/ace/incremental_search_test.js
2014-11-08 16:02:02 +04:00
nightwing
d09740f494 fix emacs universal argument 2014-11-08 15:57:23 +04:00
Robert Krahn
e83252130c emacs: improved multi selection handling for emacs mark 2014-11-06 23:27:54 -08:00
nightwing
072dcb1c11 fix tripple brace highlighting in handlebars mode 2014-11-06 20:43:08 +04:00
Harutyun Amirjanyan
989d0ac3fb Merge pull request #2226 from LivelyKernel/isearch-regexp-support
isearch regexp support
2014-11-06 10:15:53 +04:00
Robert Krahn
775cdedefb isearch test fix 2014-11-05 15:30:05 -08:00
Robert Krahn
a93646d2f7 isearch: commands searchAsRegExp and selectAllMatches 2014-11-05 15:30:03 -08:00
Robert Krahn
7bb5b305be isearch: add regexp support 2014-11-05 15:30:01 -08:00
Robert Krahn
939e0739a7 adding improvements as suggested by @nightwing 2014-11-05 15:25:28 -08:00
Robert Krahn
8786e17e6b isearch test: ensure multi select 2014-11-05 15:25:27 -08:00
Robert Krahn
0a055cb725 isearch: being flexible about whether emacs mode is on or not 2014-11-05 15:25:26 -08:00
Robert Krahn
54d80d79ab emacs: make code strict conform 2014-11-05 15:25:16 -08:00
Robert Krahn
ea67201540 emacs: fix exchangePointAndMark in normal select mode 2014-11-05 15:25:15 -08:00
Robert Krahn
78b2147c3c emacs/isearch: select when moving cursor via isearch and emacs mark is set 2014-11-05 15:25:14 -08:00
Robert Krahn
b966cfd7da emacs: cleanup 2014-11-05 15:25:12 -08:00
Robert Krahn
24f3bab19d emacs: fix multi select exchangePointAndMark
Conflicts:
	lib/ace/keyboard/emacs.js
2014-11-05 15:25:08 -08:00
Robert Krahn
90034c3a44 fixing multi selection handling for various emacs commands
Conflicts:
	lib/ace/keyboard/emacs.js
2014-11-05 15:24:41 -08:00
nightwing
9ccf68dbb2 make sure missing emmet can't break tab key 2014-11-05 23:17:59 +04:00
nightwing
22de936727 fix bracket pairing for multiple selections 2014-11-05 23:15:45 +04:00
Lennart Kats
f133231df8 Merge pull request #2222 from ajaxorg/mode_issues
Fix mode issues
2014-11-05 14:47:05 +01:00
nightwing
e26c70ad53 update soy_template test 2014-11-05 17:36:14 +04:00
nightwing
f362d2e84a add markdown comment to elixir demo 2014-11-05 16:56:51 +04:00
nightwing
96061f72ae update ChangeLog 2014-11-05 16:51:34 +04:00
nightwing
70337ea5ba fix infinite loop in soy mode and make tokenizer more robust 2014-11-05 16:42:39 +04:00
nightwing
78cda6bc3a update architect-build 2014-11-02 15:33:23 +04:00
nightwing
c83f39e4a9 update tests for ruby mode 2014-11-02 15:33:10 +04:00
nightwing
399e25ceaf fix errors in imported elixir mode 2014-11-02 15:32:26 +04:00
nightwing
4da689e71b add elixir mode 2014-11-02 15:06:12 +04:00
nightwing
ca9bc7a97a improve highlighting of ruby strings 2014-11-01 21:44:53 +04:00
nightwing
5b3bbba54e fix xquery mode breaking autocompletion and add tests 2014-11-01 19:27:40 +04:00
nightwing
671a8d6543 support nested comments in rust mode 2014-11-01 18:15:00 +04:00
nightwing
fd4be8535f Merge pull request #2216 from adamjimenez/php-delegate
use mode delegates in PHP
2014-10-31 15:18:02 +04:00
nightwing
366675a7a7 fix inline php mode 2014-10-31 15:08:44 +04:00
Adam Jimenez
2bd2e37367 fix php indentation 2014-10-30 01:52:38 +00:00
Harutyun Amirjanyan
e08a925870 Merge pull request #2218 from SomeKittens/master
Add COPY as a Docker command to be highlighted
2014-10-30 04:34:30 +04:00
Randall Koutnik
c0b37c1ac2 Add COPY as a Docker command to be highlighted 2014-10-29 17:09:09 -07:00
nightwing
2e8d7184e2 Merge pull/2215 2014-10-29 23:19:25 +04:00
nightwing
f121ca93ff update comment too 2014-10-29 23:18:09 +04:00
Adam Jimenez
b204cd7236 use mode delegates in PHP
fixes #2197
2014-10-29 17:01:41 +00:00
Bolutife Ogunsola
292d92ab8c Update documentation to reflect change introduced in 9253fffb9f 2014-10-29 14:25:21 +01:00
Bolutife Ogunsola
5b30207d74 Fix typo 2014-10-29 14:25:21 +01:00
Harutyun Amirjanyan
20cd631f0a Merge pull request #2198 from adamjimenez/patch-2
Autoindent doesn't always occur
2014-10-29 16:37:17 +04:00
Adam Jimenez
8e3da36bc7 autoindent tweaks
use camelcase and start line indent
2014-10-29 12:08:30 +00:00
Adam Jimenez
5e724c5ebd autoindent from start of tag 2014-10-29 10:13:20 +00:00
Adam Jimenez
b3d0c62a8d tidy up autoindent
use voidElements and double quotes.
2014-10-29 09:54:16 +00:00
Lennart Kats
695e24c418 Merge pull request #2210 from ajaxorg/misc
Fix several small issues
2014-10-28 11:04:05 +01:00
nightwing
3ef6bc2097 do not show error for empty json files 2014-10-27 21:35:51 +04:00
Harutyun Amirjanyan
e8419e5742 Merge pull request #2208 from coderaiser/patch-2
feature(package) v1.1.7
2014-10-27 13:05:04 +04:00
Harutyun Amirjanyan
2de76b5251 Merge pull request #2207 from coderaiser/patch-1
Simplified reading version from package.json
2014-10-27 13:04:17 +04:00
coderaiser
f3d9c588bd feature(package) v1.1.7 2014-10-25 18:35:41 +03:00
coderaiser
d068e2f737 feature(version) simplified reading version from package.json 2014-10-25 18:34:22 +03:00
nightwing
1a70ef15e2 fix #2190 autocomplete doesn't show tooltip when list initially appears 2014-10-25 03:25:44 +04:00
nightwing
58d166d647 do not add extra semicolon in built files 2014-10-25 02:07:06 +04:00
nightwing
fd5a6ade03 fix #2183 scrollPastEnd breaks vScrollBarAlwaysVisible=false option 2014-10-24 16:40:53 +04:00
Adam Jimenez
289ada0a2f don't indent after closing tag 2014-10-23 09:28:42 +01:00
Harutyun Amirjanyan
af859e2b0c Merge pull request #2189 from takapa/master
Improve tooltips
2014-10-21 19:55:27 +04:00
Harutyun Amirjanyan
94514a8456 Merge pull request #2200 from adamjimenez/patch-5
Fix string tooltips not showing
2014-10-21 18:19:46 +04:00
Harutyun Amirjanyan
1d39be41a6 Merge pull request #2201 from adamjimenez/patch-6
send completion data to completer callback
2014-10-21 18:19:38 +04:00
Adam Jimenez
7b01a4273e send completion data to completer callback 2014-10-21 12:46:29 +01:00
Adam Jimenez
bf8e9ddf45 Fix string tooltips not showing 2014-10-21 10:35:34 +01:00
Chris Ainsley
cef48f6887 Responded to suggestions by nightwing
Removed style changes (no style changes are part of the PR).

Only change now should be that we create a <div/> element instead of a <pre/> element.
2014-10-20 21:33:23 +01:00
Adam Jimenez
631695a0e4 Autoindent doesn't always occur
Currently autoindent only kicks in as so: 
```
<div>|</div>
```

This allows it to also work with:
```
<div>|

</div>
```
2014-10-20 17:30:26 +01:00
nightwing
525fe1ffe3 do not wrap change events in additional e.data 2014-10-18 00:56:13 +04:00
nightwing
bb827051a6 Merge branch 'master' into v-1.2
Conflicts:
	lib/ace/commands/command_manager.js
2014-10-17 19:25:02 +04:00
nightwing
c97858705d cleanup 2014-10-17 19:23:43 +04:00
Harutyun Amirjanyan
40a9c308b9 Merge pull request #2191 from maxh/patch-1
Fix errors in Anchor docs
2014-10-14 14:53:10 +04:00
Max Heinritz
f8bf6f253a Fix errors in Anchor docs
At least, I think they are errors.
2014-10-13 11:54:33 -07:00
DanyaPostfactum
6502a3d2cb Update tests for wrap indent 2014-10-12 18:37:52 +10:00
DanyaPostfactum
f625dfeea3 Add indentSubsequentLines to options 2014-10-12 18:37:20 +10:00
takapa
2636e5de5f Improve tooltips
Allow tooltips in div element (currently tooltips only allow items in pre element which is tricky to format). Also fix wrapping, remove gradient fill, and introduce a maximum width of 500px by default.
2014-10-12 01:20:27 +01:00
DanyaPostfactum
60367772a9 Add wrap indent 2014-10-12 01:56:19 +10:00
Lennart Kats
3af776df12 Merge pull request #2186 from ajaxorg/highlighter-fixes
Highlighter fixes
2014-10-11 17:16:48 +02:00
nightwing
43cdfd792f Add HACK and XXX 2014-10-10 23:54:19 +04:00
Lennart Kats
a02ca596b9 Merge pull request #2073 from ajaxorg/multihash
Allow binding multiple commands to one key
2014-10-10 15:41:23 +02:00
nightwing
ed40c1f51f improve tmlanguage.js 2014-10-10 02:05:15 +04:00
nightwing
9683d80f84 highlight todo in javascript comments 2014-10-09 20:49:25 +04:00
nightwing
52e8bc3082 add elm mode (fixes #2099) 2014-10-09 16:41:49 +04:00
nightwing
23c64c6ebb Add highlighting for raw string literals in rust mode. 2014-10-09 16:39:14 +04:00
nightwing
9cc394d3b9 Merge pull request #2169
allow removing completers
2014-10-09 01:32:30 +04:00
nightwing
38ce8b8919 less java:) 2014-10-09 01:30:05 +04:00
takapa
28b95df12c Added setCompleters(...) function
Added setCompleters() method, so that completers can be explicitly set from a pre-populated array, or can be removed entirely (if null is passed, or setCompleters() is called without an argument or an empty array is passed.

Please check this carefully for rookie JavaScript bugs, as I'm not sure if the null/undefined test is best-practise here as I don't typically code in JavaScript in my day-job.
2014-10-08 22:07:23 +01:00
Ruben Daniels
18f999fc47 Merge pull request #2174 from ajaxorg/autoscroll
AutoScrollEditorIntoView doesn't work for search
2014-10-06 16:57:58 -07:00
Ruben Daniels
0609c8e1a8 Merge pull request #2175 from ajaxorg/misc
Fix several small issues
2014-10-06 16:57:39 -07:00
Ruben Daniels
61ca159312 Merge pull request #2148 from ajaxorg/autocomplete
Add documentation tooltip for autocompleter
2014-10-06 16:57:16 -07:00
Harutyun Amirjanyan
cc40b8ceb8 Merge pull request #2177 from richo/fix-username
Fix @richo's username
2014-10-06 18:56:30 +04:00
Richo Healey
1a6bb0591b Fix @richo's username 2014-10-05 19:22:17 -07:00
nightwing
6814187c51 fix name of templates/highlight_rules.js 2014-10-05 23:07:34 +04:00
nightwing
29023787e5 Merge remote-tracking branch 'remotes/origin/master' into v-1.2
Conflicts:
	build
	lib/ace/document.js
	lib/ace/editor.js
2014-10-05 23:04:57 +04:00
nightwing
2983c4b19f do not throw when trying to add intersecting folds 2014-10-05 22:53:31 +04:00
nightwing
c2ce33f368 fix search.$assembleRegExp not working for multiline strings 2014-10-05 22:53:31 +04:00
nightwing
a1042e0d94 fix reattaching linewidgets to editor 2014-10-05 22:53:31 +04:00
nightwing
6c0bc56500 improve error handling in worker 2014-10-05 22:53:31 +04:00
nightwing
ab6aa3be5c fix gutter colors in theme importer 2014-10-05 22:53:31 +04:00
nightwing
14fc8adac2 cleanup mode_creator tool 2014-10-05 22:53:30 +04:00
nightwing
6867d1f4c6 fix several highlighter issues 2014-10-05 22:53:30 +04:00
nightwing
6e9ce4dbc8 fix #2173 AutoScrollEditorIntoView doesn't work for search 2014-10-05 00:14:10 +04:00
takapa
9b8385b07d Update language_tools.js
Added removeCompleters() function to language tools exports as it is not possible to access the completers array directly.

This is currently utilized by Ace GWT to cleardown existing completers (for entirely programmatic completers without snippets or  keyword completions) but I feel it belongs in the mainline (I have to manage a fork at the moment and there seems to be no other workaround).
2014-09-30 19:55:06 +01:00
Harutyun Amirjanyan
54e022fab2 Merge pull request #2168 from phungleson/patch-1
Change line comment start to //
2014-09-30 18:57:10 +04:00
Son
47b9c6c225 Change line comment start to //
http://doc.rust-lang.org/guide.html#comments
2014-09-30 22:07:53 +08:00
Harutyun Amirjanyan
cec6779003 Merge pull request #2165 from Newbrict/master
clipped trailing whitespace
2014-09-27 23:57:58 +04:00
Dimitar Dimitrov
753fa6b904 clipped trailing whitespace 2014-09-27 13:58:04 -04:00
Harutyun Amirjanyan
f4356993b2 Merge pull request #2157 from cvoege/master
Added Find All Functionality to Ctrl-F searchbox.
2014-09-27 13:35:16 +04:00
Colton Voege
4b44bad687 Replace all with Alt-Enter fixed. 2014-09-25 12:57:32 -04:00
Colton Voege
a33cc3223a Merge branch 'master' of https://github.com/ajaxorg/ace 2014-09-25 12:54:50 -04:00
nightwing
1bb84debca update build submodule 2014-09-21 00:14:53 +04:00
nightwing
c62b0b134f fix regression in ace_popup 2014-09-21 00:04:01 +04:00
Harutyun Amirjanyan
79eda6d2a8 Merge pull request #2111 from wcandillon/patch-3
Update XQLint dependency
2014-09-20 12:35:08 +04:00
Ruben Daniels
961eee344c Merge pull request #2159 from ajaxorg/misc
Fix several small issues
2014-09-20 10:10:04 +02:00
nightwing
8a306d8a8e workaround for inaccurate font rendering on chrome 37 2014-09-20 01:43:52 +04:00
nightwing
121835bed8 add menuitem to the list of void tags 2014-09-20 00:07:54 +04:00
Colton Voege
378a72a91c Added Find All functionality to searchbox. 2014-09-17 13:33:29 -04:00
Ruben Daniels
a0327aebd9 Merge pull request #2156 from ajaxorg/dragcursor
improve drag cursor on windows
2014-09-17 15:20:33 +02:00
Ruben Daniels
0989419251 Merge pull request #2155 from ajaxorg/keyboard/emacs
fix #2154 Emacs copy/paste issue with highlighting marker
2014-09-17 15:20:12 +02:00
nightwing
b25f4b6a10 fix #2154 Emacs copy/paste issue with highlighting marker 2014-09-17 17:05:38 +04:00
nightwing
f68ca6266a improve drag cursor on windows 2014-09-16 00:34:39 +04:00
nightwing
953e452f70 add doc tooltip 2014-09-13 03:22:55 +04:00
Ruben Daniels
e894b5f9e0 Merge pull request #2137 from ajaxorg/autocomplete
Fix several small issues
2014-09-12 20:18:22 +02:00
Ruben Daniels
74f7d0095b Merge pull request #2135 from ajaxorg/tool/add_mode
Add tool/add_mode.js for creating stub files for a new mode
2014-09-12 20:18:07 +02:00
Ruben Daniels
c029ba57c5 Merge pull request #2138 from ajaxorg/demo/warn
show warning if build/src/ace.js is missing
2014-09-12 20:17:56 +02:00
Harutyun Amirjanyan
8cc22b10eb Merge pull request #2145 from tobiasahlin/clean-up-css
Clean up CSS
2014-09-12 20:58:44 +04:00
Tobias Ahlin
ec3750edcb float triggers display block 2014-09-11 10:26:49 +02:00
Tobias Ahlin
bde7daaf1b Use animation and font shorthand 2014-09-11 10:26:13 +02:00
Tobias Ahlin
6593e25de6 Keyframes can share values 2014-09-11 10:25:52 +02:00
Tobias Ahlin
87dcd881e3 Use font shorthand 2014-09-11 10:18:23 +02:00
Tobias Ahlin
eabb4b2cb5 float triggers display: block 2014-09-11 10:17:55 +02:00
Tobias Ahlin
6a0a108d2a Vendor prefixes are not needed for border-radius 2014-09-11 09:11:54 +02:00
Tobias Ahlin
a36e7bb0c1 position: fixed triggers display: block 2014-09-11 09:11:32 +02:00
Tobias Ahlin
f103d2632c px is redundant for zero values 2014-09-11 09:06:33 +02:00
Tobias Ahlin
f4afa89d4e Vendor prefixes aren't necessary for box-shadow 2014-09-11 00:55:33 +02:00
Tobias Ahlin
a89e3d0d9d Only -webkit prefix for transitions is necessary
Android and iOS safari both support it without the prefix, but hasn’t
for long
2014-09-11 00:53:25 +02:00
Tobias Ahlin
2cdd9fef70 Use font shorthand for ace_editor 2014-09-11 00:47:41 +02:00
Harutyun Amirjanyan
4ff4d1ee43 Merge pull request #2144 from girving/doc-fix
Fix documentation typo: "includeText" should be "insertText"
2014-09-11 01:58:48 +04:00
Geoffrey Irving
6795b35135 Fix documentation type: "includeText" should be "insertText" 2014-09-10 14:43:36 -07:00
Harutyun Amirjanyan
706f2ea172 Merge pull request #2143 from p2004a/fix-filteredlist-behaviour
Changed FilteredList.setFilter unique matches computing in autocomplete.js
2014-09-10 17:47:25 +04:00
nightwing
d2b6b43679 Merge branch 'pull/2139' 2014-09-10 17:18:36 +04:00
nightwing
aec7db80d8 fix more typos 2014-09-10 17:17:11 +04:00
Marek Rusinowski
c0c99ad5c6 changed FilteredList.setFilter unique matches computing 2014-09-10 12:35:04 +02:00
Chris Schmich
91db934fe6 Fixing another typo. 2014-09-09 20:33:09 -05:00
Chris Schmich
8b996b0a09 Fix typo. 2014-09-09 20:29:44 -05:00
nightwing
fb16e59f03 do not trigger keyLocation warning (fixes #1731) 2014-09-10 04:29:43 +04:00
nightwing
cdaf4c1539 show warning if build/src/ace.js is missing 2014-09-10 04:12:42 +04:00
nightwing
1bce1b2a60 cleanup tools directory 2014-09-09 21:44:27 +04:00
nightwing
dbeeea2dd9 add helper tool for starting new mode 2014-09-09 21:18:52 +04:00
nightwing
bd95f782d8 close completion popup when backspacing to empty string 2014-09-07 17:22:04 +04:00
nightwing
e6660cd47c improve matlab highlighting fixes #2042, #2043 2014-09-07 17:21:36 +04:00
nightwing
5f6782d949 fix #2103 completion filtering doesn't work when started with empty prefix 2014-09-07 15:00:21 +04:00
nightwing
e8f7419131 fix #2054 Completer ignores better match if autoinsert is enabled 2014-09-07 14:46:20 +04:00
nightwing
bb76c62c7b fix several ie8 issues 2014-09-06 02:23:37 +04:00
nightwing
c0741f3511 fix #2119 Soft Hyphen (U+00AD) breaks cursor position calculation 2014-09-05 23:55:16 +04:00
nightwing
36f62e3792 fix #1840 The last CJK character of a wrapped line drops down 2014-09-05 23:53:16 +04:00
Lennart Kats
badade8f4e Merge pull request #2125 from ajaxorg/highlighter-fixes
Highlighter fixes
2014-09-02 16:44:48 +02:00
Harutyun Amirjanyan
8a91b43b67 Merge pull request #2117 from camertron/sql_union
Adding highlight support for the UNION SQL keyword
2014-09-02 15:27:35 +04:00
nightwing
3d6b93b946 update tests 2014-09-02 15:12:15 +04:00
nightwing
30f7f8a3f2 add es6 template string highlighting to javascript mode 2014-09-02 13:42:59 +04:00
nightwing
9f2fba320d fix herestring highlighting in sh mode 2014-09-02 13:04:33 +04:00
nightwing
09ddbeb341 add Io mode 2014-09-02 12:55:58 +04:00
nightwing
7a3a84c858 fix error in coffeeScript mode 2014-09-02 01:16:10 +04:00
Cameron Dutro
0d8865bcfe Adding highlight support for the UNION sql keyword 2014-08-27 20:01:31 -06:00
nightwing
69edbf9460 github pages now requires https submodule urls 2014-08-27 17:30:12 +04:00
Harutyun Amirjanyan
9bc0dbd788 Merge pull request #2115 from danyaPostfactum/dragdropfix
Make DragdropHandler more bulletproof
2014-08-27 15:10:45 +02:00
DanyaPostfactum
f9591eb16f Make DragdropHandler more bulletproof 2014-08-24 00:37:06 +10:00
William Candillon
bf8b6806a0 Update XQLint dependency
fixes #2108
2014-08-21 21:42:14 +02:00
Harutyun Amirjanyan
3c4afde47b Merge pull request #2080 from jpallen/master
Keep apparent scroll position fixed when changes are made offscreen
2014-08-20 15:49:03 +04:00
Harutyun Amirjanyan
60dd9156fe Merge pull request #2104 from Razer6/vhdl_mode
Add VHDL to modelist
2014-08-19 17:29:31 +04:00
Robert Schilling
fd2e51f120 Add VHDL mode 2014-08-18 22:17:39 +02:00
nightwing
bb4f7a0f1b update build 2014-08-17 15:21:17 +04:00
Lennart Kats
df58b5b710 Merge pull request #2096 from ajaxorg/old-worker
Allow using uiWorker on ie9 where Worker is undefined
2014-08-14 11:08:40 +02:00
nightwing
084dd4c132 fix regression in loading workers in packed mode 2014-08-14 12:49:00 +04:00
nightwing
6682c18ab3 allow using uiWorker on ie9 where Worker is undefined 2014-08-14 12:41:57 +04:00
Zef Hemel
d6c51fe898 Fix Docker highlighter again 2014-08-14 09:42:32 +02:00
Zef Hemel
5ba99b5fd4 Updated Dockerfile highlighter
Now uses constants rather than variables (which in many highlighters don't appear any differently).
2014-08-14 09:36:57 +02:00
Harutyun Amirjanyan
97d39e2912 Merge pull request #2095 from ajaxorg/revert-2076-no-auto-scroll
Revert "Disable automatic scroll into view"
2014-08-13 23:11:14 +04:00
Harutyun Amirjanyan
217635fe67 Merge pull request #2094 from ajaxorg/ruby-behaviors
Enabled C-style behaviors for Ruby
2014-08-13 22:57:22 +04:00
Harutyun Amirjanyan
1dc42fd46e Revert "Disable automatic scroll into view" 2014-08-13 22:53:35 +04:00
Zef Hemel
1f14f3fc32 Enabled C-style behaviors for Ruby which are pretty much accurate. 2014-08-13 20:44:51 +02:00
Harutyun Amirjanyan
706b7815e3 Merge pull request #2089 from dfelder/master
Some more highlight rules for latex mode
2014-08-13 00:47:59 +04:00
Daniel Felder
ed320af6f4 fix code folding in equation mode 2014-08-11 12:21:20 +00:00
Daniel Felder
b01fe5de13 cleanup 2014-08-11 11:59:42 +00:00
Daniel Felder
917c4da39d cleanup 2014-08-11 11:57:29 +00:00
Daniel Felder
b8c111b832 add folding for paragraph 2014-08-11 11:54:15 +00:00
Daniel Felder
c3411631a1 highlight input command 2014-08-11 11:51:38 +00:00
Daniel Felder
e227811a21 highlight input command 2014-08-11 11:46:27 +00:00
Harutyun Amirjanyan
fe9b95f9e2 Merge pull request #2090 from adamjcook/gcode
Adding G-code (ISO 6983) language mode.
2014-08-11 15:41:43 +04:00
Daniel Felder
f79a7a7b0b exit equation mode on empty lines 2014-08-11 11:40:16 +00:00
Daniel Felder
2f56fb208c allow comments in equation, default token in equation 2014-08-11 11:03:43 +00:00
Daniel Felder
114166a0ce fix code folding 2014-08-11 11:02:43 +00:00
Daniel Felder
69dcab3479 Merge https://github.com/ajaxorg/ace 2014-08-11 09:20:25 +00:00
Daniel Felder
9fb80fb72c simplifications and different highlight for labels etc. 2014-08-11 09:13:50 +00:00
Daniel Felder
b4dc4b7694 adjust tests 2014-08-11 09:12:46 +00:00
Adam Joseph Cook
37aa485137 Adding G-code (ISO 6983) language mode. 2014-08-10 22:24:52 -05:00
Lennart Kats
549df3c756 Merge pull request #2087 from ajaxorg/destroy
destroy session when destroying the editor
2014-08-10 11:26:07 +02:00
Lennart Kats
2fda9268f3 Merge pull request #2088 from ajaxorg/misc
Code cleanup + minor fixes
2014-08-10 11:24:41 +02:00
Lennart Kats
3752d20b13 Merge pull request #2086 from ajaxorg/textinput
IME issues
2014-08-10 10:56:28 +02:00
Lennart Kats
5f8c5e0fb6 Merge pull request #2077 from ajaxorg/mode/css
update csslint
2014-08-10 10:55:31 +02:00
Lennart Kats
5348712ce2 Merge pull request #2076 from ajaxorg/no-auto-scroll
Disable automatic scroll into view
2014-08-10 10:55:18 +02:00
Lennart Kats
4b5409c5cb Merge pull request #2070 from ajaxorg/static-highlight
accept mode options object in static highlight extension
2014-08-10 10:50:32 +02:00
Lennart Kats
b714925ed8 Merge pull request #2063 from ajaxorg/fix/build
do not rename kr_theme to kr during the build
2014-08-10 10:49:50 +02:00
Daniel Felder
4115fd24b3 adjust tests 2014-08-10 01:40:09 +00:00
Daniel Felder
b5560a9cad adjust tests 2014-08-10 01:18:28 +00:00
Daniel Felder
d029129b28 lparen, rparen in block 2014-08-10 01:17:39 +00:00
Daniel Felder
b8f135a37d adjustments to latex mode 2014-08-10 00:29:39 +00:00
Daniel Felder
08bf3696e7 some more syntax highlighting for latex mode 2014-08-10 00:02:33 +00:00
nightwing
9b489c752b minor fixes 2014-08-09 22:32:07 +04:00
nightwing
10860343ab fix error when inserting text inside code 2014-08-09 22:32:07 +04:00
nightwing
1bd38560b4 code style 2014-08-09 22:32:07 +04:00
nightwing
383b798901 disable automatic scroll into view 2014-08-09 22:22:49 +04:00
nightwing
dc37f938c9 destroy session when destroying the editor 2014-08-09 18:48:43 +04:00
nightwing
920cd20327 improve ime style 2014-08-09 18:44:24 +04:00
nightwing
d493325973 make sure editor container never scrolls because of out of view textarea 2014-08-09 18:44:24 +04:00
Harutyun Amirjanyan
ffc547d2c3 Merge pull request #2079 from buildersbrewery/master
Updated LSL language
2014-08-08 22:28:26 +04:00
Harutyun Amirjanyan
e2ab837178 Merge pull request #2084 from jpallen/patch-1
Don't ignore contextmenu event in Firefox on Windows/Linux
2014-08-08 22:27:44 +04:00
James Allen
1109188a93 Don't ignore contextmenu event in Firefox on Windows/Linux 2014-08-08 18:28:41 +01:00
James Allen
146d832e19 Keep apparent scroll position fixed when changes are made offscreen 2014-08-06 13:59:11 +01:00
Zef Hemel
2859373983 Merge pull request #2075 from ajaxorg/highlighter-fixes
Highlighter fixes
2014-08-05 11:56:34 +02:00
nightwing
0842d27710 fix failing test
allow folding <p> tags
2014-08-04 18:27:45 +04:00
Builder's Brewery
89b5597948 Updated regex for entity.name.state.lsl 2014-08-04 15:52:57 +02:00
Builder's Brewery
36198a50f4 Updated LSL snippets 2014-08-04 15:38:52 +02:00
Builder's Brewery
91cc993bb2 Updated LSL keywords 2014-08-04 15:24:56 +02:00
nightwing
b69f7450aa fix autoclosing of p tag 2014-08-02 01:02:52 +04:00
nightwing
d120d050fb update test 2014-08-02 01:02:03 +04:00
nightwing
518166324b add constexpr keyword to c++ 2014-08-02 01:02:03 +04:00
nightwing
0eff326d62 tweak modes 2014-08-02 01:01:46 +04:00
nightwing
b990ad3f90 update csslint 2014-08-02 00:57:21 +04:00
nightwing
dfee740802 update command_manager test 2014-08-01 22:33:32 +04:00
nightwing
5744a3c6e3 fix bracket matching in vala mode 2014-08-01 22:12:45 +04:00
nightwing
ec6ffec1e4 Merge branch 'missing-redraw' 2014-08-01 22:07:25 +04:00
nightwing
72dcd28905 trigger redraw less often 2014-08-01 22:06:43 +04:00
nightwing
f4990b3a56 make sure text redraw isn't missed when bgTokenizer state changes 2014-08-01 21:52:25 +04:00
nightwing
d01cbaf698 Merge pull request #2041 from jpallen:master
Redraw lines and active line highlight when offscreen updates are made
2014-08-01 21:50:51 +04:00
Harutyun Amirjanyan
f80dea7915 Merge pull request #2066 from gatof81/master
ie11 fix getBoundingClientRect() error
2014-08-01 21:47:27 +04:00
nightwing
a00ce9cd72 update keyboard shortcuts extension 2014-08-01 20:47:49 +04:00
nightwing
b2612c6039 cleanup emmet extension 2014-08-01 20:19:17 +04:00
nightwing
c673190bf7 allow binding multiple commands to same key 2014-07-29 17:40:19 +04:00
Diego Ferreyra
b0babd3f25 ie11 fix getBoundingClientRect() error missing ";" 2014-07-28 14:37:15 -03:00
Diego Ferreyra
7ab9ce686f ie11 fix getBoundingClientRect() error 2014-07-28 14:34:39 -03:00
nightwing
80f42e13ff accept mode options object in static highlight extension 2014-07-28 19:10:41 +04:00
Diego Ferreyra
d40bec839d ie11 fix getBoundingClientRect() error 2014-07-24 17:14:40 -03:00
nightwing
23f678229a update config_test.js 2014-07-22 16:57:14 +04:00
nightwing
0eaae8712e do not rename kr_theme to kr during the build 2014-07-22 16:32:40 +04:00
Lennart Kats
f3d4147f6b Merge pull request #2023 from ajaxorg/edit_textarea
Do not hang the browser when ace.edit is called for textarea
2014-07-21 14:07:47 +02:00
Lennart Kats
c079a49ce7 Merge pull request #2053 from ajaxorg/fix/highlighting
Fix highlighting issues
2014-07-21 14:07:20 +02:00
Lennart Kats
b71a09d8d0 Merge pull request #2052 from ajaxorg/double_tap
fix Double tapping to select words doesn't work reliably
2014-07-21 14:06:19 +02:00
Harutyun Amirjanyan
c073766cc3 Merge pull request #2055 from Conaclos/working
Eiffel programming language mode
2014-07-21 04:37:47 +04:00
Conaclos
b651a424f1 Adding the new Eiffel example. 2014-07-20 19:12:34 +02:00
Conaclos
9284732a28 Remove eiffel example.
Current example is too large.
2014-07-20 19:12:03 +02:00
Conaclos
7e55724c52 Add comment mark in Eiffel mode. 2014-07-20 19:10:50 +02:00
Conaclos
fcd1dbb98d Adding Eiffel language mode.
- Adding Eiffel highlight rules and Eiffel mode
- Use Sudoku grid example of Eiffel Rosetta Code project as Eiffel example
2014-07-20 17:22:21 +02:00
nightwing
d53c91e41a update mode tests 2014-07-16 23:29:37 +04:00
nightwing
1ad5e66be0 fix #2051 highlighting php string in script tag 2014-07-16 23:27:20 +04:00
nightwing
a52b30317b add heredoc support for sh mode 2014-07-16 22:50:12 +04:00
nightwing
c1c08945b2 do not scroll cursor into view after quad click 2014-07-16 22:46:35 +04:00
nightwing
d3d2e0823b fix Double tapping to select words doesn't work reliably 2014-07-16 19:03:23 +04:00
Harutyun Amirjanyan
3b85ddfa05 Merge pull request #2048 from dfelder/patch-1
Update latex.js
2014-07-15 14:25:18 +04:00
Daniel Felder
0afb5f6da6 Update latex.js
Most of LaTeX is text. Word wrapping etc. should behave accordingly.
2014-07-15 01:38:50 +02:00
Harutyun Amirjanyan
e9faed1868 Merge pull request #2040 from devoncarew/devoncarew_show_hide_dart
add the show and hide keywords to the dart mode
2014-07-10 22:24:55 +04:00
James Allen
fd182ea76f Redraw lines and active line highlight when offscreen updates are made
When setUseWrapMode is true, if some text is inserted into a line which is
above the cursor and offscreen, then the renderer did not previously redraw the
lines or active line highlight. However, if this insert causes the line to wrap
onto another line then everything is shifted down by one visual line, leaving
the onscreen lines in an out of date state. With this commit, the onscreen
lines and active line highlight are now redrawn when this happens.
2014-07-10 12:56:11 +01:00
Devon Carew
a885aea2f0 add the show and hide keywords to the dart mode 2014-07-09 16:22:24 -07:00
Harutyun Amirjanyan
4b286a5c0d Merge pull request #2036 from jjatria/praat
Praat syntax highlighting rules
2014-07-09 21:02:18 +04:00
nightwing
a3bb907f46 v1.1.5 2014-07-09 18:32:00 +04:00
baboso
5ebcf9298b Merge branch 'master' of git://github.com/ajaxorg/ace into praat 2014-07-08 15:22:40 -04:00
baboso
4904f74dbd Minor changes to Praat syntax files 2014-07-08 15:18:57 -04:00
Harutyun Amirjanyan
d3ddd74fe7 Merge pull request #2029 from devoncarew/devoncarew_gitignore
Devoncarew gitignore
2014-07-07 19:30:04 +04:00
Devon Carew
cc03e77327 review comments 2014-07-07 08:17:25 -07:00
Fabian Jakobs
779912d517 Merge pull request #2027 from ajaxorg/autocomplete
Tweak autocomplete
2014-07-07 15:08:28 +02:00
Devon Carew
e6f01878d7 add snippets; fix the kitchensink demo 2014-07-04 11:35:07 -07:00
Devon Carew
bf72097811 add a gitignore mode 2014-07-04 11:25:53 -07:00
Ruben Daniels
c3bb709318 Merge pull request #2022 from ajaxorg/performance
do not use setInnerHTML since it isn't faster on new browsers
2014-07-03 13:53:19 +02:00
nightwing
8ed2799620 do not close the popup if there are matching completions 2014-07-03 00:12:27 +04:00
nightwing
f8be5072ac allow using name instead of caption 2014-07-02 23:56:24 +04:00
nightwing
f9b3655c94 fix autocomplete popup click regression 2014-07-02 23:38:11 +04:00
nightwing
ad54d2c46c disabled validateDelta since it breaks autocompletion popup 2014-07-02 22:04:32 +04:00
nightwing
1f7582b5a6 Merge remote-tracking branch 'remotes/origin/master' into v-1.2
Conflicts:
	lib/ace/anchor.js
	lib/ace/keyboard/vim/maps/operators.js
2014-07-02 21:58:13 +04:00
nightwing
109923873a do not hang the browser when edit is called for textarea 2014-07-02 10:58:21 +04:00
Harutyun Amirjanyan
7fbfbc4c16 Merge pull request #2025 from devoncarew/master
add the export keyword to dart
2014-07-02 07:43:30 +04:00
Devon Carew
2ce7ed0f44 add the export keyword to dart 2014-07-01 16:15:45 -07:00
nightwing
ccfb820418 add test for whitespace extension 2014-07-01 01:32:24 +04:00
nightwing
b5eda22bfc update changelog 2014-07-01 01:21:09 +04:00
nightwing
299d174dc7 do not use setInnerHTML since it isn't faster on new browsers 2014-06-29 09:58:48 +04:00
Harutyun Amirjanyan
416f5582e8 Merge pull request #2021 from devoncarew/master
remove the invalid rule from the go syntax file
2014-06-29 09:48:51 +04:00
Devon Carew
f8b7dce3e0 remove the invalid rule from the go syntax file 2014-06-28 22:21:52 -07:00
Harutyun Amirjanyan
63f43da96a Merge pull request #2012 from hartman/dragDelay
Match platform specifics for dragDelay of text
2014-06-27 20:07:43 +04:00
Derk-Jan Hartman
2dcc4a3f04 Match platform specifics for dragDelay of text
On Mac we keep it at 150ms. On other platforms it either
does not exist or at most it's very small.

This fixes issue #1879
2014-06-27 14:20:09 +02:00
nightwing
0450a1a539 remove unneeded setOption call 2014-06-25 19:01:06 +04:00
Lennart Kats
fdbd11d3df Merge pull request #2014 from ajaxorg/build
Use architect-build for building ace
2014-06-23 12:21:04 +02:00
Harutyun Amirjanyan
14f5095c92 Merge pull request #2005 from ajaxorg/overridable-mergeables
Make mergeable commands (for undo history) overridable.
2014-06-23 00:31:18 +04:00
Zef Hemel
1dd41ea75d Make mergeable commands (for undo history) overridable. 2014-06-23 00:12:20 +04:00
nightwing
ce070285a4 Merge remote-tracking branch 'remotes/origin/keybinding' 2014-06-22 23:49:13 +04:00
nightwing
3ebc2828e6 add textarea keybinding (probably fixes #36) 2014-06-22 23:44:59 +04:00
nightwing
6aaede1a2e keep mac line movement keybindings (still overridden by jumptomatching) 2014-06-22 23:33:45 +04:00
Harutyun Amirjanyan
8c86ff6fab Merge pull request #2013 from rmsmith/master
mode/applescript : set the `$id` to the correct value
2014-06-21 22:51:55 +04:00
rmsmith
739e86cde7 mode/applescript : set the $id to the correct value
This brings the new applescript mode into alignment with the other modes
per #1778
2014-06-21 19:15:52 +03:00
nightwing
6714359998 tweak 2014-06-21 01:48:07 +04:00
nightwing
e5b2eed5c5 add architect build to package.json 2014-06-20 20:55:21 +04:00
nightwing
e52884761d keep demo/kitchein-sink folders location in the build 2014-06-20 20:55:21 +04:00
nightwing
b42108a2c9 remove unnecessary use of async 2014-06-20 20:55:12 +04:00
nightwing
d63863ac0c use architect-build for building ace 2014-06-20 02:27:50 +04:00
nightwing
fcb3331d69 remove special build version for bookmarklet 2014-06-20 02:26:10 +04:00
Adam Jimenez
08bfa14dd2 jumptomatching/ selecttomatching mac shortcut
fixes #2007
2014-06-19 23:06:52 +01:00
Harutyun Amirjanyan
ffe22ce2be Merge pull request #2009 from themgt/master
adding package.json start script
2014-06-18 11:05:47 +04:00
Harutyun Amirjanyan
bdd54043b5 Merge pull request #2004 from tomalec/html-import-issue
Use current document to process <script> tags (fixes ajaxorg/ace#2003)
2014-06-18 11:05:26 +04:00
Paul
9a4bb06bb7 adding package.json start script 2014-06-16 14:08:34 -04:00
Tomek Wytrebowicz
3ce44130d4 comment the need of ownerDocument ajaxorg/ace#2003 2014-06-16 13:48:18 +02:00
Harutyun Amirjanyan
8db9dc255a Merge pull request #1994 from hitode909/fix-is-gecko
useragent.isGecko is false on Firefox 29
2014-06-16 15:05:39 +04:00
Ruben Daniels
5496351529 Merge pull request #1985 from ajaxorg/focus
fix issue with scrolling into view on focus
2014-06-16 12:34:23 +02:00
Ruben Daniels
f25b14a328 Merge pull request #1982 from ajaxorg/misc
Sync with cloud9 version
2014-06-16 12:34:04 +02:00
Tomek Wytrebowicz
b8c21d4c6f Use current document to process <script> tags (fixes ajaxorg/ace#2003) 2014-06-13 01:58:05 +02:00
Harutyun Amirjanyan
08b88485c8 Merge pull request #1996 from adamjimenez/jump-to-matching-tag
Jump To Matching Tag
2014-06-10 21:23:20 +04:00
Adam Jimenez
e92b709eb2 fix jumping to brackets in strings 2014-06-09 21:30:19 +01:00
nightwing
c5031db61c fix tests 2014-06-09 23:44:27 +04:00
Adam Jimenez
d7c7cb1b4d add html tag support to jumpToMatching 2014-06-09 17:09:31 +01:00
Adam Jimenez
76adcc51a0 Revert "Jump To Matching Tag"
This reverts commit 9a4a387de6.
2014-06-09 14:12:10 +01:00
nightwing
efcbe1c010 add todo reminder 2014-06-07 15:26:27 +04:00
nightwing
511faeeaae Merge remote-tracking branch 'remotes/pull/1995' 2014-06-07 15:20:47 +04:00
nightwing
19ec94a815 Merge branch 'pull/1995' 2014-06-07 15:18:23 +04:00
nightwing
636cc6a96f do not change mouse over selection if dragging isn't enabled 2014-06-07 15:17:27 +04:00
Adam Jimenez
c0343a2cba use setCursorStyle instead of modifying classes 2014-06-06 13:50:29 +01:00
Adam Jimenez
111ec1899f fix tag flicker
fix tag highlight flicker when selecting
2014-06-06 13:32:16 +01:00
Adam Jimenez
da5cc2e28d matching tag fixes
remove global editor ref, add listener
2014-06-06 10:53:55 +01:00
Adam Jimenez
9a4a387de6 Jump To Matching Tag
Alt-P: Jump to Matching Tag
Alt-Shift-P: Select to Matching Tag
fixes #1158
2014-06-06 10:32:18 +01:00
Harutyun Amirjanyan
ce3076b4e5 Merge pull request #1991 from adamjimenez/patch-28
fix "{$foo->bar}"."{$foo->bar($a)}"."{$foo->bar(&$a, $b)}";
2014-06-06 12:34:41 +04:00
baboso
84a8201dfd Removed useless rule 2014-06-05 18:44:20 -04:00
Adam Jimenez
07fb7738db Highlight matching HTML tag
fixes #1308
2014-06-05 19:56:46 +01:00
hitode909
84abfa5ff8 window.controllers was renamed to window.Controllers in Firefox 29
useragent.isGecko was false on Firefox 29
2014-06-05 14:10:25 +09:00
baboso
17c75da27b Added sendpraat and unquoted string directives, simplified demo example, added some other missing functions/directives 2014-06-05 00:45:20 -04:00
baboso
a519520ae7 Removed useless rules, added support for do() syntax 2014-06-04 18:03:55 -04:00
Adam Jimenez
617cd3202a fix "{$this->foo->bar('foobar')}" 2014-06-04 10:39:50 +01:00
José Joaquín Atria
d57e010ca3 Added single number font size changing commands (praat) 2014-06-03 15:10:31 -04:00
José Joaquín Atria
08afa03cb9 Fixed operators and introduced broken lines 2014-06-03 14:32:55 -04:00
Adam Jimenez
32e3ad5966 fix "{$foo['bar']}" 2014-06-03 00:41:47 +01:00
Adam Jimenez
bf9eec6b23 fix "{$foo->bar}"."{$foo->bar($a)}"."{$foo->bar(&$a, $b)}"; 2014-06-02 23:26:59 +01:00
Ruben Daniels
c8483a7ae5 Merge pull request #1988 from ajaxorg/syntax/vala
add vala mode
2014-06-02 09:46:21 +02:00
baboso
df92a99e93 Praat syntax highlighter, first release 2014-06-01 18:27:03 -04:00
nightwing
a7cac9466d add vala mode 2014-06-01 22:54:30 +04:00
baboso
e4355adae7 Initial commit for praat highlighting: based on Perl 2014-05-31 19:51:41 -04:00
nightwing
1c2bc29424 fix selecting with ctrl-alt click 2014-05-28 01:25:18 +04:00
Harutyun Amirjanyan
df6001ca67 Merge pull request #1984 from ylian/master
AppleScript syntax highlighter
2014-05-26 14:23:21 +02:00
Yaogang Lian
066180b248 Fixed comment highlighting in AppleScript highlighter. 2014-05-23 08:05:56 -04:00
nightwing
66866121e9 fix issue with scrolling into view on focus 2014-05-23 14:13:23 +04:00
Zef Hemel
717be26d5d Further improvements to Clojure mode indent. 2014-05-23 09:06:48 +02:00
Yaogang Lian
77ec0af40a AppleScript syntax highlighter 2014-05-22 22:35:04 -04:00
nightwing
d0acc15e67 fix #1973 custom array of autocompleters never used 2014-05-23 00:16:31 +04:00
Harutyun Amirjanyan
bec92e678d Merge pull request #1976 from AMiniLegend/master
Added three new functions for selections:
2014-05-22 21:56:14 +02:00
AMiniLegend
b7eacfb153 Merge pull request #1 from AMiniLegend/selection-features
Selection features updated
2014-05-21 16:42:26 -04:00
AMiniLegend
03eee835df Updated ExpandToLine, JoinLines, and InvertSelection based on feedback. 2014-05-21 16:39:47 -04:00
nightwing
7e2dda1e18 allow tokenizer states with only defaultToken 2014-05-21 20:38:07 +04:00
nightwing
72a509e542 improve ruby outdent 2014-05-21 20:32:34 +04:00
nightwing
4872441bc6 fix vim cc 2014-05-21 20:32:08 +04:00
nightwing
ba93cc6dfa fix tab detection 2014-05-21 20:30:47 +04:00
nightwing
88aed65212 fix home key on folded line 2014-05-21 20:26:13 +04:00
nightwing
9ab12a6ed3 fix ctrl-shift-mousedown 2014-05-21 20:07:07 +04:00
nightwing
4e2d7a41f5 update jshint 2014-05-21 18:16:08 +04:00
Harutyun Amirjanyan
2cb84b3bc3 Merge pull request #1922 from brn/fix-ie7-error
IE7 cause error when accessing the HTMLElement.style.font property.
2014-05-21 14:25:26 +02:00
brn
2d39aca4a7 fix code style. 2014-05-21 09:27:10 +09:00
Lennart Kats
446e497da8 Merge pull request #1965 from ajaxorg/misc
various small fixes
2014-05-20 17:31:50 +02:00
nightwing
473b6958bc Revert "assign key to splitline command on windows (#1956)"
This reverts commit 4329b6a729.
2014-05-20 19:29:20 +04:00
AMiniLegend
470efff782 Changed the name of the "joinSelection" function to "joinlines".
Also changed it's behavior so that when there is no selection, it will join with the next line.
2014-05-18 20:36:06 -04:00
AMiniLegend
8f8410f01b Added three new functions for selections:
expandtoline    - selects the entire line for each line in a selection (newline included)
joinSelection   - joins selected lines into a single space-delimited line
invertSelection - inverts all selected lines
2014-05-18 13:51:46 -04:00
nightwing
5dc93cd627 add r.js demo 2014-05-18 17:12:55 +04:00
Harutyun Amirjanyan
6e82b0a3c3 Merge pull request #1975 from adamjimenez/patch-26
typo
2014-05-17 21:54:05 +02:00
Adam Jimenez
307b947e96 typo 2014-05-17 20:30:56 +01:00
nightwing
739baebbd0 setDefaultHandler was breaking vim mode 2014-05-17 22:09:05 +04:00
Harutyun Amirjanyan
87a4e2666b Merge pull request #1954 from earth2marsh/patch-1
Isolate float regex matching to 1 char for + and -
2014-05-17 12:09:04 +02:00
Marsh Gardiner
05f0b3c7f2 Isolate float regex matching to 1 char for + and -
This prevents highlighting on the "2" in "auth: oauth2". (signing CLA and sending in now)

Now passes tests and also covers .37 case.

… and updated to cover the ++ or -- case.
2014-05-16 15:39:24 -07:00
nightwing
9910c9db32 cleanup 2014-05-17 01:46:45 +04:00
Harutyun Amirjanyan
cf35fbdeec Merge pull request #1971 from devoncarew/devoncarew_rethrow
add the rethrow keyword to the syntax highlighter
2014-05-16 22:06:49 +02:00
Devon Carew
56e2819cdd add the rethrow keyword to the syntax highlighter 2014-05-16 13:02:45 -07:00
Harutyun Amirjanyan
f1e819cd80 Merge pull request #1968 from timothyrenner/master
Fixed matlab syntax highlighting bug.
2014-05-16 21:32:36 +02:00
Timothy Renner
12c6cf1f41 Fixed matlab syntax highlighting bug. 2014-05-15 16:22:53 -07:00
nightwing
4329b6a729 assign key to splitline command on windows (#1956) 2014-05-15 19:59:01 +04:00
nightwing
b6a5e222cd fix Ace on ChromeOS uses wrong keys for Home/End (#1950) 2014-05-15 19:58:03 +04:00
nightwing
ea07bfb4e7 fix highlighting of unicode variables in julia 2014-05-15 14:10:29 +04:00
Adam Jimenez
39fd0e6c42 fix mouse not always changing on first line 2014-05-14 15:08:40 +01:00
Adam Jimenez
8dffbbe200 selection hover improvements
fix issue with wrapped lines and compute only when necessary.
2014-05-14 14:56:57 +01:00
nightwing
2327d155b4 fix autocomplete regression from 80187560 2014-05-14 16:38:50 +04:00
Adam Jimenez
23680b4f7e change mouse cursor when over selection
moved to mouse handler. don't change when dragging or selecting.
2014-05-14 10:30:31 +01:00
Adam Jimenez
449226dac9 Revert "change mouse cursor when over a selection"
This reverts commit b5a1aaebba.
2014-05-14 10:27:37 +01:00
Harutyun Amirjanyan
03d3a725ef Merge pull request #1943 from umop/linking-option
Linking class for firing eclipse-style identifier ctrl + click link events.
2014-05-13 18:54:45 +02:00
Harutyun Amirjanyan
199bc4701d Merge pull request #1960 from ajaxorg/improved-clojure
Slightly improved auto indent for Clojure
2014-05-13 18:44:55 +02:00
Zef Hemel
effcb04a9a Slightly improved auto indent for Clojure 2014-05-13 16:01:23 +02:00
Adam Jimenez
b5a1aaebba change mouse cursor when over a selection
Change mouse cursor to a pointer when hovered over a selection
2014-05-12 17:35:41 +01:00
Harutyun Amirjanyan
8416cfb42a Merge pull request #1955 from wcandillon/patch-2
Fix misspelled enableLiveAutocompletion option
2014-05-12 16:46:27 +02:00
Lennart Kats
669deb54b2 Merge pull request #1952 from ajaxorg/misc
Sync with cloud9 + better demos
2014-05-11 19:13:07 +02:00
William Candillon
d5566938ba Fix misspelled enableLiveAutocompletion option 2014-05-11 14:29:02 +02:00
Eric Arnold
19f1d99a98 Review fixes: Changed mousedown to click and changed event naming to use camelCase. Removed unnecessary exports 2014-05-09 16:30:35 -07:00
Eric Arnold
0582153019 Turned linking.js into extension. Merged linking_handler into linking.js. 2014-05-09 16:24:02 -07:00
Harutyun Amirjanyan
4e9e553436 Merge pull request #1951 from yoloseem/master
Fix broken GitHub ribbon image src.
2014-05-09 15:37:38 +02:00
Hyunjun Kim
e8ee926097 Fix broken GitHub ribbon image src. 2014-05-09 15:13:17 +09:00
nightwing
ace5fd14a2 update index.html 2014-05-05 19:51:38 +04:00
nightwing
efea2a755b cleanup demo html pages 2014-05-05 19:51:37 +04:00
nightwing
ee4bed3db1 fix editor scrolling down automatically when resizing and scrolled past end 2014-05-05 19:51:28 +04:00
Harutyun Amirjanyan
6779345049 Merge pull request #1924 from unional/liveAutocomplete
Improve auto complete
2014-05-05 17:40:47 +02:00
Homa Wong
8018756051 Update regex and condition check according to suggestion 2014-05-04 09:45:12 -07:00
nightwing
feb500c86e fix inserting snippets when multiple selections are present 2014-05-04 17:29:56 +04:00
Lennart Kats
12ef5f9f6b Merge pull request #1940 from ajaxorg/misc
Fix several small issues
2014-05-01 19:17:36 +02:00
Harutyun Amirjanyan
deb4013a13 Merge pull request #1941 from devoncarew/master
add dartdoc indentation handling to the dart mode
2014-04-30 12:38:41 +02:00
Eric Arnold
ca170b5d3d Made and implemented Linking class for tracking eclipse-style identifier ctrl + clicks. Off by default. 2014-04-29 17:15:25 -07:00
Devon Carew
393dc852dc add dartdoc indentation handling to the dart mode 2014-04-29 13:58:24 -07:00
nightwing
0155c67b1f fix more vim issues (fixes #1930) 2014-04-30 00:27:24 +04:00
Harutyun Amirjanyan
225985634e Merge pull request #1938 from hartman/ie7_comma
Fix a trailing comma breaking IE7/8
2014-04-29 20:44:58 +02:00
Harutyun Amirjanyan
1ef6700be7 Merge pull request #1937 from Houfeng/master
put textor on the ace site
2014-04-29 11:49:45 +02:00
Derk-Jan Hartman
b146bbaea0 Fix a trailing comma breaking IE7 2014-04-29 11:36:23 +02:00
Houfeng
68ede367a6 add textor
add textor
2014-04-29 17:29:18 +08:00
Harutyun Amirjanyan
4949e18f00 Merge pull request #1925 from ggoodman/patch-1
Prevent repeat firing of render callback
2014-04-27 14:43:32 +02:00
ggoodman
6db76f92cc Prevent repeat firing of render callback
If either the theme or mode are already cached, callback will be fired more than once.

This is because `config.loadModule` appears to fire its callback synchronously. This means that in the event that the theme is already cached, `waiting` will first be incremented then decremented in the same pass, resulting in `done` being called a first time.

Control will then flow to the `return` statement where waiting is still `0` and so the `callback` will fire a 2nd time.

* Changes *

Instead of changing the semantics of `config.loadModule`, I increment waiting at creation so that it will never fire until at least line #130 (`return` statement).
2014-04-24 15:44:51 -04:00
Homa Wong
54a1060a81 Rename enableLiveAutocomplete to enableLiveAutocompletion to match enableBasicAutocompletion 2014-04-24 00:58:59 -07:00
Homa Wong
163a6a9243 Update text_completer and util to support unicode characters autocomplete.
Update language_tools to support pass in completers at enableLiveAutocomplete and enableBasicAutocomplete so user can further customize the completion behavior.
2014-04-24 00:58:51 -07:00
Homa Wong
9391e0b9bb Fix live auto completion.
Didn't set completers when enabling it.
2014-04-24 00:58:07 -07:00
brn
31c2978ca7 fix IE7 style.font property access.
add ie check.
2014-04-22 11:55:47 +09:00
brn
2566dd74a5 fix style.font property. 2014-04-22 10:56:52 +09:00
Harutyun Amirjanyan
0e3abd3f41 Merge pull request #1920 from cptroot/patch-1
Fix not recognizing `\\` as an escape sequence.
2014-04-21 12:21:37 +02:00
Harutyun Amirjanyan
b2af4389fa Merge pull request #1918 from rmsmith/master
dart_highlight_rules : add `assert` to `keywordControl`
2014-04-21 12:19:46 +02:00
cptroot
5b697f68d1 Fix not recognizing \\ as an escape sequence. 2014-04-20 17:39:48 -07:00
rmsmith
25e70c4430 update tokens_dart.json regarding assert statement 2014-04-20 19:46:28 +03:00
rmsmith
06db67de16 dart_highlight_rules : add assert to keywordControl
"assert" is a reserved word and a statement in the Dart language (as
opposed to a built-in function call) as described in the spec:

https://www.dartlang.org/docs/spec/latest/dart-language-specification.html#h.cb5i0axenow6
2014-04-20 19:22:03 +03:00
nightwing
3631e7f720 Merge branch pull/1915 Fixed hotkeys for changing font size 2014-04-18 14:23:11 +04:00
nightwing
c5689d94ca also enable numpad keys for increaseFontSize 2014-04-18 14:22:23 +04:00
jimmyboh
156ebc0a72 Fixed hotkeys for changing font size (Fixes #1914)
Hotkey for `increaseFontSize` does not work, `+` key should actually be
`=`.
2014-04-17 13:09:13 -04:00
Harutyun Amirjanyan
3b76a2ebef Merge pull request #1911 from nraynaud/patch-1
fix documentation for getCursor
2014-04-16 12:06:35 +02:00
Nicolas Raynaud
ee052c06d3 fix documentation for getCursor 2014-04-15 22:13:59 +02:00
nightwing
d05213cd92 fix #1834 vim mode issues 2014-04-13 20:52:23 +04:00
nightwing
9e182a1de7 tweak js and sh modes 2014-04-13 20:48:38 +04:00
nightwing
14721de01f add findall command 2014-04-13 20:47:06 +04:00
nightwing
0a9dc16f22 revert Makefile.dryice.js broken by 56631344 2014-04-13 20:44:15 +04:00
Harutyun Amirjanyan
993df16bdb Merge pull request #1907 from ajaxorg/dockerfile
Dockerfile
2014-04-13 18:21:00 +02:00
Fabian Jakobs
75bac806b0 always use https 2014-04-13 16:20:02 +00:00
Fabian Jakobs
1bd5b56793 minor fix 2014-04-13 16:16:30 +00:00
Fabian Jakobs
7767efe0f6 fix dockerfile mode 2014-04-13 16:08:45 +00:00
Fabian Jakobs
4d24573946 use wildcard protocol for external resources.
Otherwise we can't serve it over https
2014-04-13 16:07:34 +00:00
nightwing
4d868a046a use correct indent size when expanding snippet at the start of the line 2014-04-11 22:24:59 +04:00
nightwing
f5f2d823b9 Merge remote-tracking branch 'remotes/origin/vim' 2014-04-11 20:47:52 +04:00
nightwing
052559778d Merge branch pull/1851 2014-04-11 20:47:40 +04:00
nightwing
1f33265ba7 fix typo in indenter regexp 2014-04-11 20:46:39 +04:00
Alexander Lourier
187b90dd84 Handle language-switching keystroke gracefully 2014-04-11 18:55:09 +04:00
nightwing
56631344ba Merge remote-tracking branch 'remotes/pull/1874'
Conflicts:
	Makefile.dryice.js
2014-04-11 18:46:54 +04:00
nightwing
cff2aeaeb7 cleanup 2014-04-11 18:43:01 +04:00
nightwing
96145bcd8a fix vim keys don't work in read-only files 2014-04-10 18:17:48 +04:00
Lennart Kats
2a2efb133b Merge pull request #1904 from ajaxorg/small-bugs
fix several small bugs
2014-04-10 13:51:19 +02:00
nightwing
5aba18ea06 fix ie focus issues 2014-04-10 15:11:11 +04:00
nightwing
3296dd7471 allow keys not handled by vim to be handled by default ace keybinding 2014-04-10 14:46:19 +04:00
nightwing
fdf832784f fix #1893 fix highlighting for PHP CJK variable name. 2014-04-10 14:33:37 +04:00
nightwing
d1decf7e13 update tests 2014-04-10 14:03:31 +04:00
nightwing
65003e259a do not highlight <scripts> tag same as <script> 2014-04-10 13:57:21 +04:00
nightwing
91e6abf099 fix #1890 Second cursor after double clicking in IE8 2014-04-10 13:38:06 +04:00
Harutyun Amirjanyan
831f6c9336 Merge pull request #1902 from pjhuck/master
fix for anchor & insertRight behavior
2014-04-10 14:35:45 +05:00
Paul Huck
ce6c0aa84b fix for anchor & insertRight behavior
Do not move the anchor down when it is at column 0 and lines are
inserted at that
2014-04-09 09:46:53 -07:00
nightwing
55886771a9 Merge branch 'tweak-autocomplete' 2014-04-09 18:37:45 +04:00
Fabian Jakobs
23055a2fcf add dockerfile mode 2014-04-09 09:08:14 -04:00
nightwing
4599dc6834 cleanup 2014-04-09 14:25:26 +04:00
nightwing
c3dd9ff510 remove bogus string.regexp highlight rules from java and c# 2014-04-08 22:37:16 +04:00
Harutyun Amirjanyan
32cbb0ffa1 Merge pull request #1900 from danyaPostfactum/miscfixes
Miscellaneous fixes
2014-04-08 23:11:03 +05:00
DanyaPostfactum
f39f16e12f Fix cut/copy in Firefox (setData() may return nothing). 2014-04-08 14:23:47 +10:00
DanyaPostfactum
df68336921 Fix bug of tooltipFollowsMouse option with folded text. 2014-04-08 14:23:38 +10:00
DanyaPostfactum
0d6eb5b718 Fix jump to last item in completer popup. 2014-04-08 14:23:16 +10:00
William Candillon
b67caa1163 Disable Tab command binding for autocomplete (incompatible with live autocomplete) 2014-04-05 23:31:20 +02:00
William Candillon
a05b84f4df Bug fix 2014-04-05 22:38:23 +02:00
William Candillon
a7297de55f Update autocomplete to handle custom identifier regexprsw 2014-04-05 20:16:02 +02:00
Harutyun Amirjanyan
7fc47d77a3 Merge pull request #1894 from 28msec/master
XQuery & JSONiq mode refactoring
2014-04-05 18:10:38 +05:00
William Candillon
e87dfcce7a Minor JSONiq mode refactoring 2014-04-04 21:01:54 +04:00
William Candillon
6c38e136c1 Update xqlint version 2014-04-04 21:01:51 +04:00
William Candillon
cbd66efbf3 Bug fix 2014-04-04 21:01:50 +04:00
William Candillon
5b93b1d51a Update xqlint version 2014-04-04 21:01:50 +04:00
William Candillon
2119154050 Update to xqlint master branch. 2014-04-04 21:01:48 +04:00
William Candillon
1c2e388c24 Update xqlint build
Conflicts:
	tool/update_deps.js
2014-04-04 21:01:47 +04:00
William Candillon
d6d3f0b384 Update Query worker. 2014-04-04 21:01:21 +04:00
William Candillon
431facf08b Update code snippets
Conflicts:
	lib/ace/snippets/jsoniq.snippets
	lib/ace/snippets/xquery.snippets
2014-04-04 21:00:50 +04:00
William Candillon
3c13b4bf33 Bug fixes 2014-04-04 20:59:29 +04:00
William Candillon
ea532e41bf Update xqlint with code completion 2014-04-04 20:59:28 +04:00
William Candillon
4e23984ddb Bug fixes 2014-04-04 20:59:28 +04:00
William Candillon
f37899463f Update JSONiq code snippets 2014-04-04 20:59:28 +04:00
William Candillon
34f34bb591 Bug fixes 2014-04-04 20:59:28 +04:00
William Candillon
8645e67f42 Update XQLint version 2014-04-04 20:59:27 +04:00
William Candillon
f6faeb3547 Add JSONiq & XQuery code snippets 2014-04-04 20:59:22 +04:00
nightwing
a188ac7fa6 fix regression for autocomplete with empty prefix 2014-04-02 00:03:53 +04:00
Lennart Kats
3f6e2aded9 Merge pull request #1846 from ajaxorg/old_browser_compatibility
Fix old browser compatibility issues
2014-04-01 12:49:47 +02:00
Lennart Kats
bb10f4661d Merge pull request #1885 from ajaxorg/update_deps
update saxparser and jshint
2014-04-01 12:11:43 +02:00
nightwing
9c53d96c12 fix #1847 tab doesn't work for invalid css when emmet is enabled 2014-03-31 20:34:34 +04:00
nightwing
5ef28b7e11 fix #1888 csslint worker gives error for empty file 2014-03-31 20:33:35 +04:00
nightwing
dcd96294f7 update csslint 2014-03-31 20:23:45 +04:00
nightwing
bb55802197 update require.js 2014-03-31 20:02:13 +04:00
nightwing
ec97ad7904 Merge remote-tracking branch 'remotes/origin/master' into v-1.2
Conflicts:
	build
	lib/ace/document.js
2014-03-31 00:49:41 +04:00
Harutyun Amirjanyan
90a21c012c Merge pull request #1883 from wcandillon/patch-1
Fix Range resolution
2014-03-30 19:58:13 +05:00
nightwing
8d45a2d209 update saxparser and jshint 2014-03-30 18:53:52 +04:00
William Candillon
02cf485055 Fix Range resolution 2014-03-30 00:55:22 +01:00
Harutyun Amirjanyan
207adf8eba Merge pull request #1734 from danyaPostfactum/refactor/htmlmode
HTML mode modification, completer auto activation feature
2014-03-26 17:46:13 +04:00
Aaron O'Mullan
9062f4fe40 Remove unused mode/xml_util.js 2014-03-23 20:10:44 -07:00
nightwing
362a69228b fix typo 2014-03-23 18:56:39 +04:00
nightwing
fbc5460320 Merge branch 'fix-markdown-highlighting' 2014-03-23 17:36:38 +04:00
Garen Torikian
a4921fe7ce Fix GFM blocks within lists 2014-03-23 17:35:00 +04:00
nightwing
a573fa3dec Merge branch 'beautify' 2014-03-23 17:31:29 +04:00
nightwing
ef3262143a reorganize beautifier addon 2014-03-23 17:30:39 +04:00
Adam Jimenez
180fa0c4cb Beautify
Beautify based on Ace tokenizer
2014-03-23 15:22:56 +04:00
nightwing
d76e3e29c6 Merge remote-tracking branch 'remotes/pull/1866' 2014-03-23 15:20:15 +04:00
nightwing
f00f2bfc40 Merge remote-tracking branch 'remotes/origin/fix-special-keys' 2014-03-23 15:19:42 +04:00
nightwing
79f619364a clenup 2014-03-23 15:19:24 +04:00
Zef Hemel
372b5409fa Reordered keys 2014-03-22 17:51:02 +01:00
Zef Hemel
00305167a2 Make they Ctrl/Alt/Command-= and - key combos work (on Chrome). 2014-03-22 17:46:26 +01:00
nightwing
26f96c0ea2 Merge remote-tracking branch 'remotes/origin/autocomplete-async-fix'
Conflicts:
	lib/ace/autocomplete.js
2014-03-21 15:36:08 +04:00
nightwing
8e5bdc512c Merge remote-tracking branch 'remotes/pull/1789'
Conflicts:
	lib/ace/autocomplete.js
2014-03-21 15:35:04 +04:00
Harutyun Amirjanyan
91bc4b82d7 Merge pull request #1824 from buildersbrewery/master
updated LSL syntax and made LSL snippets work
2014-03-21 15:00:59 +04:00
Lennart Kats
65822b59fe Merge pull request #1865 from ajaxorg/autocomplete-noselect
Add autoSelect option to auto completion
2014-03-20 15:59:46 +01:00
Zef Hemel
750e53fab2 Now with space after the if 2014-03-20 15:31:02 +01:00
Zef Hemel
31a32f2659 Fixes asynchronous autocompleter prefix updating
Before it could happen (if an async autocompleter returned late) that
the prefix used in the autocomplete was out of date. This fixes that.
2014-03-20 15:27:51 +01:00
Builders Brewery
d03c0957b4 fix character escapes 2014-03-19 17:03:03 +01:00
Builders Brewery
f4613206be revert to old string regex 2014-03-19 16:39:00 +01:00
Harutyun Amirjanyan
408b9c527b Merge pull request #1868 from adamjimenez/patch-24
missing bitwise xor function
2014-03-19 15:53:54 +04:00
Adam Jimenez
de51e72a3c missing bitwise xor function
Fixes error:
```
[object Object] has no method 'Node_Expr_BitwiseXor' 
```

Which results from using xor e.g:
```
error_reporting(E_ALL ^ E_NOTICE);

also reported to phpjs project:
https://github.com/niklasvh/php.js/pull/48
2014-03-18 16:01:33 +00:00
Derk-Jan Hartman
46da3132a2 Make sure the CORS blobworker loads absolute URLs
The only situation where this is really needed, is if the workerURL is
protocol relative, since we only end up in this situation if workerurl
is on a different server to begin with.
2014-03-17 23:10:24 +01:00
Zef Hemel
21ee784ca1 Add autoSelect option to auto completion
By setting this to `false` no completion will be selected by default and
pressing `Return` will simply insert a new line, rather than the first
match.
2014-03-17 11:38:16 +01:00
Zef Hemel
0bc7f518ad Merge pull request #1858 from robru/invisible_granularity
Increase granularity of invisible character classes.
2014-03-16 15:35:19 +01:00
DanyaPostfactum
a0bf93679d Fix <CR><LF> handing in highlight_rules_test.js 2014-03-16 00:33:26 +10:00
DanyaPostfactum
1f72461ada Modify xml highlight rules (add "xml" suffix to tokens) 2014-03-16 00:33:09 +10:00
Robert Bruce Park
5705c067fe This should just about fix that. 2014-03-14 22:40:00 -07:00
Robert Bruce Park
6594a3fe55 Fix more CI failures. 2014-03-14 22:32:31 -07:00
Robert Bruce Park
a4b27cbc3a Resolve some CI failures. 2014-03-14 22:26:05 -07:00
Robert Bruce Park
dc87483936 Increase granularity of invisible character classes. 2014-03-14 22:14:45 -07:00
Harutyun Amirjanyan
b04c07b448 Merge pull request #1848 from LivelyKernel/markdown-comment-fix
markdown mode comment fix
2014-03-13 19:48:08 +04:00
Harutyun Amirjanyan
8b950c1121 Merge pull request #1849 from LivelyKernel/emacs-fixes-2014-03-12
Emacs fixes 2014 03 12
2014-03-13 19:46:08 +04:00
nightwing
8cdb16659d fix #1843 Double click to select word does not work for Qt QWebView 2014-03-13 19:42:05 +04:00
Weihang Fan
59c392042a Fixed auto-indent for switch statements. 2014-03-13 19:10:19 +08:00
Weihang Fan
88829fbee7 Add auto-indent in CoffeeScript for if, for, while, and loop statements. 2014-03-13 12:23:21 +08:00
Robert Krahn
12343e0e6f isearch: fixing isearch onpase 2014-03-12 06:38:39 -07:00
Robert Krahn
c8b63ee977 isearch: recenterTopBottom 2014-03-12 06:38:37 -07:00
Robert Krahn
58404df349 isearch: now supports yanking, and killing text from edit buffer 2014-03-12 06:38:32 -07:00
Robert Krahn
3b7569542f fixing emacs key handler when key code == -1 (this can happen with the
change introduced in #5e2c5f4)
2014-03-12 06:38:30 -07:00
Robert Krahn
08d2ebb5b2 occur: fix emacs line start 2014-03-12 06:38:22 -07:00
Robert Krahn
6f8035f710 markdown mode comment fix 2014-03-12 05:55:54 -07:00
nightwing
498af4aab8 better fix for Array.slice on ie8 2014-03-12 12:48:00 +04:00
nightwing
5689573170 fix tests 2014-03-12 03:41:04 +04:00
nightwing
c72617b033 fix sticky selection if editor loaded into iframe 2014-03-12 03:34:52 +04:00
nightwing
6e14e92912 fix #1751 sticky selection on in IE11 2014-03-12 03:24:14 +04:00
nightwing
09d6741a02 fix clipboard on old webkit versions 2014-03-12 02:42:47 +04:00
nightwing
051128c16f restore ie8 compatibility 2014-03-12 01:12:34 +04:00
nightwing
6c235fee7d release 1.1.3 2014-03-08 17:33:18 +04:00
Lennart Kats
86e7a49666 Merge pull request #1828 from ajaxorg/c9
Update Ace and fix several small issues
2014-03-06 15:46:22 +01:00
nightwing
3166b3fb90 fix #1836 html worker logs a lot of unable to load 2014-03-03 15:24:39 +04:00
nightwing
96184bda23 fix zed icon 2014-02-26 23:45:33 +04:00
Harutyun Amirjanyan
0431f2dafb Merge pull request #1830 from yury/patch-1
Indent after `module` keyword
2014-02-26 23:39:23 +04:00
nightwing
c1011ca875 fix worker build 2014-02-26 17:29:32 +04:00
Yury Korolev
d8c05b5138 Indent after module keyword 2014-02-24 22:12:21 -08:00
nightwing
a9117a4aee define('ace/ace') needs to be at the end of ace.js
fixes https://github.com/ajaxorg/ace-builds/issues/15
2014-02-23 17:21:02 +04:00
nightwing
07c7c86944 fix #1827 setScrollMargin Breaks Multiple Selection When Margin is Greater Than 0 2014-02-23 12:02:45 +04:00
Harutyun Amirjanyan
bfba4f1efd Merge pull request #1826 from devoncarew/master
remove yaml comment syntax highlighting - it's too aggressive
2014-02-22 23:00:56 +04:00
devoncarew@google.com
56a00f3fa0 remove yaml comment syntax highlighting - it's too aggressive 2014-02-22 09:54:37 -08:00
nightwing
306e918920 fix #1825 editor created with showGutter=false cannot later show gutters 2014-02-21 22:38:42 +04:00
nightwing
45311cda45 fix #1808 show different different indicators for LF and CRLF 2014-02-21 22:30:47 +04:00
Harutyun Amirjanyan
08454b7ecb Merge pull request #1815 from jbrazeau/patch-1
Patch proposal for IE11 compatibility issue
2014-02-21 22:28:12 +04:00
nightwing
3694a02532 do not copy "ace/ace" when setting as global 2014-02-21 22:08:35 +04:00
nightwing
9c80485d91 allow setting editor session to null 2014-02-21 22:08:35 +04:00
nightwing
5783bae058 add event.getModifierString to convert hash into readable string 2014-02-21 22:08:35 +04:00
nightwing
42a368ed02 add selection.moveTo 2014-02-21 22:08:35 +04:00
nightwing
4a80bd7b3d fix cstyle behavior in multicursor mode 2014-02-21 22:08:35 +04:00
nightwing
6e9c9417fc cleanup 2014-02-21 22:08:35 +04:00
nightwing
f352165725 move text measuring into separate module 2014-02-21 22:08:35 +04:00
nightwing
f4d1dc7c13 create wrap data lazily 2014-02-21 22:08:34 +04:00
nightwing
316bb55f17 fix inserting long text 2014-02-21 22:08:34 +04:00
Builder's Brewery
32191f128b working on invalid escape chars 2014-02-20 08:56:39 +01:00
Builder's Brewery
2be1a5a3d3 trying to fix regex for invalid escape chars 2014-02-20 08:47:18 +01:00
Harutyun Amirjanyan
89c6609e97 Merge pull request #1823 from trinketapp/master
add missing backslash
2014-02-19 22:41:39 +04:00
Builder's Brewery
102de76b68 changed regex order 2014-02-18 17:33:52 +01:00
Builder's Brewery
b9d16078f7 fix lsl string - part two 2014-02-18 17:27:05 +01:00
Builder's Brewery
4e4d8a553b fix lsl string - part one 2014-02-18 17:22:47 +01:00
Builder's Brewery
a2cc97b34b fix lsl test 2014-02-18 16:24:35 +01:00
Builders Brewery
2b77b9ec8b updated LSL syntax 2014-02-18 16:04:54 +01:00
Ben Wheeler
f531569824 add missing backslash
escape the backslash in the fenced code block regexp
2014-02-18 09:36:54 -05:00
Harutyun Amirjanyan
e5edb59d00 Merge pull request #1820 from Cirru/master
fix dollar; add comma syntax
2014-02-18 13:25:20 +04:00
Harutyun Amirjanyan
a87b9e4dbc Merge pull request #1822 from trinketapp/master
Allow arbitrary language names in gfm fenced blocks
2014-02-18 13:24:40 +04:00
Benjamin Wheeler
e672469923 Updated markdown fenced blocks to allow more liberal language names 2014-02-17 22:36:44 -05:00
Benjamin Wheeler
7439993b1a Allowed . in markdown language blocks
Updated markdown highlighter to allow stuff like ```python.run
2014-02-17 16:33:05 -05:00
jiyinyiyong
080596e6a1 fix dollar; add comma syntax 2014-02-16 23:49:54 +08:00
nightwing
27b6d6dcd3 apply arguments max length also includes actual call stack 2014-02-15 00:20:10 +04:00
nightwing
6b60bcbbd6 continue refactoring 2014-02-14 23:52:59 +04:00
nightwing
46f3d77068 simplify apply_delta.js 2014-02-14 22:33:30 +04:00
nightwing
c8d1df203e restore single line delta optimization in anchor.js 2014-02-14 22:32:51 +04:00
nightwing
4299db01bd remove delta.range 2014-02-14 22:32:31 +04:00
nightwing
b5af2c898c Merge remote-tracking branch 'remotes/origin/master'
Conflicts:
	lib/ace/document.js
	lib/ace/editor.js
	lib/ace/undomanager.js
2014-02-14 18:23:03 +04:00
Harutyun Amirjanyan
e4cfb47ae1 Merge pull request #1782 from pnevels/master
add Gherkin highlighting support
2014-02-14 15:15:13 +04:00
nightwing
927bf936da #1429 remove bidi-override 2014-02-14 12:13:42 +04:00
nightwing
3bed18be1d restore other demo files 2014-02-12 23:32:02 +04:00
Thaddee Tyl
a6ece4cbfa rename AsciiDoc demo. 2014-02-12 23:24:42 +04:00
nightwing
5e3c3b660b revert AsciiDoc demo deletion 2014-02-12 23:13:48 +04:00
Harutyun Amirjanyan
7981e0ca6c Merge pull request #1813 from 1ec5/patch-1
Fixed passing non-Ranges into Document methods
2014-02-12 20:21:32 +04:00
jbrazeau
8ba0cd91be Fix : for UIE11, regexp must also consider Trident string 2014-02-12 15:31:43 +01:00
Jean-Francois Brazeau
7a8a799c26 Update useragent.js
Patch proposal for https://github.com/ajaxorg/ace/issues/1814 (IE11 compatibility issue)
2014-02-12 15:05:53 +01:00
Minh Nguyễn
3eefd3365a Fixed passing non-Ranges into Document methods
Fixed regression from b23265ad: ! takes precedence over instanceof.
2014-02-12 03:48:42 -08:00
Lennart Kats
ffc9cec9ef Merge pull request #1809 from ajaxorg/c9
Add smarty mode and fix several small bugs
2014-02-12 11:21:41 +01:00
nightwing
68096ff38d run extension files automatically 2014-02-11 20:40:31 +04:00
nightwing
9db70f0351 add block comment for sql 2014-02-11 20:22:08 +04:00
nightwing
471e9c6d40 fix typo 2014-02-09 17:34:25 +04:00
Aaron O'Mullan
297c05831e Fix minor typo in enableLiveAutocomplete 2014-02-08 02:18:52 +01:00
Aaron O'Mullan
889e9248f8 Cancel out unwanted editor's css for autocomplete dialog 2014-02-08 01:47:01 +01:00
Aaron O'Mullan
e06a14ab92 Revert "Remove autocomplete shadow from ambiance theme"
This reverts commit 0e256ce80d.
2014-02-08 01:38:24 +01:00
Aaron O'Mullan
f7be399bd2 Add "enableLiveAutocomplete" option
This makes live autocomplete optional and is not tied to
“enableBasicAutocomplete” anymore

This also renames “onChangeAutocomplete” to “doLiveAutocomplete”
2014-02-08 01:01:30 +01:00
Aaron O'Mullan
cbbbf1c539 Fix bug and clarify async autocomplete result gathering
@SamyPesse’s “left: total - (i + 1)” was flawed because it only would
work if all completers were async
2014-02-08 00:50:50 +01:00
Aaron O'Mullan
c52278a64e Cleanup autocomplete.js
Consistently use .bind(this) instead of that = this
2014-02-08 00:32:16 +01:00
Harutyun Amirjanyan
aab8b7f7a8 Merge pull request #1805 from creationix/master
Two tiny fixes I made while working on Tedit
2014-02-07 21:14:52 +01:00
Tim Caswell
a8ba1e06d9 Fix syntax error in kuroir.css
This bad line was breaking my css parser.

Workaround in my code: 079741c477/src/applytheme.js (L66-L67)
2014-02-07 13:08:35 -06:00
Tim Caswell
0f9bcfbc7d Fix out-of-range error when parsing certain files.
An example file that breaks on this is b2f8bf1e74/kitchen-sink/demo.js (L1000)
2014-02-07 13:05:43 -06:00
nightwing
7cff8e7cff Merge pull request 1542 'Add worker to the html mode' 2014-02-07 01:54:55 +04:00
nightwing
8ccb0e6fda disable worker for non html modes, make doctype message info 2014-02-07 01:52:26 +04:00
nightwing
eac48f5190 fix broken python snippet 2014-02-06 00:19:41 +04:00
nightwing
4795261b94 fix infinite loop when inserting snippet with self referencing tabstop
fixes #1802
2014-02-06 00:13:52 +04:00
nightwing
42f274a42c update smarty mode 2014-02-05 23:59:17 +04:00
Aaron O'Mullan
0e256ce80d Remove autocomplete shadow from ambiance theme
This fixes a regression caused by the newly introduced feature allowing
autocomplete theming
2014-02-05 20:26:40 +01:00
Aaron O'Mullan
e76a389e88 Clarify typing condition in live autocomplete 2014-02-05 20:10:20 +01:00
nightwing
99f49fdc49 add smarty mode 2014-02-05 22:06:15 +04:00
nightwing
31e1a2d1f3 improve php variable regexp 2014-02-05 21:24:03 +04:00
nightwing
0eb2b74a66 fix #1795 PHP variables that begin with an underscore are not highlighted 2014-02-04 02:41:21 +04:00
Zef Hemel
2cf93d936e Update autocomplete.js
Unsubscribe blurListener callback instead of onChange listener in auto complete.
2014-02-03 17:19:56 +01:00
Samy Pessé
c36fac3a94 Improve autocomplete results display and filtering
Autocomplete: Display unique results when it's a snippet

Fix autocomplete popup display

Remove listener for afterExec when enableBasicAutocompletion change

Fix autocomplete detach when no results are ready from the first completer

Remove condition from detach
2014-02-03 12:32:14 +01:00
Samy Pessé
09b9348852 Improve autocomplete support for async completers 2014-02-03 12:31:21 +01:00
nightwing
1e46543b05 fix error marker column 2014-02-01 04:18:46 +04:00
nightwing
9cbcfb35d3 use _signal where possible 2014-02-01 04:11:56 +04:00
nightwing
750d38af6f Merge commit 'b54d268a72' 2014-02-01 04:06:57 +04:00
nightwing
b54d268a72 fix typo 2014-02-01 04:06:31 +04:00
Samy Pessé
110eb26f96 Use event afterExec instead of change for live autocomplete 2014-01-31 15:18:45 +01:00
Ruben Daniels
7dc4bddae9 Merge pull request #1793 from ajaxorg/misc
misc bugfix
2014-01-31 03:13:15 -08:00
nightwing
2246da0021 fix infinite loop when using ace with polymer 2014-01-30 22:55:40 +04:00
nightwing
3dc20b0824 update highlighter tests 2014-01-30 22:25:52 +04:00
nightwing
af16d9ca54 fix #1757 Merged undos don't decrement dirtyCounter correctly 2014-01-30 22:01:02 +04:00
nightwing
07ef6a115c fix #1776 c_cpp mode syntax highlighting 2014-01-30 21:49:24 +04:00
nightwing
abb1e4703b add showLineNumbers fixes #1755, #892 2014-01-30 21:44:36 +04:00
nightwing
f6983739e9 fix bug with scrollMargin and maxLines 2014-01-30 21:44:36 +04:00
nightwing
36c6fcc9d4 fix scrolling error widget into view 2014-01-30 21:44:36 +04:00
nightwing
f3af20aa15 fix #1775 Horizontal scrollbar is not resizing when typing 2014-01-30 21:44:17 +04:00
nightwing
eafe6a7997 fix gutter is too short when hor scrollbar is visible 2014-01-30 21:43:53 +04:00
nightwing
048d9589c7 remove slow cursor[style*] css rule 2014-01-30 21:24:04 +04:00
nightwing
5e2c5f4e0a fix two way mapping of keys 2014-01-30 21:24:04 +04:00
nightwing
21bd4a15fa fix diagonal resizing 2014-01-30 21:24:04 +04:00
nightwing
4ed6afc829 convert autoScrollEditorIntoView into preoper option 2014-01-30 21:24:04 +04:00
nightwing
cd12b25ea6 cleanup 2014-01-30 21:23:48 +04:00
nightwing
9253fffb9f allow modifying pasted text from paste event 2014-01-30 20:54:41 +04:00
nightwing
54ad13847a fix ejs highlighting 2014-01-30 20:51:30 +04:00
nightwing
7a92c174eb fix findall 2014-01-30 20:50:56 +04:00
nightwing
0c03302a6d allow textinput to work with hosts not supporting textcomposition 2014-01-30 20:50:37 +04:00
nightwing
75e41746e6 alllow functions as argument to addKeyboardHandler 2014-01-30 20:49:38 +04:00
nightwing
baa0c28e69 remove color from ace_editor class 2014-01-30 20:48:37 +04:00
nightwing
ca41480c72 add scrollIntoView to all commands 2014-01-30 20:46:47 +04:00
Harutyun Amirjanyan
625173182d Merge pull request #1791 from willnorris/license
update license of more files from RStudio to BSD
2014-01-29 11:04:55 -08:00
Will Norris
b4418d2ffd update license of more files from RStudio to BSD
It appears these were simply missed in the original license change
(ajaxorg/ace#1622).  Discussion on that pull request confirms that these
should have been included.
2014-01-29 10:54:16 -08:00
Patrick Nevels
5223d19e3f added license to files 2014-01-28 21:45:28 -06:00
Patrick Nevels
7d3fdc00b0 replaced tokenizer with highlightrules 2014-01-28 21:27:26 -06:00
Harutyun Amirjanyan
00b3beae30 Merge pull request #1780 from Cirru/master
Add Cirru highlighting
2014-01-28 11:22:05 -08:00
Samy Pessé
df99195544 Set default theme for autocomplete popup 2014-01-28 15:49:53 +01:00
Samy Pessé
f9fcf49c66 Apply editor theme to autocomplete popup 2014-01-28 15:47:12 +01:00
Aaron O'Mullan
98dc63cce4 Close auto magic complete when prefix is empty
While removing text
2014-01-28 11:37:43 +01:00
jiyinyiyong
ee5ac2a0f2 add license block 2014-01-28 10:14:02 +08:00
Aaron O'Mullan
c4012ebd46 Don't autoInsert with auto magic completer
This caused completions to be inserted without ever being shown, if
they were the only completion for the prefix entered.
2014-01-28 02:14:23 +01:00
Aaron O'Mullan
af1aab40f5 Enable auto magic complete only when typing
We only want to auto magically complete when the user is typing text,
not when text is pasted or being removed.
2014-01-28 01:43:12 +01:00
Aaron O'Mullan
afd9c99da2 Don't attach/detach autocomplete on change if already attached/detached 2014-01-28 01:24:08 +01:00
Aaron O'Mullan
07c99e0541 Fix: skip auto magic completion when pasting
This can some times cause confusing behavior.

A paste is any text insertion of more than one character at a time …
2014-01-28 00:52:55 +01:00
Abram Adams
33cf210180 Fixed regex to match beginning of tag name 2014-01-27 10:21:45 -08:00
nightwing
af09dc7f05 Merge remote-tracking branch 'remotes/origin/master' 2014-01-27 21:40:01 +04:00
nightwing
a206535596 cleanup user list 2014-01-27 21:38:54 +04:00
nightwing
300dc660e9 fix merge conflict 2014-01-27 21:22:49 +04:00
Aaron O'Mullan
2bf673c41d Add auto magic complete (complete while typing) 2014-01-27 18:21:42 +01:00
nightwing
f2da76daaf Merge remote-tracking branch 'remotes/pull/1758' 2014-01-27 21:15:16 +04:00
Harutyun Amirjanyan
58caaad6a5 Merge pull request #1784 from rgallion/Fix_Issue_1783
Fixes #1783
2014-01-26 10:48:21 -08:00
Roger Gallion
e751389d38 Fixes #1783 2014-01-26 09:01:30 -06:00
Patrick Nevels
68f46ff7ef add tags to the demo 2014-01-25 20:06:40 -06:00
Patrick Nevels
d44c8080bf make demo more expressive 2014-01-25 20:03:49 -06:00
Patrick Nevels
2428de10ed add Gherkin highlighting 2014-01-25 19:32:40 -06:00
Patrick Nevels
c5f58503fe added Gherkin highlighting support 2014-01-25 19:19:57 -06:00
DanyaPostfactum
3d71b01022 Add worker to the html mode
This adds syntax checking (not validating). Based on HTML5 @aredridel parser
2014-01-26 02:40:26 +10:00
Abram Adams
142fc79c97 Fixed token name and added to self-closing tags list 2014-01-23 09:43:39 -08:00
jiyinyiyong
cd506ca7ad add Cirru syntax highlighting 2014-01-23 16:40:38 +08:00
Abram Adams
73fb35e63c Added cfml behaviour with smart auto closing tags
This adds the behaviours for ColdFusion Markup Language (CFML) back in
with the addition of exceptions for auto-closing tags.
2014-01-22 15:38:52 -08:00
Harutyun Amirjanyan
811d63039d Merge pull request #1778 from rmsmith/master
Add missing `$id` to those Modes that are missing it.
2014-01-22 13:57:07 -08:00
rmsmith
6e1aefff56 Add missing $id to those Modes that are missing it.
I've found that the set of modes in this PR did not set their `$id`.
The side-effect of that is that when one of these modes is the current
mode of an EditSession, and one calls `session.getOption('mode')` the
returned value was incorrect.  It goes up the prototype chain so you'd
get something like 'ace/mode/text' or 'ace/mode/html' in most cases.

This fixes that so that if, for example, the mode is set to
'ace/mode/django', the value returned by the option will be
'ace/mode/django'
2014-01-21 09:41:15 +02:00
Harutyun Amirjanyan
5abba7d32c Merge pull request #1772 from hartman/lua_self
Lua uses self, not this
2014-01-17 10:43:27 -08:00
Harutyun Amirjanyan
dc95d03bd6 Merge pull request #1738 from danyaPostfactum/refactor/datauri
Optimize css images (reduce filesize)
2014-01-17 10:37:33 -08:00
Derk-Jan Hartman
93c14b1b31 Update testcase for lua self 2014-01-17 11:56:15 +01:00
Derk-Jan Hartman
ab1b62fbb7 Lua uses self, not this
There is no 'this' in lua. There is however 'self' a predefined parameter when using colon syntax for calling a function.

http://www.lua.org/pil/16.html
2014-01-17 11:16:50 +01:00
nightwing
ff88d5aa8d Merge pull request #1761 from hartman:cors_worker
Use shim blob with importScripts to use CORS for Worker
2014-01-16 20:36:56 +04:00
nightwing
9e71e4a003 cleanup 2014-01-16 19:35:48 +04:00
nightwing
c8fca3053c Merge remote-tracking branch 'remotes/origin/master'
Conflicts:
	lib/ace/line_widgets.js
2014-01-16 00:14:34 +04:00
nightwing
8d57d8765f Merge pull request #1745 aldendaniels:master into v-1.2
Refactor document delta handling
2014-01-16 00:11:00 +04:00
DanyaPostfactum
90f3f32fb1 Optimize css images (reduce filesize) 2014-01-16 00:29:51 +10:00
Eric Arnold
66f615ba94 Merge branch 'master' of https://github.com/ajaxorg/ace into stationary_tooltip_option 2014-01-14 17:11:27 -08:00
Eric Arnold
be0d187a60 Review changes 2014-01-14 17:10:44 -08:00
Harutyun Amirjanyan
ac99690429 Merge pull request #1760 from adamjimenez/patch-21
shift+mousewheel to horiz scroll
2014-01-14 07:26:00 -08:00
Harutyun Amirjanyan
00f044d0cf Merge pull request #1764 from rgallion/Issue_1762_Add_Vim_unit_tests
Add Vim keybinding unit test [Issue 1762]
2014-01-14 06:45:20 -08:00
Harutyun Amirjanyan
177e0af9eb Merge pull request #1707 from danyaPostfactum/refactor/tooltip
Refactor tooltip to separate class.
2014-01-14 06:38:28 -08:00
Roger Gallion
0ab6574521 Add Vim keybinding unit test [Issue 1762] 2014-01-13 08:27:14 -06:00
Derk-Jan Hartman
f779c2e8c5 Use shim blob with importScripts to use CORS for Worker 2014-01-13 11:09:26 +01:00
Adam Jimenez
fb233da532 shift+mousewheel to horiz scroll
Converts shift+mousewheel to horizontal scroll.
This is in accordance with Chrome which supports this shortcut on webpages and textareas.
2014-01-13 09:46:53 +00:00
aldendaniels
7f1bc7af2f Break out Anchor.onChange helper functions
This should be faster since we don't have to re-initialize the helper
functions each time Anchor.onChange is fired.
2014-01-11 15:48:38 -06:00
aldendaniels
6b280bf6bb Code review fixes (mostly formatting)
- Fix unconventional '{' formatting
- Reformat `UndoManager` changes
- Revert change from `insertInLine` to `insert` in text.js
2014-01-11 15:23:20 -06:00
aldendaniels
35a27fd1ba Treat deltas with empty ranges as NOOPs 2014-01-11 14:45:08 -06:00
aldendaniels
ddd695ee3f Store single-line deltas as .text instead of .lines in undo history
Stores single-line delta content as .text instead of .lines in undo
history. This is done without modifying the original delta object in
case the caller still retains a handle to the original.
2014-01-11 14:43:47 -06:00
aldendaniels
f59708a5ba Add a doNotValidate param to applyDelta
Set it to true in insertInLine/removeInLine.

Also sped up indent/dedent by using insertInLine and removeInLine.
2014-01-11 12:00:10 -06:00
aldendaniels
ef0e8da522 Fix / complete validateDelta
This uncovered the fact that until now delta.range had not always been a
Range object. This inconsistency has been resolved by my changes in
mirror.js.
2014-01-11 11:20:34 -06:00
aldendaniels
08edcdfc98 Stop doing a line-by-line splicing in applyDelta
Also brings back the functionality where large deltas are split into
smaller deltas so that .splice.apply() calls will work.
2014-01-10 22:49:17 -06:00
Eric Arnold
e9434fc1df Added option for annotation tooltip to be floating (follows mouse, current functionality) or fixed (stationary per annotation). 2014-01-09 13:29:51 -08:00
nightwing
d226ea067b update site 2014-01-10 00:11:00 +04:00
aldendaniels
3a048cdf61 Bring back insertInLine
Avoids an extra $split call.
2014-01-08 22:51:39 -06:00
aldendaniels
f2a2e4e1a8 Rename the 'delete' delta action to 'remove'
Matches previous naming convention.
2014-01-08 22:18:05 -06:00
aldendaniels
6fe381f633 Rename insertText back to insert 2014-01-08 22:00:11 -06:00
aldendaniels
91df7cd663 Revert "Stop using splice.appy() in ace"
This reverts commit 8624ab8dcb.
2014-01-08 21:39:30 -06:00
nightwing
ce329df39b update the site 2014-01-08 03:14:35 +04:00
nightwing
142761d86f fix regression in { pairing 2014-01-07 23:03:32 +04:00
nightwing
30a4d12eb7 fix ascii filter in builder 2014-01-07 23:01:10 +04:00
Zef Hemel
b79cb61861 Update LogiQL highlighting: add alias_all storage type 2014-01-07 17:54:33 +01:00
Harutyun Amirjanyan
5b3e1ca29d Merge pull request #1750 from rmsmith/master
dart_highlight_rules : add 'with' to `keywordDeclaration`
2014-01-04 05:50:00 -08:00
aldendaniels
8624ab8dcb Stop using splice.appy() in ace
Since .apply() can't handle more than 65535 parameters, splice.apply()
is brittle. It's also hard to read. This replaces splice.apply() calls
throughout ace code with lang.spliceIntoArray().
2014-01-04 01:59:30 -06:00
aldendaniels
b503e65e03 Break on applyDelta into its own module
This makes it possible to break out helper functions without exposing
them to the rest of the document class. Also, long term, we may want to
have a stand-alone test suite for applyDelta, so it makes sense in its
own file.

All other changes involve syntax corrections (some syntax issues were
mine, others pre-existed) to make the documentation compilation work.
2014-01-03 14:59:22 -06:00
rmsmith
c40bf3b172 dart_highlight_rules : add 'with' to keywordDeclaration
'with' clauses are used for mixin application in Dart, e.g:

`class ToggleButton extends Button with Toggleable { ... }`
2014-01-03 21:04:23 +02:00
Ruben Daniels
5733f006a8 Merge pull request #1740 from ajaxorg/c9
sync with cloud9
2014-01-02 11:01:42 -08:00
Harutyun Amirjanyan
7bcf64401f Merge pull request #1747 from hartman/themelistfix
Repair label of themes in themelist.
2014-01-02 04:23:39 -08:00
Derk-Jan Hartman
8f109ea371 Repair label of themes in themelist.
This was broken after c563f15e93
2014-01-02 13:04:24 +01:00
aldendaniels
612478e39f Speed up single-line deltas
2e6f12725b slowed down the application of
deltas that only affect a single line. The slow-down, though trivial for
a single line, is significant for operations than separately modify
thousands of rows (such as indenting a large document).

This commit speeds up single-line deltas by avoiding unnecessary calls
to splitLine() and joinLineWithNext().
2014-01-01 14:45:54 -06:00
aldendaniels
810e196cc6 Use console.warn for deprecated methods
console.warn makes better sense than console.log and matches similar
warnings in ace (see gutter.js for example).
2014-01-01 12:06:19 -06:00
aldendaniels
026af74016 Fix render bugs
Both were introduced in 2e6f12725b.
2014-01-01 12:04:12 -06:00
aldendaniels
27768230c8 Maintain public API and update coding convention
This seeks to keep the public API in-tact while improving method names
within ace by keeping the old methods as wrappers around the new
better-named methods.

For example, document.insert() now simply calls document.insertText()
and warns the caller via a console.log() that they are using a
deprecated method.

I've also updated the coding style of my changes (where I noticed
discrepancies) to match the rest of Ace.
2014-01-01 11:05:27 -06:00
aldendaniels
2e6f12725b #1744: Refactor document delta handling
Refactor delta handling code to:

- Combine the "insertText" and "insertLines" delta types into a single
"insert" delta type

- Combine the "removeText" and "removeLines" delta types into a single
"remove" delta type

- Make all document mutations in a single applyDelta function.

- Add basic delta validation (more needed . . . see TODOs)

- Rework anchor logic to handle new delta types (also simplified)

- Rename "insert()" to "insertText()" and "remove()" to "removeText()"

- Rename "insertLines()" to "insertFullLines()" and "removeLines()" to
"removeFullLines()"

See related issue for more information. All tests are passing and the
changes appear functional under preliminary testing, but careful review
and testing will be necessary.
2014-01-01 00:41:45 -06:00
nightwing
ccc7d6dda8 add more sites 2013-12-31 16:17:01 +04:00
Harutyun Amirjanyan
a9d194894e Merge pull request #1742 from hartman/commas
Remove trailing comma's, which break scripts in IE7
2013-12-31 04:16:32 -08:00
Derk-Jan Hartman
1240a04fff Remove trailing comma's, which break scripts in IE7 2013-12-31 10:12:34 +01:00
DanyaPostfactum
0b1630d6fa Refactor tooltip to separate class. 2013-12-30 20:13:00 +10:00
nightwing
425404ff29 fix #1737 reset padding only if previous theme had custom padding 2013-12-30 02:05:57 +04:00
nightwing
3cc3043951 update js highlighter test 2013-12-30 01:56:58 +04:00
nightwing
9a5bd3cd65 include error_marker addon in the build 2013-12-30 01:42:12 +04:00
Harutyun Amirjanyan
6e46195102 Merge pull request #1728 from desoi/master
Updated keywords and functions for PostgreSQL 9.3. Added sub-mode support for JavaScript and Json.
2013-12-29 13:37:10 -08:00
John DeSoi
48cd7f55dc Updated keywords and functions for PostgreSQL 9.3. Added sub-mode support for JavaScript and Json. 2013-12-29 14:16:38 -06:00
nightwing
edee507fd9 update site 2013-12-29 21:13:44 +04:00
nightwing
714e1a592c fix resize issues 2013-12-29 20:07:08 +04:00
nightwing
90b2a6cd77 fix multiselect mouse interaction issues 2013-12-29 20:05:23 +04:00
nightwing
37b3dc1efd tweak modes 2013-12-29 20:03:08 +04:00
nightwing
b6a4a34fd2 togglecomment should not scroll if part of the selection is visible 2013-12-29 20:02:14 +04:00
nightwing
5b151a3db4 fix scrolling speed on firefox ux 2013-12-29 19:59:16 +04:00
nightwing
3f7f325777 return removed folds from removeFolds 2013-12-29 19:57:49 +04:00
nightwing
6e254f25a1 fix wrap option getter 2013-12-29 19:57:00 +04:00
nightwing
4c4ab09870 add goToNextError command 2013-12-29 19:56:29 +04:00
Lennart Kats
c612dac355 Merge pull request #1723 from ajaxorg/misc
fix several small bugs
2013-12-25 07:11:00 -08:00
Lennart Kats
890fd39c92 Merge pull request #1725 from ajaxorg/double_tap
Double tap regression
2013-12-25 02:09:58 -08:00
Lennart Kats
eda5eaba39 Merge pull request #1715 from ajaxorg/velocity_snippets
Support loading snippets for mixed modes
2013-12-25 02:04:31 -08:00
Lennart Kats
191a79245f Merge pull request #1703 from ajaxorg/highlighting/mixed
Do not loose currentState if tokenizer uses combination of next and push
2013-12-25 02:03:04 -08:00
Harutyun Amirjanyan
92dba7d44c Merge pull request #1730 from danyaPostfactum/autoinsert
Add autoinsert feature to the completer.
2013-12-23 03:27:09 -08:00
DanyaPostfactum
ff42a13c4f Add autoinsert feature to the completer. 2013-12-23 02:52:25 +10:00
nightwing
b6a3a15232 add a test 2013-12-20 18:12:33 +04:00
nightwing
c01725184e remove setTimeout from startSelect
fixes #956: double tap regression
2013-12-20 17:18:34 +04:00
nightwing
15dd2082f6 cleanup 2013-12-20 15:14:35 +04:00
nightwing
3a864c6056 add support for inline mode in php worker 2013-12-17 00:04:21 +04:00
nightwing
10e2c3049c add options for theme and mode 2013-12-15 21:20:11 +04:00
nightwing
6285bf5d5a update cssLint and coffee 2013-12-15 21:18:13 +04:00
nightwing
b7ee15f5d9 fix bug with fixedWidth gutter + firstLineNumber 2013-12-15 02:50:48 +04:00
nightwing
133db3cfe0 fix #1711 Double click on foldWidgets region can paint whole gutter in red. 2013-12-14 23:52:01 +04:00
nightwing
45c4bdcb2e disable invalid class on ampersands
fixes #1655
2013-12-14 19:44:44 +04:00
nightwing
61591eee5d add tests 2013-12-14 19:41:44 +04:00
nightwing
869e1f86aa cleanup d mode 2013-12-14 19:37:24 +04:00
Harutyun Amirjanyan
a6c21c6761 Merge pull request #1694 from robik/d-lang-support
Improved D Language mode
2013-12-14 07:29:25 -08:00
Harutyun Amirjanyan
3b96539874 Merge pull request #1696 from danyaPostfactum/refactor/scrollbar
Refactor ScrollBarV and ScrollBarH classes
2013-12-14 06:25:48 -08:00
DanyaPostfactum
5affb58e40 Add forgotten css overflow:scroll to scrollbars 2013-12-13 16:45:20 +10:00
Harutyun Amirjanyan
710bf4dbe0 Merge pull request #1719 from nbreslow/master
Added support for Autodesk Maya MEL
2013-12-12 14:53:27 -08:00
Nicholas Breslow
cde625fde3 Added c-style behavior and fold mode / updated mode syntax.
As per Harutyun Amirjanyan's request I made the following two changes:
1) Added c-style behavior and fold mode.
2) Updated mode syntax for mel to current one used by Ace.
2013-12-12 16:47:41 -05:00
Nicholas Breslow
56604c1fa5 Updated project. 2013-12-10 14:03:53 -05:00
Nicholas Breslow
a6c6028f7e Changed mel.mel example file. 2013-12-10 14:03:23 -05:00
DanyaPostfactum
8ecc94a181 Rename ScrollBarV -> VScrollBar, ScrollBarH -> HScrollBar 2013-12-10 17:41:02 +10:00
nightwing
00df72ee0d allow inlining multiple text modules 2013-12-09 23:24:43 +04:00
Ryan Griffith
2b10c2071f Check for possible snippet expansion before attempting to proceed to the next tabstop. 2013-12-09 10:04:38 -05:00
Lennart Kats
24c207191c Merge pull request #1702 from ajaxorg/themes
Themes
2013-12-09 04:03:10 -08:00
Lennart Kats
be2b684b6f Merge pull request #1716 from ajaxorg/force_ltr
force editor text to be ltr
2013-12-09 04:00:23 -08:00
nightwing
5f0012f653 force editor text to be ltr
fixes #1429
2013-12-06 23:58:11 +04:00
nightwing
4307aba209 fix #1693 searchbox is broken when creating ace in pre tag 2013-12-06 23:08:51 +04:00
Lennart Kats
f5334ceaa2 Merge pull request #1701 from ajaxorg/static_highlighter
use css counter for line number in static_highlighter
2013-12-06 08:21:59 -08:00
Lennart Kats
91d581b12b Merge pull request #1705 from ajaxorg/autocomplete/hor_scroll
fix #1680 Autocomplete box doesn't work with horizontal scrolling
2013-12-06 07:57:38 -08:00
Lennart Kats
e7f412c992 Merge pull request #1688 from ajaxorg/highlighting/apache_conf
add apache_conf mode
2013-12-06 07:55:39 -08:00
Lennart Kats
40ea516801 Merge pull request #1700 from ajaxorg/newclient
sync with cloud9
2013-12-06 06:44:32 -08:00
nightwing
c2b097b825 add includeScopes for velocity mode 2013-12-05 23:57:18 +04:00
nightwing
a0ab8baa56 add id to all modes 2013-12-05 23:46:16 +04:00
Harutyun Amirjanyan
84bc9b25de Merge pull request #1712 from hannonhill/velocity-snippets
Add snippets for common Velocity directives
2013-12-05 08:19:04 -08:00
nightwing
6b1215bca8 move user-select:none to scroller fixes #1675 on linux 2013-12-05 20:13:37 +04:00
Ryan Griffith
69b144686a Added snippets for common Velocity directives. 2013-12-04 15:52:40 -05:00
nightwing
5ed4e3eded reset scroll position 2013-12-03 23:11:54 +04:00
nightwing
af7c370318 fix #1680 Autocomplete box doesn't work with horizontal scrolling 2013-12-02 23:36:27 +04:00
DanyaPostfactum
b58b38d74a Move setVisible() method to ScrollBar class 2013-12-02 21:09:14 +10:00
nightwing
6461d62f90 fix prolog mode and update tests 2013-11-30 18:44:55 +04:00
nightwing
d87ba89c49 do not loose currentState if tokenizer uses combination of next and push 2013-11-30 18:40:02 +04:00
nightwing
93d2b75b4f add demo for ejs 2013-11-30 00:57:56 +04:00
nightwing
c563f15e93 use ext/themelist.js in kitchen-sink demo 2013-11-29 23:53:28 +04:00
nightwing
4d88770435 fix bug in converter and add two new themes 2013-11-29 23:53:27 +04:00
nightwing
29e1838394 update build submodule 2013-11-28 01:10:23 +04:00
Harutyun Amirjanyan
8cfd45feab Merge pull request #1698 from LivelyKernel/ace-ajax-master
cstyle behaviour fix for entering braces
2013-11-27 12:43:35 -08:00
Robert Krahn
69b40db4f2 fix cstyle behaviour when inserting braces and doing a newline. Previous behaviour would not add a closing brace when no other opening brace was present 2013-11-25 18:11:15 -08:00
DanyaPostfactum
03edee8c30 Refactor ScrollBarV and ScrollBarH classes 2013-11-24 23:00:06 +10:00
nightwing
70bc7d7dc0 update tests 2013-11-24 16:47:32 +04:00
nightwing
e70f0773df Merge pr/1692 into master 2013-11-24 16:34:04 +04:00
nightwing
d870d81ea0 revert change to markup.list 2013-11-24 16:31:07 +04:00
nightwing
9b8e236483 do not modify dom from computeLayerConfig 2013-11-24 16:19:59 +04:00
nightwing
9a2ee70af8 allow starting and cancelling mouse capture from outside 2013-11-24 16:18:13 +04:00
nightwing
4cb1e7b849 misc fixes 2013-11-24 16:16:36 +04:00
nightwing
a910b8ee18 do not freeze browser when calling fold all second time 2013-11-24 16:15:52 +04:00
nightwing
9002950bf7 rename group to aceCommandGroup to not conflict with cloud9 2013-11-24 16:13:36 +04:00
nightwing
b88bf398b5 smoother resizing #1687 2013-11-24 16:11:51 +04:00
nightwing
1704cbdcc2 check for valid start state in tokenizer 2013-11-24 16:10:40 +04:00
nightwing
d03e5d1120 add selectOrFindNext commands and disable sublime ctrl-d like behavior of ctrl-arrow 2013-11-24 16:09:52 +04:00
Robik
76230003b6 Removed unused code; Added missing keywords; Added defaultToken 2013-11-24 11:25:11 +01:00
Benoit Schweblin
78ee0833ba Set defaultToken to markup.list for lists and string.blockquote for blockquotes 2013-11-23 22:53:11 +00:00
nightwing
0e9d413102 cleanup vbscrip mode 2013-11-22 22:03:02 +04:00
Robik
34ceb4e15e Improved D Language mode 2013-11-21 14:18:51 +01:00
nightwing
b42ce65a54 use css counter for static highlight gutter 2013-11-20 20:02:31 +04:00
nightwing
727c94c90a cleanup 2013-11-20 18:33:40 +04:00
Benoit Schweblin
a50c0a27b9 [Markdown highlighting] Fixed list inside blockquotes 2013-11-20 00:15:28 +00:00
Benoit Schweblin
c2fb30b313 [Markdown highlighting] Parse basic rules in blockquotes 2013-11-19 19:48:13 +00:00
Harutyun Amirjanyan
a7798c4497 Merge pull request #1686 from danyaPostfactum/object-create
Use Object.create for inheritance
2013-11-19 00:02:42 -08:00
nightwing
8b4c88d636 add apache_conf mode 2013-11-18 10:45:56 +04:00
DanyaPostfactum
9719c770d3 Use Object.create for inheritance 2013-11-17 17:58:21 +10:00
nightwing
4c3c132f2b add position rounding change missed from 753dbbe 2013-11-15 01:07:47 +04:00
Lennart Kats
f8e96328e4 Merge pull request #1683 from ajaxorg/static_highlight
fix static highlight bugs
2013-11-14 01:52:07 -08:00
nightwing
9e5dda2334 fix static highlight bugs
#1681 #1682
2013-11-13 22:35:29 +04:00
Lennart Kats
ed87f5326f Merge pull request #1678 from ajaxorg/line_widgets_pt1
Add support for line widgets
2013-11-13 10:10:24 -08:00
nightwing
fada97f807 semicolonify demo files; 2013-11-13 21:10:36 +04:00
nightwing
90e7cdd7f1 Merge branch 'markdown_tweaks' 2013-11-13 03:36:43 +04:00
nightwing
60cfe6f161 update wrapData when wrapMethod changes 2013-11-13 03:34:52 +04:00
nightwing
188252891a update test 2013-11-13 03:22:32 +04:00
nightwing
753dbbece5 do not round mouse position since lines can have fractional screen coordinates now 2013-11-13 03:04:56 +04:00
Sawyer Hollenshead
f18a57126d Specify type of string (strong, emphasis, blockquote) 2013-11-11 17:09:52 -05:00
Lennart Kats
07d82837b4 Merge pull request #1677 from ajaxorg/old_ff_copy
add user select:text to ace_text-input
2013-11-10 15:47:30 -08:00
Lennart Kats
1ab54b0b8f Merge pull request #1673 from ajaxorg/cloud9_update
Cloud9 update
2013-11-10 15:47:01 -08:00
nightwing
48a44aab5a cleanup kitchen-sink demo 2013-11-11 03:29:22 +04:00
nightwing
00fcd37829 allow widgets to have any height 2013-11-11 02:41:35 +04:00
nightwing
71ceca4601 fix cursor movement 2013-11-08 00:58:42 +04:00
nightwing
b17f8d533a fix typo 2013-11-08 00:58:42 +04:00
nightwing
31191072f3 add first version of line_widgets 2013-11-08 00:58:42 +04:00
nightwing
1ac4ea51e2 hack edit session 2013-11-08 00:56:04 +04:00
nightwing
a56c3b44b5 always add height to line wrapper nodes
(needed for line widgets)
2013-11-08 00:56:04 +04:00
nightwing
fab88c496c fix regression with cmd-up 2013-11-07 11:29:27 +04:00
nightwing
dfa2eaf5ac do not include empty lines in section fold 2013-11-06 11:49:39 +04:00
nightwing
07809b1fb9 add user select text to ace_text-input 2013-11-06 11:16:23 +04:00
nightwing
ea430330ba fix folding test 2013-11-06 11:05:32 +04:00
nightwing
00ebb80f87 c9search mode is weird :( 2013-11-06 00:31:40 +04:00
Lennart Kats
2476f43aa8 Merge pull request #1674 from ajaxorg/misc
fix two small bugs
2013-11-05 09:24:15 -08:00
nightwing
68c6c4e86c fix typo 2013-11-05 21:23:25 +04:00
nightwing
0fe340b3fb update c9searchresults test 2013-11-05 21:21:51 +04:00
nightwing
bfdd7239d1 fix #1671 Cannot use backspace in Android Chrome 2013-11-05 21:07:29 +04:00
nightwing
3ab631640b fix #1669 Everything until cursor position is selected in IE8 2013-11-05 21:01:01 +04:00
nightwing
8443991f13 miscelaneous fixes from c9 2013-11-05 20:54:38 +04:00
nightwing
f1973e4233 add virtualRenderer.$updateSizeAsync 2013-11-05 20:51:56 +04:00
nightwing
5607fc9de2 automatically pick range for align command 2013-11-05 20:47:30 +04:00
nightwing
5a26604657 add command.scrollIntoView 2013-11-05 20:44:27 +04:00
nightwing
d689636771 better folding commands 2013-11-05 20:43:30 +04:00
nightwing
150f0360d4 fix #1624 Rules added with embedRules can only use stringed regexes 2013-11-05 20:37:48 +04:00
Harutyun Amirjanyan
93a88fcb5e Merge pull request #1663 from saatchiCEO/patch-1
Fixed typo `forown`
2013-10-28 22:24:56 -07:00
saatchiCEO
4a0fc33c65 Fixed typo forown
for|forown -> for|own
2013-10-29 00:22:58 +03:00
Zef Hemel
e8bb1e38e7 Added callback to static highlighter 2013-10-28 11:33:51 +01:00
nightwing
0bebd94926 perge pull #1662 2013-10-27 14:43:49 +04:00
nightwing
07e4eb0a3a use scroller instead of content
because other widgets inheriting from ace do not have renderer.content
2013-10-27 14:33:55 +04:00
DanyaPostfactum
ad2d31eef4 Fix Webkit context menu on second click 2013-10-27 20:51:15 +11:00
Harutyun Amirjanyan
5120528cf1 Merge pull request #1660 from adamjimenez/patch-21
multiline strings throw out error line numbers
2013-10-27 00:44:01 -07:00
Harutyun Amirjanyan
7d8cd7f657 Merge pull request #1661 from danyaPostfactum/dnd-fixes
Some drag'n'drop fixes
2013-10-27 00:43:13 -07:00
DanyaPostfactum
12a2464756 Change mouse capture target container -> content
To prevent hover activity of scrollbars in Firefox
2013-10-26 15:13:15 +11:00
Adam Jimenez
4d0fa2412a remove unnecessary new line repace 2013-10-22 23:37:24 +01:00
Adam Jimenez
053b780478 multiline strings throw out error line numbers
e.g:

```
<?php
$foo = "test
multiline

string"
a
?>
```
shows  error on line 3 instead of 6.
2013-10-22 18:51:48 +01:00
Lennart Kats
4bbe5346f2 Merge pull request #1658 from ajaxorg/bugfix/textinput
Bugfix/textinput
2013-10-21 01:33:15 -07:00
nightwing
6677b22fd4 fix #1650 Editor looses focus on scrollbar click in the Google Chrome 2013-10-20 21:03:17 +04:00
nightwing
5bead368ea fix spellcheck extension on chrome 2013-10-20 20:57:58 +04:00
nightwing
ca47093bc8 restore textInput.setReadOnly call
needed for disabling contextmenu items
2013-10-20 19:01:07 +04:00
nightwing
1d4d76b1ea use text-indent: -1em; to hide cursor on ie
as suggested in https://github.com/ajaxorg/ace/issues/1640
2013-10-20 19:01:07 +04:00
nightwing
b52a989bf8 [IME] pressing enter on ie reverts last input 2013-10-20 19:01:07 +04:00
Harutyun Amirjanyan
b0e40929b6 Merge pull request #1654 from asm2750/add-vhdl-syntax
Add vhdl syntax
2013-10-19 11:37:44 -07:00
Harutyun Amirjanyan
c60e95b5e6 Merge pull request #1653 from adamjimenez/patch-19
highlight option tags as form elements
2013-10-18 10:40:16 -07:00
asm2750
2ff1e1db6b Update vhdl_highlight_rules.js
Added license block
2013-10-17 10:19:34 -07:00
asm2750
e2441734ca Update vhdl.js
Added license block
2013-10-17 10:19:02 -07:00
OpenShift guest
d9fe4880dc Added VHDL syntax highlighting, and example code. issue #1642 2013-10-17 00:47:19 -04:00
OpenShift guest
9fd726a81c Revert "Added VHDL syntax highlighting, and example code. issue #1642"
This reverts commit 56a37a4053.
2013-10-17 00:37:16 -04:00
OpenShift guest
56a37a4053 Added VHDL syntax highlighting, and example code. issue #1642 2013-10-17 00:35:27 -04:00
Adam Jimenez
ea019da404 highlight option tags as form elements 2013-10-15 18:23:24 +01:00
Lennart Kats
7625c67ac9 Merge pull request #1648 from ajaxorg/highlighter
Improve static highlighter
2013-10-11 07:35:24 -07:00
nightwing
bb0298783c add "highlighter" build target 2013-10-11 16:14:17 +04:00
nightwing
51dc39bb95 add static highlighter highlight method 2013-10-11 16:06:24 +04:00
Harutyun Amirjanyan
a2244c6d01 Merge pull request #1645 from creationix/master
Add comment support for Jack mode
2013-10-07 15:37:52 -07:00
Tim Caswell
c6e125a816 Add comment support for Jack mode 2013-10-07 12:04:27 -05:00
Harutyun Amirjanyan
907a765546 Merge pull request #1616 from fangel/patch-1
The require() and define() methods for workers does not conform to the AMDJS spec
2013-10-07 07:54:38 -07:00
Morten Fangel
afcc9afecf Improved the WebWorker RequireJS shim, so it's closer to the AMDJS spec
Improvements:

 - It's now possible to list dependencies that gets loaded before calling the factory-function
 - Relative paths without folders (./foo) now works properly
 - The define()-behaviour is now tested by four unit-tests
2013-10-07 15:55:41 +02:00
Harutyun Amirjanyan
c830baa212 Merge pull request #1644 from plancien/master
replaced simple string errors with full Errors
2013-10-06 10:51:23 -07:00
Pierre Lancien
4d62c0810b replaced simple string errors with full Errors, in order to make debugging easier. 2013-10-06 19:46:32 +02:00
Lennart Kats
e316578832 Merge pull request #1641 from ajaxorg/newclient
sync with newclient
2013-10-06 03:51:34 -07:00
nightwing
5927184195 add ace_ prefix to selected row classname 2013-10-06 14:26:16 +04:00
nightwing
eb2cfdfdfd fix #1629 Not able to scroll smoothly with a Mac trackpad, when the pointer is inside the editor. 2013-10-06 14:05:35 +04:00
nightwing
bfd68fb1cf fix #1637 typo in vbscript mode 2013-10-05 16:45:58 +04:00
nightwing
aa76fffaf2 fix __defineGetter__ errors on ie 2013-10-05 14:00:15 +04:00
nightwing
0002bf4e4c tweak logo 2013-10-05 13:50:53 +04:00
Nicholas Breslow
55a947ec68 Fixed MEL Syntax Highlighter
Fixed grouping errors. Added mel.mel file to test.
2013-10-02 14:17:35 -04:00
Harutyun Amirjanyan
93673bbe8b Merge pull request #1635 from devoncarew/master
update Dart syntax highlighting
2013-10-02 11:07:00 -07:00
Harutyun Amirjanyan
f99d36b4b2 Merge pull request #1636 from creationix/master
Add Jack mode
2013-10-02 11:04:32 -07:00
DanyaPostfactum
9eef8dfb9e Fix issue with blinking cursor on drag over
This happens when dragging from another app. Editor can get focused on app icon hovering (on a Windows taskbar).
2013-10-02 02:52:49 +10:00
DanyaPostfactum
617d43bb13 Impove opera blank drag image workaround (stolen from codemirror) 2013-10-02 02:47:31 +10:00
Tim Caswell
3dd62918c5 Add Jack mode 2013-10-01 11:20:26 -05:00
devoncarew@gmail.com
5746c2001c update Dart syntax highlighting 2013-09-30 20:58:12 -07:00
Nicholas Breslow
c2f1838dca Added Autodesk Maya MEL 2013-09-30 16:43:05 -04:00
Harutyun Amirjanyan
87c14b6aa7 Merge pull request #1627 from gfxmonk/sjs
SJS (StratifedJS) support, inheriting from JS
2013-09-28 22:48:18 -07:00
nightwing
4e97b47838 update logo 2013-09-28 23:54:40 +04:00
nightwing
cc5ed60464 update to version from newclient 2013-09-28 23:44:43 +04:00
Tim Cuthbertson
55c3623877 SJS (StratifedJS) support, inheriting from JS 2013-09-26 15:55:29 +10:00
nightwing
c9077acbd5 add back commands.byName 2013-09-25 23:53:17 +04:00
nightwing
04cc031da6 add deprecation message for commmandKeyBinding 2013-09-25 23:26:18 +04:00
Harutyun Amirjanyan
cc2f80f8c1 Merge pull request #1626 from thomaswilburn/master
Rename "commmandKeyBinding" to have 33% less "m"
2013-09-25 12:09:57 -07:00
Thomas Wilburn
5023410c42 Typo of "commmand" is driving me nuts. 2013-09-25 10:36:54 -07:00
Ruben Daniels
f6bcd82c36 Merge pull request #1622 from ajaxorg/change-to-bsd
Change RStudio contributions to BSD
2013-09-25 06:35:32 -07:00
Lennart Kats
5f3ba2cfe2 Merge pull request #1595 from ajaxorg/highlighting/mixed
Improvements for highlighting mixed languages
2013-09-24 02:56:08 -07:00
Lennart Kats
373f24849b Merge remote-tracking branch 'origin/master' into highlighting/mixed
Conflicts:
	index.html
2013-09-24 11:51:58 +02:00
Lennart Kats
49f0f2dfbc Merge pull request #1623 from ajaxorg/ctrl-d
ctrl-alt-right shouldn't select second word at once
2013-09-24 02:48:23 -07:00
nightwing
14a4aa2715 set correct direction on first range 2013-09-24 00:21:55 +04:00
nightwing
d0208903de update test 2013-09-24 00:17:40 +04:00
nightwing
c1057e473f ctrl-alt-right shouldn't select second word at once 2013-09-23 23:50:11 +04:00
Garen Torikian
18ae721541 Change RStudio contributions to BSD 2013-09-23 11:48:35 -07:00
Lennart Kats
c3712554ea Merge pull request #1617 from ajaxorg/folding/csharp
Better folding for csharp and ini
2013-09-23 01:40:41 -07:00
nightwing
d22626771b improve csharp folding 2013-09-21 20:44:19 +04:00
nightwing
e47caa459b update site 2013-09-21 17:03:40 +04:00
nightwing
9a70c98fc4 ini fold mode 2013-09-21 15:38:06 +04:00
nightwing
58e1410adf fix #1614 Gutter tooltip not showing inside relative container 2013-09-21 14:55:53 +04:00
nightwing
f1b74a8916 small tweaks for nativednd 2013-09-20 17:15:55 +04:00
Lennart Kats
ee95161972 Merge pull request #1599 from danyaPostfactum/nativednd
Use native HTML5 Drag'n'Drop for text.
2013-09-20 06:11:43 -07:00
Lennart Kats
2ae8a967f4 Merge pull request #1612 from ajaxorg/small_bugs
Small bugs
2013-09-20 05:55:13 -07:00
nightwing
7d2795bc77 update mode.tmpl.js 2013-09-19 11:00:10 +04:00
nightwing
80b8f557f0 update mode docs 2013-09-19 00:24:00 +04:00
nightwing
df4b0c8d4c update site 2013-09-18 18:46:28 +04:00
DanyaPostfactum
8a841df6e2 Capture mouse on quadclick 2013-09-18 17:51:52 +10:00
DanyaPostfactum
8ebf34a385 Add autoscroll delay 2013-09-17 19:07:16 +10:00
DanyaPostfactum
e1ff382041 Fix IE autoscroll drop triggering issue
Add overlay (css ::before generated content) while dragging to prevent IE to trigger `drop` event while autoscrolling
2013-09-17 19:05:35 +10:00
DanyaPostfactum
ad4e57e600 Fix webkit fake mousemove event (breaking dnd) issue 2013-09-17 19:02:29 +10:00
nightwing
2ace399a8a better compositionUpdate on chrome 2013-09-17 11:35:07 +04:00
nightwing
0b4c56c5a7 fix string parsing in php worker 2013-09-17 11:35:07 +04:00
nightwing
eb7ed9862a Merge remote-tracking branch 'remotes/origin/master'
Conflicts:
	index.html
2013-09-16 11:53:05 +04:00
Lennart Kats
650cf8e5af Merge pull request #1607 from ajaxorg/small_bugs
Small bugs
2013-09-16 00:24:28 -07:00
DanyaPostfactum
b1ba675cfd Fix dbl/triple click issues of native dnd 2013-09-15 20:48:33 +10:00
DanyaPostfactum
cb7a0d5d47 Improve native selection prevention on dnd 2013-09-15 20:41:22 +10:00
DanyaPostfactum
165cec553a Add onMouseDrag method to the DragdropHandler 2013-09-15 01:25:40 +10:00
DanyaPostfactum
624eb7c117 Make editor container to be drop zone 2013-09-15 01:13:52 +10:00
nightwing
51b7cb67a6 update site and submodules 2013-09-14 18:47:34 +04:00
nightwing
414667916e always call setMode callback after the event 2013-09-14 14:55:41 +04:00
nightwing
4d8a31fd54 fix popup position flipping 2013-09-14 14:53:51 +04:00
nightwing
eecbe48695 replace ace global with getter in the demo
see 060e86d6
2013-09-14 00:52:09 +04:00
nightwing
3c6cd4d16f fix #1606 broken markdown snippets 2013-09-13 23:46:03 +04:00
nightwing
fbdcbd00a1 always call callback from setMode 2013-09-13 21:20:06 +04:00
nightwing
2c9dbced9b allow setting MaxTokenCount in tokenizer 2013-09-13 20:40:34 +04:00
nightwing
214c3a9b5d workaround for broken Object.create(null) on old opera
fixes https://github.com/ajaxorg/ace-builds/issues/13
2013-09-13 20:40:34 +04:00
Zef Hemel
4e748341fc [Golang] Forgot | 2013-09-13 16:14:44 +02:00
Zef Hemel
2a016e3890 Added another few missing builtin types and functions to the Go language. 2013-09-13 16:14:05 +02:00
DanyaPostfactum
b6dab9eb45 Fix Opera drag image issue. 2013-09-12 23:44:00 +10:00
Harutyun Amirjanyan
5806661f47 Merge pull request #1602 from matthewkastor/patch-1
fix broken demo.
2013-09-12 00:58:54 -07:00
Matthew Kastor
8a08d3fc0a fix broken demo. 2013-09-12 01:44:25 -04:00
nightwing
2efe7f203e fix #1598 Pipe '|' symbol breaks YAML Syntax highlighting 2013-09-11 23:36:29 +04:00
nightwing
e52a4250fe fix html demo 2013-09-11 23:36:29 +04:00
nightwing
b4628d450f use lazy getTokenizer in getNextLineIndent 2013-09-11 23:36:29 +04:00
nightwing
811d190c95 create tokenizer only when needed 2013-09-11 23:36:29 +04:00
nightwing
bc4b1324b7 commandline in demo remains hidden sometimes 2013-09-11 23:36:28 +04:00
nightwing
b4f8e47fe3 fix slim cursor setting 2013-09-11 23:36:28 +04:00
nightwing
4670e2201d fix running Makefile.dryice.js from another directory 2013-09-11 23:36:28 +04:00
nightwing
5ba0212ca2 simple soytemplate highlighter 2013-09-11 23:36:28 +04:00
nightwing
3be21b77e5 simple handlebars mode 2013-09-11 23:36:28 +04:00
nightwing
7b80bb793e cleanup 2013-09-11 23:36:28 +04:00
nightwing
37fc612756 generate doclist automatically based on modelist 2013-09-11 23:36:28 +04:00
Harutyun Amirjanyan
4c1497fc29 Merge pull request #1596 from breck7/master
Rebased on latest Ace. Added Coffee Fold Mode
2013-09-11 12:17:28 -07:00
DanyaPostfactum
ddf5d1ab45 Improve autoscroll behavior for text dragging 2013-09-12 02:48:46 +10:00
DanyaPostfactum
b7daccf9a9 Fix IE native drag'n'drop issues 2013-09-12 01:44:55 +10:00
Lennart Kats
4d18ae10b2 Merge pull request #1600 from ajaxorg/protobuf
Added a Google Protobuf mode
2013-09-11 05:59:22 -07:00
Zef Hemel
7c8d81333f Added a Google Protobuf mode 2013-09-11 14:37:50 +02:00
DanyaPostfactum
2993ae831f Set this context of event handlers for old IE. 2013-09-11 21:52:30 +10:00
Zef Hemel
3cd5ea654e Added inherit keyword to Nix mode 2013-09-10 14:13:21 +02:00
Lennart Kats
98d149f0b8 Merge pull request #1597 from ajaxorg/golang-bool
Golang: Added 'bool' type and 'select' keyword
2013-09-10 04:58:40 -07:00
DanyaPostfactum
8936861338 Use native HTML5 Drag'n'Drop for text. 2013-09-10 21:41:20 +10:00
Zef Hemel
347be370fe and select keyword 2013-09-10 10:55:14 +02:00
Zef Hemel
ff93d54adc Added 'bool' type. 2013-09-10 10:44:44 +02:00
Breck
b297a1ae02 Removed comment 2013-09-09 12:31:02 -07:00
Breck
0b5d78736f Rebased on latest Ace. Added Coffee Fold Mode 2013-09-09 11:46:03 -07:00
Mostafa Eweda
0f83322450 Merge pull request #1592 from ajaxorg/anchor_align_left
Add insert right mode for anchors and range_lists
2013-09-06 10:52:27 -07:00
nightwing
06d61cf239 add insert right mode for anchors and range_lists 2013-09-06 21:47:39 +04:00
Harutyun Amirjanyan
1728b50198 Merge pull request #1591 from rmsmith/wraplimitrange_bugfix
`EditSession.setWrapLimitRange` should set a new object to `this.$wrapLi...
2013-09-06 06:45:08 -07:00
rmsmith
b3443a0fab EditSession.setWrapLimitRange should set a new object to this.$wrapLimitRange
This fixes a bug where if you have 2 instances of EditSession and you
`setWrapLimitRange` on one of them it would affect the $wrapLimitRange
on all other instances of EditSession.
2013-09-06 16:16:15 +03:00
nightwing
43d2a6607f use same font size for completion popup and editor 2013-09-06 13:43:41 +04:00
Harutyun Amirjanyan
5b6a1df596 Merge pull request #1590 from ajaxorg/go
Improved Go highlighting, added builtin types and functions
2013-09-06 02:14:59 -07:00
Zef Hemel
1b5d023389 Fix test 2013-09-06 11:12:33 +02:00
nightwing
bf1c41808b fix infinite loop when selectOnHover is true 2013-09-06 13:11:31 +04:00
Zef Hemel
0dd731a882 Improved Go highlighting, added builtin types and functions and "range" keyword. 2013-09-06 11:05:01 +02:00
Zef Hemel
f860b88e51 Merge pull request #1583 from ajaxorg/autocomplete
improve autocomplete popup
2013-09-06 02:03:58 -07:00
nightwing
2df136beba use text shadow instead of bold 2013-09-06 12:50:55 +04:00
Zef Hemel
060e86d6ca ace.session does not exist (not in the no-conflict mode exist), so let's use this.editor.session instead. 2013-09-06 10:33:08 +02:00
Lennart Kats
e746383ec0 Merge pull request #1571 from ajaxorg/newclient
sync with newclient
2013-09-06 00:21:34 -07:00
nightwing
1fa691693e fix expansion of snippets with nested tabstops 2013-09-05 18:45:51 +04:00
nightwing
62c514135d fix snippet file parsing 2013-09-05 00:28:42 +04:00
nightwing
df261c6763 higher index for gutter tooltip 2013-09-04 18:38:17 +04:00
nightwing
94e4c2d6dd include -1 when cycling through popup items 2013-09-04 18:37:50 +04:00
nightwing
d6de4ee6aa fix popup selection marker 2013-09-04 18:37:08 +04:00
nightwing
dd057f3095 allow fractional scrollLeft 2013-09-04 17:04:37 +04:00
nightwing
1bf73980ae shadow looks ugly on firefox 2013-09-04 13:34:42 +04:00
nightwing
3e4e7303fc Merge pull request #1585 2013-09-04 13:22:13 +04:00
nightwing
00a640e473 fix highlighting of closing brace 2013-09-04 13:19:23 +04:00
nightwing
3fe075f2af fix getAllRanges in singleSelect mode 2013-09-04 13:11:09 +04:00
nightwing
94bea36cf1 Merge remote-tracking branch 'remotes/pull/1587' 2013-09-04 13:05:03 +04:00
nightwing
61d33f4269 tweak style 2013-09-04 13:04:39 +04:00
DanyaPostfactum
bde1acec75 Insert completion at each cursor 2013-09-04 13:34:30 +10:00
Zef Hemel
3812b20546 Nix mode 2013-09-03 20:46:27 +02:00
Zef Hemel
a44b053eab Initial Nix mode 2013-09-03 17:21:47 +02:00
nightwing
7edecc9f2a improve autocomplete popup 2013-09-02 00:21:51 +04:00
nightwing
8cb5b1f0e9 fix #1580 Mouse SelectByLines does not select ending char 2013-08-30 15:25:38 +04:00
Harutyun Amirjanyan
5f6dd8c89f Merge pull request #1577 from fatihacet/patch-1
Continue loop if we don't have a caption while populating autocomplete l...
2013-08-30 03:13:42 -07:00
Harutyun Amirjanyan
3deefcb2c7 Merge pull request #1575 from danyaPostfactum/domgutter
Use DOM methods to update gutter
2013-08-30 03:12:36 -07:00
Fatih Acet
29a011cc0a Continue loop if we don't have a caption while populating autocomplete list. 2013-08-29 14:48:11 +03:00
DanyaPostfactum
53440ea548 Use DOM methods to update gutter 2013-08-28 20:59:03 +10:00
nightwing
4492925305 fix erb comment highlighting 2013-08-28 12:15:12 +04:00
Harutyun Amirjanyan
9bf4827c78 Merge pull request #1550 from pterxiao/cvox
Accessibility Theme for Ace
2013-08-28 01:03:57 -07:00
nightwing
094fd85334 fix a typo 2013-08-27 13:43:07 +04:00
nightwing
e2b2f08c24 fix tests 2013-08-26 22:41:29 +04:00
nightwing
449bbfe406 improve batch highlighting 2013-08-26 21:59:17 +04:00
nightwing
c62e0d3062 add trimEmpty options to trimTrailingSpace, cleanup 2013-08-26 21:58:31 +04:00
nightwing
79fbec43b0 misc fixes 2013-08-26 21:57:22 +04:00
nightwing
3a23eacda2 fix foldAll 2013-08-26 21:55:34 +04:00
nightwing
3eef5f0a63 allow clicking through invisible mac scrollbars 2013-08-26 21:55:14 +04:00
nightwing
79c0f83e2c add input event, make doing multiple changes in one turn much faster 2013-08-26 21:52:38 +04:00
nightwing
2d6f56d8fd provide oldSize in resize event 2013-08-26 21:44:30 +04:00
nightwing
b2eac666e5 allow removing listener while event is dispatched 2013-08-26 21:41:18 +04:00
nightwing
6a76d63491 Merge pull 1554 2013-08-26 21:14:00 +04:00
nightwing
7fc575a47c fix formatting 2013-08-26 21:13:10 +04:00
Lennart Kats
dbff7216f0 Merge pull request #1570 from ajaxorg/papercuts
Small improvements to the api
2013-08-26 09:51:12 -07:00
nightwing
063aaed3a2 add @deprecated comment for getCopyText 2013-08-26 20:21:07 +04:00
nightwing
244e1462e8 add fixedWidthGutter option 2013-08-26 18:46:42 +04:00
nightwing
b23265ad72 allow any Range-like objects in session replace/remove 2013-08-26 18:37:50 +04:00
nightwing
3b5d742feb add editor getSelectedText method 2013-08-26 18:31:51 +04:00
nightwing
a44cbdc5c2 add renderer.setMouseCursor 2013-08-26 18:26:05 +04:00
nightwing
2cef7f4747 add scrollTo method 2013-08-26 18:09:31 +04:00
nightwing
27b91b44e0 update coffee script fixes #1568 2013-08-26 18:08:11 +04:00
Harutyun Amirjanyan
330b8a4a8e Merge pull request #1566 from ajaxorg/webkit-fractional-fix
Webkit fractional fix
2013-08-23 14:11:08 -07:00
Garen Torikian
d9c5921e48 Use lang.stringRepeat instead of a for loop 2013-08-23 14:02:26 -07:00
Garen Torikian
4b42933b8a Add comment explaining maths 2013-08-23 12:59:50 -07:00
Garen Torikian
a4ef760c7a Support fractional fixed-width fonts 2013-08-23 12:59:04 -07:00
Harutyun Amirjanyan
8bf4a0e604 Merge pull request #1564 from adamjimenez/patch-16
Include css rule name with lint results
2013-08-23 09:15:14 -07:00
Adam Jimenez
5c721c1103 Add cut or delete command shift+delete 2013-08-23 15:56:58 +01:00
nightwing
067efccb16 update list of real world users 2013-08-23 16:37:34 +04:00
nightwing
48e672b710 fix php heredoc highlighting inside array
fixes #1561
2013-08-23 11:46:49 +04:00
nightwing
c3491f4855 fix merge conflict 2013-08-22 15:29:17 +04:00
nightwing
f8f8b00c61 Merge remote-tracking branch 'remotes/pull/1560'
Conflicts:
	lib/ace/ext/language_tools.js
2013-08-22 13:32:14 +04:00
nightwing
e88dc7adc9 Merge branch origin/htmlcompleter 2013-08-22 13:28:41 +04:00
DanyaPostfactum
9475d7738b Add fuzzy matching for completions 2013-08-22 11:43:11 +10:00
DanyaPostfactum
2d0b980c65 Fix two broken javascript snippets 2013-08-22 11:38:57 +10:00
Harutyun Amirjanyan
fb66d49772 Merge pull request #1559 from ajaxorg/add-makefile-target
Add a simple incremental Makefile target
2013-08-21 06:06:02 -07:00
Lennart Kats
b4150a201c Don't require pre_build for basic job 2013-08-21 15:04:05 +02:00
Lennart Kats
29b6f8c875 Add a very simple incremental Makefile target 2013-08-21 14:54:02 +02:00
Harutyun Amirjanyan
bbabc6edc1 Merge pull request #1557 from mc10/master
Fix links in Readme.md
2013-08-18 15:05:47 -07:00
Kevin Ji
2885e6f90c Fix links in Readme.md 2013-08-18 14:43:45 -07:00
Peter Xiao
12d2c298bb Update old title. 2013-08-15 17:40:36 -07:00
Peter Xiao
ca1f431df4 Flush out extra unselected speech. 2013-08-15 17:20:36 -07:00
Peter Xiao
1a54f05075 Play earcon on empty or whitespace rows. Add support for selection. 2013-08-15 17:18:07 -07:00
Lennart Kats
fe1f945343 Merge pull request #1540 from ajaxorg/ie7
Ie7 support
2013-08-15 01:24:43 -07:00
Peter Xiao
23f62e015b Merge branch 'master' of https://github.com/ajaxorg/ace into cvox 2013-08-14 15:27:01 -07:00
Peter Xiao
5708ef899e Support for multiple editors, reorder rules, and use replace all. 2013-08-14 13:57:38 -07:00
Peter Xiao
1d7c9220ee No need to focus ace, add more expansions. 2013-08-14 13:29:34 -07:00
Peter Xiao
5ea65fe246 Add in expansion rules to speak more like how code is read. 2013-08-13 16:51:12 -07:00
Peter Xiao
16d13b6b59 Like tokens are now merged for more fluid TTS. 2013-08-13 15:39:01 -07:00
Peter Xiao
0f93b3098f Start merging tokens. 2013-08-13 15:34:22 -07:00
nightwing
269e8d976d remove useless stopPropagation on mouseup 2013-08-14 00:05:26 +04:00
Peter Xiao
41c82627f9 Update comment, remove code in chromevox ext demo. 2013-08-12 16:59:12 -07:00
Peter Xiao
c3a681abd1 Less aggressive filter for speaking tokens, add some docs. 2013-08-12 16:15:09 -07:00
Peter Xiao
38b42d20d3 Chromevox theme now an extension, added demo file, added findSearchBox event. 2013-08-12 15:58:09 -07:00
Peter Xiao
304b27954b Moved chromevox to ext 2013-08-12 13:04:12 -07:00
nightwing
7f6e94f021 Merge remote-tracking branch 'remotes/origin/html_completer' 2013-08-12 22:28:55 +04:00
Lennart Kats
0655f8a809 Merge pull request #1552 from ajaxorg/jshint
Jshint update
2013-08-12 07:58:32 -07:00
nightwing
0f2ca66d76 allow space separated list of globals 2013-08-12 18:32:36 +04:00
nightwing
14d540ddc7 update jshint again 2013-08-12 18:13:20 +04:00
nightwing
e5714c9dba Merge remote-tracking branch 'remotes/origin/gh-pages' into master 2013-08-11 13:17:22 +04:00
nightwing
54a2880634 small cleanup 2013-08-11 11:53:40 +04:00
Peter Xiao
6bbc1d6d41 Add chromevox theme. 2013-08-08 15:51:20 -07:00
nightwing
9bf8eac28c add persistent vscroll option to the demo 2013-08-09 00:12:52 +04:00
Lennart Kats
42d243df4b Merge pull request #1520 from ajaxorg/wrap
Wrapping issues
2013-08-07 07:10:21 -07:00
nightwing
d2318e99a2 add increase/decrease fontSize commands to the demo 2013-08-05 23:33:10 +04:00
nightwing
d884b44d48 better save in the demo 2013-08-04 13:58:50 +04:00
Adam Jimenez
9f8ed0db31 Include css rule name with lint results
This is similar to returning "raw" from JSHint, as it helps to identify the rule being applied.
2013-08-03 14:40:11 +01:00
nightwing
f782e59f76 update build 2013-08-01 23:29:53 +04:00
Lennart Kats
d1738b0eb2 Merge pull request #1539 from ajaxorg/misc
fix several small bugs
2013-07-31 15:04:55 -07:00
nightwing
c80ae070f7 small cleanup 2013-07-31 17:54:44 +04:00
nightwing
844502fae6 Merge branch 'origin/master' into misc
Conflicts:
	lib/ace/virtual_renderer.js
2013-07-30 22:17:38 +04:00
nightwing
d3cd46adff fix $# and %# highlighting in perl mode 2013-07-30 22:13:48 +04:00
nightwing
c911f4a761 fix tests 2013-07-30 01:09:52 +04:00
nightwing
ab438f2edc better demo 2013-07-30 00:47:09 +04:00
nightwing
f2944d4ced remove trailing commas 2013-07-30 00:28:05 +04:00
nightwing
95f0e7308f some more ie7 fixes 2013-07-30 00:23:09 +04:00
nightwing
4b4a5d045c add a test 2013-07-30 00:23:08 +04:00
nightwing
8d354e810c syntax highlighting in ie9 in ie8 mode 2013-07-30 00:23:08 +04:00
nightwing
d4dcdb7736 use snipetManager for expanding emmet snippets 2013-07-27 00:45:08 +04:00
nightwing
524930a2c7 force measure sizes if container is visible but width is 0 2013-07-26 23:17:12 +04:00
nightwing
4d9118e6fe add emmet demo 2013-07-26 15:10:59 +04:00
nightwing
ca1c27aa65 fix #1533 syntax highlighting of markdown links 2013-07-26 14:55:08 +04:00
nightwing
cacd51e2fe tweak jshint console mock 2013-07-24 22:57:46 +04:00
nightwing
62e7073b33 add wrapMethod:auto and fix tests 2013-07-24 17:49:42 +04:00
Luca Cipriani
c2692f42af Update CNAME 2013-07-24 14:53:17 +02:00
nightwing
9f068dc45d improve wrapping for markdown 2013-07-24 16:16:52 +04:00
nightwing
22de40bf6a resize editor only when tab is fully shown 2013-07-23 19:12:24 +04:00
nightwing
73d8eb5898 do not lose scheduled changes when render is canceled 2013-07-23 19:11:17 +04:00
nightwing
47b30f5db4 update submodules 2013-07-23 16:37:07 +04:00
Luca Cipriani
32035f68db Added CNAME file for redirect of giihubpages 2013-07-23 16:21:10 +04:00
nightwing
373693a1c4 fix weird ie8 bug 2013-07-23 15:54:15 +04:00
Lennart Kats
a4a30b6665 Merge pull request #1523 from ajaxorg/jshint
update jshint to 2.1.4
2013-07-23 00:19:43 -07:00
Lennart Kats
5bc96b69fc Merge pull request #1527 from ajaxorg/nc
renderer fixes backported from newClient
2013-07-22 12:30:02 -07:00
Lennart Kats
b204b53e78 Merge pull request #1526 from ajaxorg/site
Dogfood
2013-07-22 07:14:56 -07:00
Harutyun Amirjanyan
7294a35b3f Merge pull request #1528 from jdalegonzalez/master
Added parser support for traits, namespace declarations, namespace refer...
2013-07-22 03:39:23 -07:00
jdalegonzalez
c03df1f602 Added parser support for traits, namespace declarations, namespace references in class names (\) and the use keyword 2013-07-20 12:29:06 -04:00
nightwing
7f4d2dde8e add more users 2013-07-19 19:48:24 +04:00
nightwing
f447430c10 automatically hide activeLine highlight if editor height is one line 2013-07-19 17:59:37 +04:00
nightwing
4e86a104c2 fix autoresizing editor on ie 2013-07-19 17:52:33 +04:00
nightwing
650fe73386 clicking on scrollbar shouldn't focus the editor 2013-07-19 17:52:33 +04:00
nightwing
26329c2d76 scrollbars should start as hidden 2013-07-19 17:52:33 +04:00
nightwing
abf5f7492f recompute longestLine when vScroll changes 2013-07-19 17:52:33 +04:00
nightwing
7f8a47939c renderer changes from newclient 2013-07-19 17:52:33 +04:00
nightwing
e0ce741f5b convert multi_select to an option 2013-07-19 17:52:33 +04:00
nightwing
50ec54a7d8 use minified files 2013-07-19 03:39:01 +04:00
nightwing
71d382d43b Merge remote-tracking branch 'remotes/dp/htmlcompleter'
Conflicts:
	lib/ace/ext/language_tools.js
2013-07-19 03:16:28 +04:00
nightwing
a406b853f3 Merge branch 'highlighting/xml' 2013-07-19 03:04:34 +04:00
nightwing
ee74fe5a52 make doctype less bright 2013-07-19 03:02:59 +04:00
nightwing
8a22cf4873 enable autocompletion and snippets 2013-07-18 21:03:36 +04:00
nightwing
a69fce21f4 use ace static highlighter in the main site 2013-07-18 21:03:35 +04:00
nightwing
9f2a17fcf5 fix snippet editor in the demo 2013-07-18 13:11:08 +04:00
nightwing
77526749bc add emmet updater 2013-07-18 13:11:08 +04:00
nightwing
18c2a50726 fix typo in the demo 2013-07-18 13:11:07 +04:00
nightwing
1a94ace704 fix tests 2013-07-18 13:11:07 +04:00
nightwing
2a8619e7f5 enable moz in javascript worker 2013-07-18 13:10:43 +04:00
nightwing
6788031994 allow moz and es6 settings to work together 2013-07-18 13:09:08 +04:00
nightwing
41b0914299 remove huge console emulation code 2013-07-18 13:07:55 +04:00
nightwing
d76bc364e7 update jshint to v2.1.4 2013-07-18 13:05:00 +04:00
nightwing
987411423b update jshint updater 2013-07-18 13:03:59 +04:00
nightwing
e5ce9e7aee Merge pull request #1517: Update links 2013-07-14 13:41:13 +04:00
Adrian L Lange
24f6640f89 Update links
Files changed: index.html
2013-07-14 13:38:55 +04:00
nightwing
2270bd8c4b fix failing tests 2013-07-14 08:58:29 +04:00
nightwing
c7abff1856 use meta.tag.punctuation 2013-07-14 08:49:45 +04:00
nightwing
386f1ecade Merge branch 'highlighting/xmlrefactor' into master
Conflicts:
	lib/ace/ext/modelist.js
	lib/ace/mode/_test/tokens_luapage.json
2013-07-14 06:24:23 +04:00
Lennart Kats
aded11265f Merge pull request #1489 from ajaxorg/undo_merge
Undo merging
2013-07-12 00:04:40 -07:00
Ruben Daniels
6783f921c9 Merge pull request #1512 from ajaxorg/indent
fix #549 enter on start of indented line should keep indentation
2013-07-11 08:17:05 -07:00
nightwing
920031b877 fix #549 enter on start of indented line should keep indentation 2013-07-11 18:41:40 +04:00
nightwing
09d0044e1e fix undo selection range after delete 2013-07-11 17:35:29 +04:00
nightwing
ba0e17fd0d fix #1510 ace_invalid appears on correct diff 2013-07-11 16:50:02 +04:00
DanyaPostfactum
3c046d2ada Update highlighting tests 2013-07-11 00:31:39 +10:00
DanyaPostfactum
88d9a61dc2 Fix xml_highlight_rules qstring_inner state name 2013-07-10 14:35:24 +10:00
Lennart Kats
3009163083 Merge pull request #1509 from ajaxorg/hotfix/build
fix #1508: jshint is broken in build
2013-07-09 08:23:07 -07:00
nightwing
a41a06ff33 escape . in regexp 2013-07-09 19:20:53 +04:00
nightwing
49967c139a fix typo in noworker detection 2013-07-09 18:22:35 +04:00
nightwing
38dc22b421 fix tests 2013-07-08 15:02:29 +04:00
nightwing
c5378b54e1 fix #1508: jshint is broken in build 2013-07-08 13:58:57 +04:00
nightwing
e3d14ab620 turn scrollPastEnd off by default 2013-07-07 14:40:53 +04:00
Ruben Daniels
a25a685d11 Merge pull request #1507 from ajaxorg/scroll_past_end
[WIP] scrollPastEnd
2013-07-07 02:31:37 -07:00
nightwing
1ad2602f8b add scrollPastEnd to demo 2013-07-07 13:02:57 +04:00
nightwing
8a6320bfd1 resize scrollbar for scrollPastEnd only when needed 2013-07-07 12:50:24 +04:00
nightwing
b97496009b scrollPastEnd 2013-07-07 12:48:53 +04:00
Lennart Kats
5585535d98 Merge pull request #1504 from ajaxorg/fix/build
Fix snippet loading in build
2013-07-07 01:03:44 -07:00
Lennart Kats
b1439f2bf8 Merge pull request #1487 from ajaxorg/highlighting/update
update sh and go highlighting
2013-07-07 01:00:56 -07:00
Ruben Daniels
65713e974b Merge pull request #1502 from ajaxorg/scrolling_issues
fix several small issues on mac
2013-07-06 03:48:01 -07:00
Ruben Daniels
62653ea5ba Merge pull request #1473 from ajaxorg/bgTokenizer
bgTokenizer worker should not redraw unnecessarily
2013-07-06 03:47:30 -07:00
Ruben Daniels
95e0f2fffd Merge pull request #1467 from ajaxorg/jshint
update jshint and coffee
2013-07-06 03:47:08 -07:00
nightwing
bbe87e41fa update tests 2013-07-04 14:42:40 +04:00
nightwing
d2be8aefc0 fix snippet loading in build 2013-07-04 14:31:42 +04:00
nightwing
3139b3964d fix #1500 too enthusiastic String replace in config.moduleUrl 2013-07-04 14:30:35 +04:00
nightwing
dd0880afb6 fix typo 2013-07-03 17:42:46 +04:00
nightwing
a8ac1b1e9a fix horizontal scrolling 2013-07-02 15:25:36 +04:00
DanyaPostfactum
98d6fac8fa Move html completion logic to html_completions.js 2013-07-02 19:42:43 +10:00
nightwing
1400d82d34 pull back changes from cloud9 2013-07-02 12:13:30 +04:00
Lennart Kats
cc0b6386aa Merge pull request #1496 from ajaxorg/fix/build
Fix build
2013-07-01 02:24:03 -07:00
nightwing
403e45a5dd fix vim folding commands 2013-07-01 00:09:15 +04:00
Tenor Biel
5f1a69a38e Add vim commands for folding 2013-07-01 00:01:30 +04:00
nightwing
4b8ab8eab9 fix ^ in vim mode on swedish keyboard on mac 2013-06-30 23:45:47 +04:00
nightwing
f6f3425cce use wheel event on new versions of Firefox
fixes #1466
2013-06-30 22:07:23 +04:00
DanyaPostfactum
297dbe63db Append empty value to inserted html attribute on completion 2013-07-01 04:05:22 +10:00
Harutyun Amirjanyan
6a87d9782b Merge pull request #1494 from danyaPostfactum/snippetcompleter
Show snippets in suggestion list
2013-06-30 10:07:24 -07:00
DanyaPostfactum
e1c86f453f add html completion 2013-07-01 01:43:05 +10:00
DanyaPostfactum
a5f4ecf597 add .getCompletions method to text mode 2013-07-01 01:42:40 +10:00
DanyaPostfactum
7ce86e24f1 use data.snippet in completions for snippet insertion 2013-07-01 01:23:14 +10:00
Harutyun Amirjanyan
2a40b37590 Merge pull request #1493 from buildersbrewery/master
Updates to LSL mode
2013-06-30 07:45:36 -07:00
Harutyun Amirjanyan
b860c2293c Merge pull request #1495 from ajaxorg/static_highlighter
fix #1492 $' breaks static-highligher
2013-06-30 07:44:33 -07:00
DanyaPostfactum
d276f10bcd add snippet completer 2013-06-30 04:07:24 +10:00
DanyaPostfactum
ca97c230f0 Proper comment rules in js syntax. 2013-06-29 17:41:16 +10:00
Lennart Kats
76fd4b1358 Merge pull request #1464 from ajaxorg/highlighting/markdown
Tweak heading and list highlighting in markdown mode
2013-06-28 15:15:25 -07:00
Lennart Kats
3e6d25c38f Merge pull request #1463 from ajaxorg/altgr
Do not capture alt-gr key
2013-06-28 15:14:34 -07:00
Builders Brewery
8c3527ec5b updated LSL mode
- added changes from
wiki.secondlife.com/wiki/Release_Notes/Second_Life_RC_LeTigre/13#13.06.21.277682
to highlight rules and snippets
- reviewed invalid grammar and text mode test
2013-06-28 17:42:57 +02:00
nightwing
2143c4daed make minified files ascii compatible 2013-06-28 19:38:02 +04:00
nightwing
c6143cf587 include theme/textmate in build 2013-06-28 19:38:02 +04:00
nightwing
adf7eebb5f fix tests 2013-06-28 19:22:21 +04:00
nightwing
071b936323 fix conflict between static highlighter and ace styles 2013-06-28 18:17:10 +04:00
nightwing
8068b01f21 fix #1492 $' breaks static-highligher 2013-06-28 18:15:54 +04:00
Ruben Daniels
81f7dd7fbb Merge pull request #1488 from ajaxorg/renderer
Renderer improvements
2013-06-27 07:55:22 -07:00
nightwing
f1e809294c fix #1490 Parsing Lua comments in the middle of line 2013-06-26 20:23:58 +04:00
nightwing
78585a9c5d add demo/autoresize.html 2013-06-25 23:50:00 +04:00
nightwing
0479acfea7 add option to autoresize editor vertically 2013-06-25 20:59:06 +04:00
DanyaPostfactum
969f94d98c Paint xml tag angle brackets in white (monokai theme) 2013-06-24 21:08:22 +10:00
DanyaPostfactum
722374581a Update svg Highlight rules 2013-06-24 21:06:54 +10:00
DanyaPostfactum
e2359b2f9f Let JS line comment rules be not greedy 2013-06-24 21:06:32 +10:00
DanyaPostfactum
25853c11a1 Use push/pop in css highlight rules 2013-06-24 21:04:28 +10:00
DanyaPostfactum
a6ba61e11a Inherit all HTML+server_side_directives rules from HTML rules. 2013-06-24 21:03:49 +10:00
DanyaPostfactum
7c6f40e41e Html HL rules now is extended xml rules 2013-06-24 20:56:33 +10:00
DanyaPostfactum
d358fe61b9 Allow no prefix in TextHighlightRules.addRules() 2013-06-24 20:53:37 +10:00
DanyaPostfactum
ed223cb7fd Rewrite xml rules. 2013-06-24 18:55:07 +10:00
DanyaPostfactum
5f2ee8b32b Prevent double prefixing of "included" rules 2013-06-24 18:53:09 +10:00
DanyaPostfactum
5a1948a695 Fix FreeMarker in ext/modelist 2013-06-24 18:42:40 +10:00
DanyaPostfactum
91884280e2 More stuff for twig sample 2013-06-24 18:41:57 +10:00
nightwing
b3e4d33e02 update scrollbar when inserting new line in the middle of the document
fixes regression from 9f1d8af937
2013-06-24 00:18:51 +04:00
nightwing
43f1788ad4 use fake horizontal scrollbar 2013-06-23 23:58:32 +04:00
nightwing
a6654eee9e update tests 2013-06-23 22:35:23 +04:00
nightwing
b9190d1e8d fix go string highlighting 2013-06-23 22:27:02 +04:00
nightwing
4b398798c0 highlight escapes in sh mode 2013-06-22 22:39:18 +04:00
Ruben Daniels
ea591e2149 Merge pull request #1479 from ajaxorg/pulreq
Fix timing issue with setting modes
2013-06-20 07:08:11 -07:00
nightwing
3667a15e8d add callback to setTheme as well 2013-06-20 18:04:36 +04:00
nightwing
855853139a small cleanup 2013-06-20 18:00:50 +04:00
nightwing
b01d4d5a6b treat whitespace words of length 1 the same as others
without this multicursor doesn't work in cases like

foo: bar
a:   baz
2013-06-20 17:57:10 +04:00
nightwing
4b51b9288f timing issue with setting modes 2013-06-20 17:57:09 +04:00
nightwing
2d9225326c cleanup 2013-06-19 21:38:11 +04:00
nightwing
2852638c45 fix initial highlighting in hidden editor 2013-06-19 21:25:39 +04:00
nightwing
0ba027c8bf fix failing test 2013-06-17 16:54:43 +04:00
nightwing
9197cc983c enable undo coalescence by default 2013-06-17 16:38:27 +04:00
nightwing
db4953c976 use operations for undo coalescence 2013-06-17 16:38:00 +04:00
nightwing
52e0b2d163 pressing ctrl+home second time should restore selection 2013-06-17 16:35:22 +04:00
nightwing
ec8b42c5e0 add start/endOperation 2013-06-17 16:30:09 +04:00
nightwing
b18b86b6c9 make undo coalescence configurable
off by default
2013-06-17 02:06:28 +04:00
Harutyun Amirjanyan
132d44462e Merge pull request #1475 from buildersbrewery/master
Update LSL mode
2013-06-16 14:47:51 -07:00
nightwing
ef2e2cdd11 move undo delta merging to the editor 2013-06-17 01:30:42 +04:00
DanyaPostfactum
277675525b Almost working draft of basic undo coalescence 2013-06-17 01:08:03 +04:00
nightwing
7798de7bd3 add selection.toJSON method 2013-06-17 00:58:11 +04:00
nightwing
f82c4df96a [Autocomplete] fix insertion of words containing - sign 2013-06-17 00:53:12 +04:00
nightwing
3026d78395 do not allow Replace after setReadOnly
fixes #1468
2013-06-17 00:53:12 +04:00
Builders Brewery
71d127f5fa updated LSL mode
lsl_highlight_rules.js:
- added stuff from RC Le Tigre 13.06.06.277104
- made stuff more readable while staying within 80 columns width

snippets.lsl
- sorted
- added stuff from RC Le Tigre 13.06.06.277104
2013-06-16 21:13:17 +02:00
nightwing
f45980feb7 fix FreeMarker mode name in modelist 2013-06-16 16:38:09 +04:00
nightwing
cdd122a540 fix hljs undefined error in main site 2013-06-16 11:46:54 +04:00
nightwing
6887c84b71 fix #1474 IE8: double click anywhere issues script error. 2013-06-16 11:45:58 +04:00
nightwing
774098f243 event target isn't defined on ie8 2013-06-13 23:42:41 +04:00
nightwing
069bbda6a6 bgTokenizer worker should not redraw unnecessarily 2013-06-13 21:57:29 +04:00
nightwing
d2f7247e58 add missing snippets.tmpl.js 2013-06-11 22:06:00 +04:00
nightwing
7df0b59c13 fix tests 2013-06-11 14:57:31 +04:00
nightwing
505847681d update jshint and coffee 2013-06-11 14:24:57 +04:00
Lennart Kats
fa13f377e1 Merge pull request #1189 from ajaxorg/feature/codecomplete
Implement basic code completion
2013-06-10 17:09:18 -07:00
nightwing
db1118c258 fix typo 2013-06-09 18:57:49 +04:00
nightwing
156d9a7eeb load snippet files automatically 2013-06-09 18:11:45 +04:00
nightwing
af2a2e272b revert change to config.js 2013-06-09 01:09:48 +04:00
nightwing
917e4b925c fix typo in clojure mode 2013-06-09 01:06:25 +04:00
Harutyun Amirjanyan
89c42264c0 Merge pull request #1427 from gbedardsice/master
Text mode keeps indentation
2013-06-08 13:57:53 -07:00
nightwing
b36c4c67b2 include split in build 2013-06-09 00:55:57 +04:00
nightwing
ac9bb727cc revert to simpler range tracking model for now 2013-06-09 00:50:25 +04:00
nightwing
35a9dc5ba1 hide the popup when editor is scrolled 2013-06-09 00:29:21 +04:00
nightwing
b46250ffa1 update markdown test 2013-06-08 18:49:44 +04:00
nightwing
186e6b1b86 use markup.heading for # and heading for the defaultToken
fixes #1457
2013-06-08 18:34:42 +04:00
nightwing
6479dd998f move underline to core styles 2013-06-08 18:26:45 +04:00
nightwing
d4bdfe3300 do not capture alt-gr key 2013-06-08 17:17:48 +04:00
Gabriel Bédard Sicé
6e9653451c Fix #1427 Added plain text mode that does not keep indentation 2013-06-06 15:28:56 -04:00
nightwing
36c166b9ed force using tabs in makefile and snippets modes 2013-06-05 23:35:15 +04:00
nightwing
c223f59e1a add scope to snippets.js files 2013-06-05 23:35:15 +04:00
nightwing
c2b7d1f082 better style for match highlight in popup 2013-06-05 23:35:15 +04:00
nightwing
f6f475747b style improvements 2013-06-05 23:35:15 +04:00
nightwing
a399d1440a cleanup 2013-06-05 23:35:14 +04:00
nightwing
df115ba659 add snippets placeholder files for all languages 2013-06-05 23:35:14 +04:00
nightwing
68ebf08e8c cleanup 2013-06-05 23:35:14 +04:00
nightwing
dc198344d5 revert changes to worker 2013-06-05 23:35:14 +04:00
nightwing
5c1db2dbcc tweak the popup some more 2013-06-05 23:35:14 +04:00
nightwing
7293bb142f fix popup 2013-06-05 23:35:14 +04:00
Garen Torikian
06c10fb934 One more test fix 2013-06-05 23:35:14 +04:00
Garen Torikian
6f17611ebf Fix failing test 2013-06-05 23:35:14 +04:00
Garen Torikian
b811f1dc3f Fix rerender on text insertion 2013-06-05 23:35:14 +04:00
Garen Torikian
cd19233b31 Improve UX, drop dead code 2013-06-05 23:35:13 +04:00
Garen Torikian
69e41521e6 Add autocompletion for language keywords
Conflicts:

	lib/ace/edit_session.js
2013-06-05 23:35:13 +04:00
Garen Torikian
818dba5dba Some added UX behaviors 2013-06-05 23:35:13 +04:00
Garen Torikian
ef19fdbcb5 First pass at Haurtyun UI + C9 doc parsing 2013-06-05 23:35:13 +04:00
Garen Torikian
e43bee07e2 Get rid of my junk 2013-06-05 23:35:13 +04:00
Garen Torikian
dcdcd81584 Fix it up 2013-06-05 23:35:13 +04:00
Garen Torikian
b1322002ab Merge updates 2013-06-05 23:35:13 +04:00
Garen Torikian
5fa87f83e7 Bring in Harutyun's code 2013-06-05 23:35:13 +04:00
nightwing
a640e4ce05 add autocompleter 2013-06-05 23:35:12 +04:00
Garen Torikian
dbca4444bf Implement keybindings and such 2013-06-05 23:35:12 +04:00
Garen Torikian
808bb95538 Let us begin 2013-06-05 23:35:12 +04:00
nightwing
290cf191d5 update documentation 2013-06-04 23:17:35 +04:00
Mostafa Eweda
1e2ab5de00 Merge pull request #1454 from ajaxorg/theme_update
Set background color on the root element instead of scroller
2013-06-03 09:31:28 -07:00
Harutyun Amirjanyan
0c3c29d08a Merge pull request #1456 from buildersbrewery/master
Moved constants URL_REQUEST_DENIED and URL_REQUEST_GRANTED within LSL Mode to correct type group
2013-06-03 09:01:19 -07:00
Builders Brewery
8aed2b0b16 moved not-yet-implemented constants 2013-06-02 18:45:26 +02:00
Builders Brewery
f86f3ecebf minor bug fix 2 2013-06-02 15:42:44 +02:00
Builders Brewery
99826bcbed minor bug fix 2013-06-02 15:36:47 +02:00
Builders Brewery
9c1280fe5a moved URL_REQUEST_DENIED and URL_REQUEST_GRANTED to string constants group 2013-05-31 22:24:40 +02:00
Harutyun Amirjanyan
0a1aceda25 Merge pull request #1432 from buildersbrewery/master
LSL updates
2013-05-30 14:46:52 -07:00
Builders Brewery
78ca93fb16 updated LSL mode
...
2013-05-30 22:42:01 +02:00
Lennart Kats
cb6fce18b3 Merge pull request #1449 from ajaxorg/newclient_update
changes from newclient
2013-05-30 02:49:46 -07:00
nightwing
0c1a22b3db softer colors for indentguides 2013-05-29 21:32:14 +04:00
nightwing
9bed019fee prefer // comment in php 2013-05-29 16:08:57 +04:00
nightwing
968688fb40 move background color to the root element 2013-05-29 00:22:30 +04:00
nightwing
261e6cfc05 fix ruby unindent behavior
fixes #1451
2013-05-28 23:49:38 +04:00
Harutyun Amirjanyan
0e1d74622b Merge pull request #1446 from LivelyKernel/emacs-fixes
Emacs fixes
2013-05-27 13:15:55 -07:00
Harutyun Amirjanyan
d40a9a228f add changes from newclient 2013-05-27 12:27:06 -04:00
Harutyun Amirjanyan
cc27ed4efa add action attribute to changeFold events 2013-05-27 12:12:55 -04:00
Harutyun Amirjanyan
9a170dcd03 do not throw if require.toUrl is missing 2013-05-27 12:08:45 -04:00
Harutyun Amirjanyan
60c882738c fix tag highlighting in velocity mode 2013-05-27 11:51:55 -04:00
Harutyun Amirjanyan
8530e3837a add wrap_with_abbreviation emmet command 2013-05-27 11:49:38 -04:00
Robert Krahn
5c219162cc emacs: push mark of isearch start when isearch successful 2013-05-27 07:35:01 -07:00
Robert Krahn
766b07e330 emacs: less eager pushMark 2013-05-27 07:34:19 -07:00
Robert Krahn
5b2ee4f789 emacs: fix typo 2013-05-26 22:19:35 -07:00
Robert Krahn
b11e88885d emacs: allow count prefixes bigger than 9
example: C-1 C-8 C-f to move 18 chars forward
2013-05-26 22:02:12 -07:00
Robert Krahn
a16380eaea emacs: fix bindKey
register all partial key combos as null commands
to be able to activate key combos with arbitrary length
Example: if keyPart is "C-c C-l t" then "C-c C-l t" will
get command assigned and "C-c" and "C-c C-l" will get
a null command assigned
2013-05-26 21:27:57 -07:00
Robert Krahn
0ea9428cd8 emacs: C-u C-x C-x fix (exchangePointAndMark) 2013-05-26 21:27:57 -07:00
Robert Krahn
e3ea71bb12 emacs: C-u C-space fix (setMark) 2013-05-26 21:27:57 -07:00
Robert Krahn
ab2021bdd8 emacs: fix handling of universalArgument, it sets data.count to 4 2013-05-26 21:27:57 -07:00
Robert Krahn
c084a8a34a emacs: fix copy event handler 2013-05-26 21:27:57 -07:00
Robert Krahn
6b01dde666 emacs: use mark ring instead of single mark 2013-05-26 21:27:56 -07:00
Robert Krahn
353958b98c emacs: exchangePointAndMark uses last mark if selection empty 2013-05-26 21:27:56 -07:00
Robert Krahn
1172f5cb3d emacs: adding mark-ring 2013-05-26 21:27:56 -07:00
Robert Krahn
0a774fbb37 emacs: deactivate mark on kill-ring-save 2013-05-26 21:27:56 -07:00
Robert Krahn
ee76ccad19 emacs: add contents of copy/cut editor events to killring 2013-05-26 21:27:56 -07:00
Robert Krahn
259d48ea1a fix exitMultiSelectMode 2013-05-26 21:27:56 -07:00
Robert Krahn
a7cccae039 fixing emacs multiselect cut/copy/paste 2013-05-26 21:27:56 -07:00
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
Harutyun Amirjanyan
908c29502d Merge pull request #1443 from abramadams/master
Added highlighting for cfscript blocks
2013-05-23 06:52:47 -07:00
Abram Adams
eee8d5d37f Added highlighting for cfscript blocks 2013-05-22 15:31:54 -07:00
nightwing
d7501b5b1a fix #1315 '#' symbol and preprocessor directive can be separated with spaces 2013-05-21 22:41:27 +04:00
nightwing
2f5ef19f83 fix #1326 L|UL|ULL highlighting in c++ numbers 2013-05-21 22:41:26 +04:00
Ruben Daniels
133d132c61 Merge pull request #1392 from ajaxorg/toggleComment
try to not remove spaces from indentation when uncommenting
2013-05-21 04:02:53 -07:00
nightwing
a5e7d5d1f1 fix comment toggling on lines with wrong indentation 2013-05-20 19:38:42 +04:00
Lennart Kats
d14888a8a0 Merge pull request #1438 from ajaxorg/keyboard/meta
add support for meta key modifier on windows
2013-05-20 08:06:41 -07:00
Lennart Kats
a461d49809 Merge pull request #1439 from ajaxorg/vim/ctrl_c
vim ctrl-c acts as esc
2013-05-20 08:04:47 -07:00
nightwing
8fe616edb1 add more modes 2013-05-20 18:00:48 +04:00
nightwing
4524faae04 update list of sites using ace 2013-05-18 16:06:22 +04:00
nightwing
4e3506244b [markdown mode] recognize escapes
fixes #1434
2013-05-18 11:02:09 +04:00
nightwing
c0080911e5 vim ctrl-c 2013-05-18 01:38:05 +04:00
Lennart Kats
7ce0ee557b Merge pull request #1415 from ajaxorg/highlighting/bugfix
Highlighting bugfix
2013-05-17 08:39:14 -07:00
Ruben Daniels
62a3954b22 Merge pull request #1430 from ajaxorg/misc
several small bugs
2013-05-15 09:33:22 -07:00
nightwing
40775f68b1 fix config test 2013-05-14 20:12:49 +04:00
nightwing
ebafdd419d fix animated scroll in multiselect mode 2013-05-14 19:18:59 +04:00
nightwing
38c97ee467 do not use Object.create in loader. It runs before fixoldbrowsers.js
fixes #1428
2013-05-14 14:20:39 +04:00
Harutyun Amirjanyan
f68b8b9719 Merge pull request #1425 from danyaPostfactum/misc
Micro bug fixes (IE8 issues and mistypes)
2013-05-12 11:19:05 -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
127b769c50 fix typo 2013-05-11 16:38:58 +04:00
Lennart Kats
527cb626c5 Merge pull request #1416 from ajaxorg/insertlines
fix insert/removeLines at the document edges
2013-05-11 05:31:57 -07:00
Lennart Kats
ef580c11ed Merge pull request #1409 from ajaxorg/changelog
Update ChangeLog
2013-05-11 05:28:19 -07:00
Lennart Kats
e6255c43f8 Update ChangeLog.txt 2013-05-11 15:27:52 +03:00
nightwing
055a9a5f84 add cursor: pointer; to foldWidgets 2013-05-11 14:33:08 +04:00
nightwing
441dfbad30 fix getOptions 2013-05-11 13:05:25 +04:00
nightwing
9d81d0e6bb fix typo 2013-05-11 13:05:25 +04:00
Harutyun Amirjanyan
8ed6eabc12 Merge pull request #1418 from Joonsoo/master
Dirty check bug fixed
2013-05-10 11:43:26 -07:00
Harutyun Amirjanyan
43e4184fa8 Merge pull request #1421 from ajaxorg/better-marker
add extraStyle parameter to marker layer
2013-05-10 11:41:55 -07:00
Mostafa Eweda
50fbdac285 add extraStyle parameter to marker layer 2013-05-10 11:25:27 +02:00
nightwing
d9aa73792c update ChangeLog 2013-05-09 21:31:34 +04:00
nightwing
a09165c64b fix #1417 vbFalse typo 2013-05-09 19:50:14 +04:00
nightwing
da16d98db6 fix broken link in documentation 2013-05-09 17:38:19 +04:00
nightwing
e84ec9e27a do not autoclose tags inside of strings 2013-05-09 15:22:14 +04:00
nightwing
c4aa28793f fix tests 2013-05-09 15:10:46 +04:00
nightwing
790bc5e87a add erb mode 2013-05-09 15:10:46 +04:00
nightwing
d3cc3ab5aa do not autoclose tags after %#? etc 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
nightwing
d7b62038c0 disable broken r behaviors 2013-05-09 15:10:46 +04:00
nightwing
5e2ee7a45e update tests 2013-05-09 15:10:46 +04:00
nightwing
e0334c6f6c fix embedding of rules with push/pop 2013-05-09 15:10:46 +04:00
nightwing
2adc4c7c96 fix python string highlighting 2013-05-09 15:10:46 +04:00
nightwing
5c9ebf6ce8 insert/removeLines at the document edges create deltas with wrong range 2013-05-09 14:08:22 +04:00
nightwing
c2a50de10e fix tests 2013-05-09 13:47:21 +04:00
nightwing
d7ea9d6a52 try to not remove spaces from indentation when uncommenting 2013-05-09 13:47:21 +04:00
nightwing
59f4c367dd code style 2013-05-09 13:41:18 +04:00
nightwing
5fc0e0b26e do not call unshift in getTextRange 2013-05-09 13:41:18 +04:00
Joonsoo Jeon
f7a4338ae0 dirty counter bug fixed 2013-05-09 16:12:34 +09:00
nightwing
912b379848 add support for meta key modifier on windows 2013-05-08 19:05:12 +04:00
Lennart Kats
4eff803f31 Merge pull request #1411 from ajaxorg/emmet
Emmet bugfix
2013-05-07 04:52:38 -07:00
Harutyun Amirjanyan
8995ac1965 Merge pull request #1410 from Joonsoo/master
Dirty check functionality added into UndoManager
2013-05-07 04:33:44 -07:00
Joonsoo Jeon
2baffd3256 indentation fixed 2013-05-06 10:25:12 +09:00
Joonsoo Jeon
62e31657ca markClean and isClean added into UndoManager 2013-05-03 17:51:13 +09:00
nightwing
a1fdd1bebc allow canceling commands in multi_select mode 2013-05-02 19:37:11 +04:00
nightwing
db4bd7ffd1 display emmet shortcuts in keybindings menu 2013-05-02 19:36:55 +04:00
nightwing
563a38700d fix #1407 Emmet breaks blockindent 2013-05-02 19:36:24 +04:00
nightwing
01224f9509 more sites using ace 2013-05-02 19:36:23 +04:00
nightwing
d300d0402e fix missing var in modelist 2013-05-02 19:32:12 +04:00
Harutyun Amirjanyan
7a6fa8abb5 Merge pull request #1408 from SourceR85/master
Fix errors in demo-files
2013-05-02 08:01:59 -07: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
Lennart Kats
60f49118c0 Merge pull request #1403 from ajaxorg/mini_require
compatibility with architect-build
2013-05-01 06:07:20 -07:00
Lennart Kats
342bb71a3a Merge pull request #1406 from ajaxorg/ime
fix chinese Ime handling on windows
2013-05-01 06:06:37 -07:00
Lennart Kats
cf4a34e7f7 Merge pull request #1405 from ajaxorg/stop_keypress
fix ctrl-tab keybinding on firefox
2013-05-01 06:05:40 -07:00
nightwing
4d2afc9d1c fix ctrl-tab keybinding on firefox 2013-05-01 14:12:30 +04:00
nightwing
71ae26759a fix typo 2013-04-30 23:10:49 +04:00
nightwing
af77bb00f8 increase requirejs waitSeconds 2013-04-30 16:42:38 +04:00
Harutyun Amirjanyan
855426e2f5 Merge pull request #1404 from rgriffith/velocity_mode_lt_operator_improvements
Fixed another regex for keyword.operator to include <
2013-04-30 04:34:56 -07:00
Ryan Griffith
2bad571374 Fixed another regex for keyword.operator to include < 2013-04-30 07:28:20 -04:00
nightwing
a443507f00 add more sites 2013-04-30 13:46:44 +04:00
nightwing
6d4b91f89f linux ime 2013-04-30 13:29:29 +04:00
nightwing
09bc6119d4 fix ime issues 2013-04-30 12:19:04 +04:00
Harutyun Amirjanyan
9ccdc8c484 Merge pull request #1402 from rgriffith/velocity_mode_lt_operator_improvements
Velocity mode less than operator improvements
2013-04-29 14:34:39 -07:00
nightwing
ea31c9fac6 simplify require used in worker 2013-04-30 01:30:44 +04:00
nightwing
23f9f6f849 allow exporting function in mini_require.js 2013-04-30 01:04:00 +04:00
Ryan Griffith
14c897972c Fixed regex for keyword.operator to include <. Adjusted regex for meta.tag due to issue where any < sign is treated as a meta.tag, including conditionals within Velocity. 2013-04-29 16:53:05 -04:00
nightwing
846f712969 cleanup and merge pull #1370 update lsl mode 2013-04-29 23:40:38 +04:00
nightwing
22d6d4132c fix lsl string escapes 2013-04-29 23:38:17 +04:00
Builders Brewery
d15dfadbd3 added "print" to invalid.illegal 2013-04-29 23:20:26 +04:00
Builders Brewery
2a089797c6 added constants from RC MAGNUM 13.04.19.274352
CONTENT_TYPE_ATOM, CONTENT_TYPE_FORM, CONTENT_TYPE_JSON,
CONTENT_TYPE_LLSD, CONTENT_TYPE_RSS, CONTENT_TYPE_XHTML,
CONTENT_TYPE_XML
2013-04-29 23:20:26 +04:00
Builders Brewery
fe46c0fee7 added ATTACH_AVATAR_CENTER and ATTACH_NECK 2013-04-29 23:20:26 +04:00
Builders Brewery
745ee98e4a ... 2013-04-29 23:20:26 +04:00
Builders Brewery
bbd8721a02 trying to fix udf regex for LSL 2013-04-29 23:20:25 +04:00
Builders Brewery
e0e6c38d17 fixed regex to match user defined function in LSL 2013-04-29 23:20:25 +04:00
Builders Brewery
36083cbfe8 unindented back as before 2013-04-29 23:20:25 +04:00
Builders Brewery
a39212bd0d added missing comma and fixed call in lsl.js .....now still have to fix regex line 311 in lsl_highlight_rules.js 2013-04-29 23:20:25 +04:00
Builders Brewery
b1d7fc7557 attempting to fix LSL for Ace 2013-04-29 23:20:25 +04:00
nightwing
f7a17ac67d smaller demo file 2013-04-29 23:19:25 +04:00
Harutyun Amirjanyan
9b8090bf0b Merge pull request #1383 from rgriffith/velocity_mode_improvement
Improvement to HTML comments
2013-04-29 01:58:42 -07:00
Ryan Griffith
f380abf51c Adjusted to comment section tokens based on recommendation. 2013-04-26 14:57:17 -04:00
Harutyun Amirjanyan
d25dcebc12 Merge pull request #1399 from joelmoss/patch-1
Fixed require path in settings menu demo
2013-04-26 05:28:00 -07:00
Joel Moss
5d5f509bf1 Fixed require path in settings menu demo 2013-04-26 14:25:09 +02:00
Harutyun Amirjanyan
ce9adfe4ee Merge pull request #1395 from ajaxorg/fix/searchAll
Fix for replaceAll in a range. Fix for no session ace
2013-04-25 03:07:30 -07:00
Ruben Daniels
9796369696 Fix for replaceAll in a range. Fix for no session ace 2013-04-24 21:12:48 +00:00
Harutyun Amirjanyan
f7d70f4a8c Merge pull request #1387 from rgriffith/folder-widget-css-improvement
Adjust fold-widget visibility based on folding-enabled
2013-04-24 13:07:07 -07:00
Harutyun Amirjanyan
0c4ca1872c Merge pull request #1394 from rgriffith/ie8_xml_folding_fix
Addresses an issue where IE8 does not properly handle the RegExp in _par...
2013-04-24 13:04:33 -07:00
Ryan Griffith
73ad243936 Addresses an issue where IE8 does not properly handle the RegExp in _parseTag, causing folding not to work for the XML mode (or modes that inherit XML). Tested XML mode in IE8/9 and major browsers. Should resolve ajaxorg/ace#1384 2013-04-24 15:23:48 -04:00
Lennart Kats
985566b38d Merge pull request #1391 from ajaxorg/cleanup
Cleanup
2013-04-24 03:49:41 -07:00
Ryan Griffith
365dba6006 Adjust fold-widget visibility based on folding-enabled
Slight adjustment to the visibility of `.ace_fold-widget` so that when the `.ace_folding-enabled` flag is toggled, so is the widget's visibility. This addresses the issue where the left-most edge of the folding widgets may still be visible after disabling code. folding
2013-04-23 10:16:28 -03:00
nightwing
9d453a158d Insert charset utf8 for static highlighter demo
fixes #1385
2013-04-23 09:17:49 +04:00
Ryan Griffith
d0709fea87 Improvement to HTML comments
Fixed issue where HTML comments were not properly ending, causing all code after the start comment tag to appear commented out.
2013-04-22 11:18:24 -03:00
nightwing
796fb32cc2 some coffeescript errors can be detected only with compile 2013-04-20 18:27:06 +04:00
nightwing
6e8989095c add MultiPlay.io to the list of sites 2013-04-20 17:00:30 +04:00
nightwing
12bb135b54 update perf-test.html 2013-04-20 16:57:20 +04:00
nightwing
9dd309469c fix typo in getFontSize 2013-04-20 16:49:34 +04:00
Harutyun Amirjanyan
b85c899755 do not include spaces in clojure symbols 2013-04-19 19:10:56 +04:00
Ruben Daniels
076eeb8cab Merge pull request #1345 from ajaxorg/toggleComment
Toggle comments
2013-04-18 08:48:08 -07:00
Ruben Daniels
ef2b2bd1be Merge pull request #1368 from ajaxorg/multiselect_paste
Fix multiselect copy and paste
2013-04-18 08:47:19 -07:00
nightwing
758f500b4a Merge pull request #1378 update coffeeScript 2013-04-18 18:09:58 +04:00
nightwing
c6e4e4fa1d add more tests 2013-04-18 18:07:14 +04:00
nightwing
4dd3475fd9 pass line information from coffee parseErrors to the worker 2013-04-18 17:31:01 +04:00
nightwing
2f9a6e5ba7 update require and luaparse 2013-04-18 16:52:10 +04:00
nightwing
cf9ef326ae fix modecreator 2013-04-18 16:51:25 +04:00
Michal Srb
5a5439fd05 updated CoffeeScript to 1.6.2 2013-04-18 14:13:17 +02:00
nightwing
03f6c8fda8 tweak clojure symbol highlighting 2013-04-18 10:20:41 +04:00
nightwing
94e919ad82 fix #1372 . in clojure symbols isn't highlighted 2013-04-17 22:20:50 +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
635da1f2ea temporary workaround for tokenizer not working for rules ending with $ 2013-04-17 16:12:44 +04:00
nightwing
b54a00cb4d add ini mode 2013-04-17 15:52:56 +04:00
nightwing
689ebf8b48 highlight last search result when searchbox is focused 2013-04-16 22:24:40 +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
62a25b0ce6 fix setting for keybinding 2013-04-15 11:03:44 +04:00
nightwing
63551228ee update styling and clean up demos 2013-04-15 00:19:08 +04:00
nightwing
5894667b41 update code formatting, and general cleanup 2013-04-13 23:07:36 +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
a37b9ac53a adds modelist to extensions
I copied the modelist.js file from the kitchen sink demo and added doc
comments to the exported methods.

This module would be extremely helpful to anyone implementing a menu
system or who wanted to programatically switch rendering modes based on
the file extension of the file loaded into ace. I can think of several
use cases for it already. (1) in the settingsMenu branch. (2) in
supporting theme switching for anyone implementing drag and drop support
for loading files into the editor (3) in supporting theme switching for
sites implementing their own file picker dialogues and loading content
into ace through xmlhttprequest (4) in supporting filebrowser / editor
applications where a server could be set up to display file contents in
an ace editor as users browsed to arbitrary files. (5) etc. etc.

Had I known about it when I began writing the settingsMenu branch I
would have used it.
2013-04-13 20:55:07 +04:00
Matthew Kastor
408b190bb0 refactored settings menu extension 2013-04-13 20:53:41 +04:00
Matthew Kastor
60616deec0 add_editor_menu_options uses themelist to generate theme options 2013-04-13 20:53:41 +04:00
Matthew Kastor
5ea87bd96d themelist consumes themes.js & mimics modelist 2013-04-13 20:53:41 +04:00
Matthew Kastor
2107796de5 autogenerated themes.js during build 2013-04-13 20:53:41 +04:00
Matthew Kastor
dd33d82528 build now generates themes.js
This module simply exports an array of themes available so we can use
it.
2013-04-13 20:53:41 +04:00
Matthew Kastor
47329e944f Merge modelist branch & use it
This branch now depends on the modelist being pulled in as a module. I'm
using the modelist to generate the menu options for switching modes
because it's redundant to have the same massive list in two places.

The modelist module also has some awesome features so I choose it over
my silly list. :D
2013-04-13 20:53:41 +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
7aac105a07 augments Editor.prototype 2013-04-13 20:52:50 +04:00
Matthew Kastor
f5500fefc4 adds demo show_keyboard_shortcuts 2013-04-13 20:52:50 +04:00
Matthew Kastor
d531866663 augments Editor.prototype 2013-04-13 20:52:50 +04:00
Matthew Kastor
b1ac371387 fixes esc event listener removal 2013-04-13 20:52:50 +04:00
nightwing
fb9bc6d3f4 prettifies menu option labels
removes "set" adds space before uppercase letters.

focus handling

focus handling
2013-04-13 20:52:50 +04:00
Matthew Kastor
9e9cdb3c48 removes commands from default commands 2013-04-13 20:52:22 +04:00
Matthew Kastor
0631a708bc removes requires from Editor 2013-04-13 20:49:46 +04:00
Matthew Kastor
b0e496de88 moved utilities to subdirectory 2013-04-13 20:49:46 +04:00
Matthew Kastor
ccae5bd8d5 remove console.log 2013-04-13 20:49:46 +04:00
Matthew Kastor
be52f7316a fix typo 2013-04-13 20:49:46 +04:00
Matthew Kastor
8244231254 adds support for closing menus by pressing esc 2013-04-13 20:49:46 +04:00
Matthew Kastor
0a289d2468 removed left property assignment
When the editor takes up the entire window and the window is only half
the size of my screen, the menus get crunched up horribly.  I'll provide
for closing the overlay by pressing esc in case the overlay's contents
take up the entire screen.

If ace is to be used in very small frames then implementors will need to
provide styling information in css to control how the settings menu
looks.
2013-04-13 20:49:46 +04:00
Matthew Kastor
24a00578c6 removed unnecessary function
since I've moved the functions to the editor and session objects
themselves I can get rid of this.
2013-04-13 20:49:46 +04:00
Matthew Kastor
b0c08dced1 adds setWrapLimit to session 2013-04-13 20:49:45 +04:00
Matthew Kastor
340f004fd0 adds getFontSize to editor 2013-04-13 20:49:45 +04:00
Matthew Kastor
1518a460ae adds description to kb & settings menu methods 2013-04-13 20:49:45 +04:00
Matthew Kastor
f6d1c1167c adds show kb & settings menu to editor 2013-04-13 20:49:45 +04:00
Matthew Kastor
c9f0439cf3 add license block 2013-04-13 20:48:57 +04:00
Matthew Kastor
c695db475a set wrap limit wraps within 20 chars 2013-04-13 20:48:57 +04:00
Matthew Kastor
6b1e90fbc7 fixed position to avoid scrolling away
The overlay menu should remain visible when scrolling a long page.  The
intention is to present information on demand and not leave the menu on
screen. If allowed to scroll away the remaining element could interfere
with the page.
2013-04-13 20:48:57 +04:00
Matthew Kastor
cc4d524a8a prettified settings menu 2013-04-13 20:47:21 +04:00
Matthew Kastor
52a1dffa9f menus will open only 1 at a time per menu. 2013-04-13 20:47:21 +04:00
Matthew Kastor
4ec0a6e706 prettified kb menu 2013-04-13 20:46:24 +04:00
Matthew Kastor
3bca16ac73 fix top margin on kb shortcuts menu 2013-04-13 20:46:24 +04:00
Matthew Kastor
fb7152cb10 prettified generic menu 2013-04-13 20:46:24 +04:00
Matthew Kastor
baaf4dd0b4 Separated logic from presentation, lowercased file names
I pulled the code for generating the menu out into its own module called
overlay_page. I pulled the code for generating a menu, using
overlay_page, out into its own module called show_keyboard_shortcuts.
The logic for getting a list of keyboard shortcuts pertinent to the
current operating system is by itself in the module
get_editor_keyboard_shortcuts. This should make it easy for anyone to
change the appearance of the menu without worrying about breaking the
code which fetches the data.
2013-04-13 20:42:55 +04:00
Matthew Kastor
d4f4758b17 adds keyboard shortcuts menu
I'm not set on the keybinding or the aesthetics of this. please change
them at will. The main goal here is to provide some method to list all
the keyboard shortcuts dynamically. I mean that when new shortcuts are
added they should automatically be put into this menu without anyone
writing any extra code. The menu provides a way for end users to easily
discover the many built in functions accessible through the keyboard.

Admittedly the current keybinding to display this menu is not very
convenient or easily guessed. I like the way that the textarea version
of ace presents a single clickable corner that is easily identified by
users. It would be cool to make this pretty and obvious.
2013-04-13 20:42:08 +04:00
Matthew Kastor
cd2bef9754 clarified comment on createNewEntry 2013-04-13 20:40:06 +04:00
Matthew Kastor
2ea0faf97b fixed typo in comment 2013-04-13 20:40:06 +04:00
Matthew Kastor
1d631b5ca1 Separated logic & presentation, lowercased file names
I lowercased the file names. I've separated the code to generate an
overlay menu out into a module called overlay_page, it is the same code
as is in my other pull request for the keyboard shortcuts menu. It
should be easy enough to change the way it looks and behaves without
worrying about breaking anything. I've pulled code out into a module
called element_generator because it is pretty generic and isn't
concerned with gathering data for the settings menu. The element
generator can be reused and augmented but there is the possibility that
modules depending on it could break. show_settings_menu depends on the
element_generator. As it collects data it generates generic elements and
attaches event listeners to them.  The massive list of options has been
moved into its own module for two reasons (1) it makes maintaining
show_settings_menu much easier and (2) this is the only part of the menu
which has to be updated manually. We may be able to add something to the
build system to automatically generate this module based on which modes
and themes are found to alleviate us from having to remember to add said
options in when new themes and modes are added.
2013-04-13 20:40:06 +04:00
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
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
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
Harutyun Amirjanyan
24e09e8056 Merge pull request #1369 from nguillaumin/properties-mode
Added .properties files mode
2013-04-13 06:35:34 -07: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
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
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
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
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
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
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
nightwing
ad9f919eed fix toggleComment with blank lines 2013-03-31 20:51:13 +04: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
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
Harutyun Amirjanyan
5fd8d7bbc8 Merge pull request #1334 from LivelyKernel/occur-with-isearch
Occur with isearch
2013-03-30 02:53:37 -07: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
Harutyun Amirjanyan
7ee9300df3 Merge pull request #1332 from akumpf/patch-1
Update Chaos.css to include indent-guide and fold
2013-03-28 11:30:32 -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
Lennart Kats
f118db4560 Merge pull request #1329 from ajaxorg/searchbox
logiQL
2013-03-27 08:41:33 -07:00
nightwing
74a66575f3 restart search after toggling option 2013-03-27 15:41:15 +04:00
nightwing
57cb18fa00 fix typo 2013-03-27 15:41:15 +04:00
nightwing
74f38ffd6a add autoindent after { and brace pairing for logiql 2013-03-27 15:41:15 +04:00
nightwing
41438b75b7 early error on tokenLength/matchCount mismatch 2013-03-27 15:41:15 +04:00
nightwing
7f76f0b81c fix setAutoScrollEditorIntoView and use in demo page 2013-03-27 15:41:15 +04:00
nightwing
dce629169d tweak searchbox options 2013-03-27 15:41:14 +04:00
Matthew Kastor
38a96a2a32 Adds search options to find / find&replace
I use regex searches all the time for finding and replacing text
so I changed the searchbox extension a little bit to do what I want.
I added in the whole word and case sensitive options too. It works
nicely and updates the highlighted bits when the checkboxes change.
2013-03-27 15:41:14 +04:00
Harutyun Amirjanyan
b04a519b9c Merge pull request #1327 from ajaxorg/dont_build_on_install
don't build on install
2013-03-27 04:35:32 -07:00
Fabian Jakobs
7db53313b7 don't build on install 2013-03-26 12:39:45 +00:00
Lennart Kats
dd5c9954db Merge pull request #1192 from ajaxorg/tmSnippets
Add support for TextMate snippets
2013-03-25 11:41:05 -07:00
Ruben Daniels
0d303296fe Merge pull request #1318 from ajaxorg/hotfix/ie8
Hotfix/ie8
2013-03-24 09:35:44 -07:00
Ruben Daniels
91afcc5800 Merge pull request #1323 from ajaxorg/newclient
Newclient
2013-03-24 09:35:25 -07:00
nightwing
5d97f70a4e properly remove old selectionMarkers 2013-03-24 19:29:40 +04:00
nightwing
2d90f50491 properly cleanup multiselect when changing session 2013-03-24 19:29:40 +04:00
nightwing
9cc74437c2 fix theme==undefined in cloud9 splitview 2013-03-24 19:29:40 +04:00
nightwing
339bf10335 fix infinite loop when editor height is 0
fixes #1322
2013-03-24 19:29:40 +04:00
nightwing
771d861bd5 remove styles for occur-highlight from editor.css 2013-03-23 17:47:18 +04:00
nightwing
98b3bded77 Merge pull request #1314
Add Occur mode
2013-03-23 16:25:43 +04:00
nightwing
9d4faf8911 Merge pull request #1293
Incremental search
2013-03-23 16:21:35 +04:00
nightwing
d091abc397 Merge pull request #1277 from h3rb/master
Simply adding 1 more mode for Tiny Mushcode (a common research language like LISP)
2013-03-23 15:55:41 +04:00
nightwing
311e708da3 remove unneeded margin for brackets in terminal.css 2013-03-23 15:48:56 +04:00
h3rb
bac45dd0bb Fixed misnomer
ace_bracket-bad -> ace_bracket-unmatched
2013-03-23 15:33:21 +04:00
h3rb
f7a542a86c Naming / color updates to bracket-related css 2013-03-23 15:30:02 +04:00
h3rb
00c5b8cecc Refinement
Includes proper MUSH substitution/register highlighting
2013-03-23 15:29:49 +04:00
h3rb
7099a2604c Added support to terminal theme for bad/start brace 2013-03-23 15:28:59 +04:00
h3rb
9e3f1e663d Update tmtheme.js
Adding "Terminal" theme support
2013-03-23 15:23:59 +04:00
h3rb
7809bff119 Update mode_creator.js
Adding "Terminal" theme support
2013-03-23 15:23:59 +04:00
h3rb
b059930cba Update perf-test.html
Adding Terminal theme support
2013-03-23 15:23:59 +04:00
h3rb
6e62f2f0a5 Update scrollable-page.html
added terminal theme to "dark"
2013-03-23 15:23:59 +04:00
h3rb
6f6ec76f7b Create terminal.js
Adding new theme "Terminal"
2013-03-23 15:23:59 +04:00
h3rb
1042f2a106 Create terminal.css
Adding new theme "Terminal"
2013-03-23 15:23:59 +04:00
h3rb
c17238765b Update mushcode.js
Typo
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
f5cd45b925 Create mushcode.js
Current borrows off the python folding rules.  Folding doesn't really help mushcode unless you are using a code minimizer.
2013-03-23 15:22:57 +04:00
h3rb
fad204c007 Create mushcode_high_rules.js
Adding support for TinyMUSH
2013-03-23 15:22:57 +04:00
h3rb
7efe8c933b Update modelist.js
Included MUSHcode in Mode List
2013-03-23 15:22:57 +04:00
Harutyun Amirjanyan
86dda8b5a5 Merge pull request #1321 from matthewkastor/patch-1
fixed getShowPrintMargin
2013-03-22 01:14:41 -07:00
Matthew Kastor
b8607e861c fixed getSowPrintMargin
getShowPrintMargin always returned undefined.
2013-03-22 05:08:29 -03:00
nightwing
691b52cd92 remove trailing commas 2013-03-21 23:50:36 +04:00
nightwing
dda65a5585 do not use uppercase in file names
mend
2013-03-20 18:43:09 +04:00
nightwing
a3de845615 fix Tokenizer.createSplitterRegexp and add tests
fixes #1317
2013-03-20 11:44:32 +04:00
nightwing
e7fa7eb390 do not merge newLine tokens 2013-03-20 10:48:08 +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
4b3d5fd52b remove unchecked for-in loop from detectIndentation 2013-03-19 16:11:50 +04:00
nightwing
d97de5c149 use delayedCall instead of setTimeout 2013-03-18 21:54:39 +04:00
nightwing
3a781ed2c2 small cleanup 2013-03-18 17:01:10 +04:00
nightwing
336e30c62d implement linked tabstops 2013-03-18 13:57:20 +04:00
Mostafa Eweda
cc1cee2c23 Merge pull request #1312 from ajaxorg/detectIndents
add addon for whitespace manipulation
2013-03-18 00:53:20 -07:00
nightwing
cc7c023e7a remove unnecessary comparison with second match 2013-03-18 11:06:42 +04:00
nightwing
e3c001b79f fix tests 2013-03-18 10:33:16 +04:00
nightwing
47ba638f4b fix formatstrings 2013-03-18 10:07:21 +04:00
Robert Krahn
b974de5e0a [occur] removing debug code 2013-03-17 19:08:44 -07:00
Robert Krahn
5d28dbfb44 [occur] keep highlights when exiting recursive occur session 2013-03-17 19:06:04 -07:00
Robert Krahn
d75845f3aa [occur] fixing recursive occurs 2013-03-17 19:06:04 -07:00
Robert Krahn
96bca7ed95 [occur] proper session replacement 2013-03-17 19:06:03 -07:00
Robert Krahn
4b0b579bf4 [occur] towards better occur session display 2013-03-17 19:06:03 -07:00
Robert Krahn
6f68042545 [occur] highlighting occur search term in occur mode 2013-03-17 19:05:46 -07:00
Robert Krahn
f351c9de38 [occur] allowing other commands 2013-03-17 19:05:05 -07:00
Robert Krahn
fe3e92a3f9 fix for setReadOnly 2013-03-17 19:05:05 -07:00
Robert Krahn
313c4f77f7 [occur] cleanup 2013-03-17 19:05:05 -07:00
Robert Krahn
204e6b5ab0 [occur] entering and exiting occur: position is translated 2013-03-17 19:05:05 -07:00
Robert Krahn
1483264033 [occur] options fix 2013-03-17 19:05:05 -07:00
Robert Krahn
ecf258f2a0 oop.mixin returns object 2013-03-17 19:05:04 -07:00
Robert Krahn
0aee413754 [occur] make occur doc react to keyboard evts / highlight it 2013-03-17 19:05:04 -07:00
Robert Krahn
8102b6579f [occur] fixing occur lines 2013-03-17 19:05:04 -07:00
Robert Krahn
7f1e926f3c [occur] highlighting occur doc 2013-03-17 19:05:04 -07:00
Robert Krahn
2ba388ed04 [occur] command cleanup 2013-03-17 19:05:04 -07:00
Robert Krahn
887aa24ceb [occur] starting with simple occur functionality 2013-03-17 19:05:04 -07:00
Robert Krahn
69b125db10 [incremental search] isearch highlight cleanup 2013-03-17 17:38:33 -07:00
Mostafa Eweda
8c2e30db8d Merge pull request #1313 from ajaxorg/searchbox
fix #1309
2013-03-17 12:49:52 -07:00
nightwing
943e690bf6 bugfix 2013-03-17 21:04:31 +04:00
nightwing
f87f542c8e use ace/tokenizer for parsing snippets 2013-03-17 21:03:16 +04:00
nightwing
3d43f42f8a more work on snippet manager 2013-03-17 21:03:15 +04:00
nightwing
d16daddc5e add snipmate snippets 2013-03-17 21:03:15 +04:00
nightwing
b8eb5a1fec add support for TextMate snippets 2013-03-17 21:03:14 +04:00
nightwing
485b243902 remove one letter names from list of ruby builtinFunctions 2013-03-17 21:01:40 +04:00
nightwing
84b130acdb add whitespace addon 2013-03-17 19:51:20 +04:00
Robert Krahn
a11c06a589 [incremental search] using showCommandLine() 2013-03-17 06:22:50 -07:00
Robert Krahn
236a1e5f7b [incremental search] cleaner render update 2013-03-17 06:10:32 -07:00
Robert Krahn
832d30c97c [incremental search] fixing status-message-remove-last-char bug 2013-03-17 06:04:19 -07:00
Robert Krahn
9f7cfde308 [incremental search] moving emacs specific code to emacs.js 2013-03-17 05:52:20 -07:00
Robert Krahn
e5fc2ea853 [incremental search] cleanup && fixing module dependencies 2013-03-17 04:59:18 -07:00
Robert Krahn
5cc2c50ebb [incremental search] emacs uses isearch by default 2013-03-17 04:43:34 -07:00
Robert Krahn
569563aa5f [incremental search] quit isearch on mousedown 2013-03-17 04:43:34 -07:00
Robert Krahn
0bbfdafec3 remove debug code 2013-03-17 04:43:34 -07:00
Robert Krahn
6fcebcf1e9 [incremental search] fix for space 2013-03-17 04:43:34 -07:00
Robert Krahn
116e42c29a [incremental search] adding fix for handleKeyboard from @nightwing 2013-03-17 04:43:34 -07:00
Robert Krahn
f6ba62083e [incremental search] fixing require in test for async 2013-03-17 04:43:33 -07:00
Robert Krahn
20ff66cf04 [incremental search] using dom.importCssString 2013-03-17 04:43:33 -07:00
Robert Krahn
724193dcbc [incremental search] fixing when / when not selection should be extended 2013-03-17 04:43:33 -07:00
Robert Krahn
1daaeb3a79 [incremental search] polymorphic setup invocation for keyboard handlers 2013-03-17 04:43:33 -07:00
Robert Krahn
438e3c985c [incremental search] oops, forgot to add isearch commands 2013-03-17 04:43:33 -07:00
Robert Krahn
6141a63ba3 [incremental search] cleanup 2013-03-17 04:43:33 -07:00
Robert Krahn
5b0c216580 [incremental search] style patch for better highlights 2013-03-17 04:43:33 -07:00
Robert Krahn
8a62ad8be0 [incremental search] extending kitchen sink to use isearch 2013-03-17 04:43:33 -07:00
Robert Krahn
4d09567bc0 [incremental search] adding config option for enabling/disabling it 2013-03-17 04:43:33 -07:00
Robert Krahn
6f68392f67 emacs key handler has a flag for making it recognizable 2013-03-17 04:43:32 -07:00
Robert Krahn
eab7df5a3d [incremental search] cleaning up keyboard handling 2013-03-17 04:43:32 -07:00
Robert Krahn
35a0066965 [incremental search] disable other keyboard handlers 2013-03-17 04:43:32 -07:00
Robert Krahn
2faf912234 [incremental search] renderer update for highlight markers 2013-03-17 04:43:32 -07:00
Robert Krahn
d314374a60 [incremental search] test fix 2013-03-17 04:43:32 -07:00
Robert Krahn
ed9713df3d [incremental search] don't use selection ranges for marking finds 2013-03-17 04:43:32 -07:00
Robert Krahn
4708bac758 [incremental search] properly forward/backward wrapping on same term 2013-03-17 04:43:32 -07:00
Robert Krahn
901585024b [incremental search] refining forward/backward behavior 2013-03-17 04:43:32 -07:00
Robert Krahn
1423893c3b [incremental search] refining forward/backward behavior 2013-03-17 04:43:32 -07:00
Robert Krahn
d6be35e8e1 [incremental search] forward / backward movement 2013-03-17 04:43:31 -07:00
Robert Krahn
3e6a036995 [incremental search] adding basic functionality 2013-03-17 04:43:31 -07:00
Harutyun Amirjanyan
cf8aaa43fa Merge pull request #1310 from LivelyKernel/default-keyboard-handler-fix
Default keyboard handler fix
2013-03-17 03:14:37 -07:00
Robert Krahn
c59d55418d fix for setKeyboardHandler bug introduced in 8634f26 2013-03-16 18:02:28 -07:00
Robert Krahn
fa0af80d74 [emacs keys] don't error when command cannot be found 2013-03-16 18:01:16 -07:00
nightwing
243e95f76e add Command-G to ext-searchbox fixes #1309 2013-03-16 01:50:49 +04: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
Lennart Kats
9c20f24a1b Merge pull request #1306 from ajaxorg/highlighting/logicblox
add tests for LogiQL mode
2013-03-15 02:18:42 -07:00
Harutyun Amirjanyan
312d36c11d Merge pull request #1305 from superchris/master
Improved auto-indent and dedent for ruby, now with test coverage
2013-03-14 10:41:53 -07:00
nightwing
e69b6e37f2 add tests for LogiQL mode 2013-03-14 21:33:20 +04:00
Ruben Daniels
9696c1f9b3 Merge pull request #1304 from ajaxorg/options
Add missing options
2013-03-14 09:32:23 -07:00
nightwing
82f496a11f add wrap: printMargin 2013-03-14 19:28:32 +04:00
nightwing
b0338c15b4 do not highlight dots without arrows in logicql 2013-03-14 17:30:19 +04:00
nightwing
2d28259dff update build submodule 2013-03-14 17:14:54 +04:00
nightwing
2adb8000f5 fold on click instead of mousedown
prevents button flickering on chrome
2013-03-14 16:58:26 +04:00
nightwing
b61ae38c14 add missing options 2013-03-14 16:54:07 +04:00
nightwing
0ad64ff062 fix p without count 2013-03-13 22:41:46 +04:00
Garen Torikian
bbb577bdeb Merge pull request #1299 from fiveminuteargument/master
Typo fix
2013-03-13 10:58:58 -07:00
Harutyun Amirjanyan
1296cefd23 Merge pull request #1301 from ajaxorg/fix-django-header
Fix django.js module header
2013-03-13 09:32:36 -07:00
Lennart Kats
67297585d6 Fix django.js module header 2013-03-13 17:12:48 +01:00
Bobby Jack
9e9063a4bd Typo
Remove 'i' from 'showInvisibiles'
2013-03-13 11:15:11 +00:00
Bobby Jack
d6004d7a31 Typo
Removed extra 'i' from 'invisibiles'
2013-03-13 00:14:40 +00:00
nightwing
fd2191e76e rename LogicQL->LogiQL 2013-03-12 19:43:16 +04:00
Lennart Kats
505d089767 Merge pull request #1288 from ajaxorg/spellcheck
Add extension for enabling spellchecking from contextmenu
2013-03-12 08:35:29 -07: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
0895601b7f fix typo 2013-03-12 19:20:18 +04:00
Chris Nelson
b78d625926 Merge branch 'master' of https://github.com/superchris/ace 2013-03-12 11:19:11 -04:00
nightwing
ce34f235b8 add highlighting of matching -> . 2013-03-12 19:13:38 +04:00
nightwing
137199bfe7 add autoIndent for LogicQL 2013-03-12 18:22:16 +04:00
Chris Nelson
aed9e836ec better autoindenting and dedenting for ruby 2013-03-12 10:21:22 -04:00
nightwing
03b9591313 cleanup $getIndent 2013-03-12 16:46:47 +04: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
49aa5a5409 fix highlighting of LogicBlox numbers 2013-03-12 13:16:55 +04:00
Harutyun Amirjanyan
643b4fdbd5 Merge pull request #1296 from wcandillon/master
XQuery Lexer Improvements
2013-03-11 23:28:10 -07:00
Harutyun Amirjanyan
ffcbc33182 Merge pull request #1297 from nguillaumin/fix-replace-submit
Prevent search/replace controls to submit the container form
2013-03-11 23:18:42 -07:00
nguillaumin
3ddc810a60 Prevent search/replace controls to submit the container form
The search/replace buttons are seen as "submit" type because the type attribute
is not specified. If ACE is embedded within a form (between <form>...</form>)
clicking on one of these button will submit the outer form.

Setting search/replace buttons type to "button" prevents the outer form to be
submitted.
2013-03-12 15:36:50 +11:00
William Candillon
b2cb4b344f Fix bugs in XQuery lexer. Add safeguard to avoid infinite loop in the XQuery lexer. 2013-03-11 18:35:22 -07:00
nightwing
d24c853f88 fix bug with suggestions differing only by first letter 2013-03-10 19:26:28 +04:00
nightwing
bbdf74261c add worker for lua 2013-03-10 18:04:54 +04:00
nightwing
78e6200e51 update csslint 2013-03-10 18:01:16 +04:00
nightwing
91b42b43d3 update require.js and fix toUrl call 2013-03-10 17:36:12 +04:00
Harutyun Amirjanyan
212214dfad Merge pull request #1289 from nguillaumin/freemarker-mode
Added mode for FreeMarker Java template engine
2013-03-10 05:57:02 -07:00
Lennart Kats
4ab6cab5d9 Merge pull request #1274 from ajaxorg/folding
preserve folds when dragging or moving lines
2013-03-10 04:27:59 -07:00
Nicolas Guillaumin
81e8a582a4 Added mode for FreeMarker Java template engine 2013-03-10 17:06:13 +11:00
nightwing
5fa2af1991 fix #1286 ibus Chinese input issue 2013-03-09 19:11:07 +04:00
nightwing
8634f2661d update emacs mode 2013-03-09 18:55:01 +04:00
nightwing
2eabebccaa fix r+enter, add ,; 2013-03-09 17:18:20 +04:00
Harutyun Amirjanyan
3fdfb76797 remove accidental global in operators.js 2013-03-09 17:18:19 +04:00
nightwing
8bd7d192d1 add :/? commands to vim mode 2013-03-09 17:18:19 +04:00
nightwing
901f598b20 fix count handling for p and P 2013-03-09 17:18:19 +04:00
nightwing
03ef921536 fix count handling for dd and yy 2013-03-09 17:18:18 +04:00
nightwing
f7a0e1901e LaTeX mode: do not include opening brace in folds 2013-03-09 01:15:20 +04:00
Lennart Kats
614a0b57d1 Merge pull request #1275 from ajaxorg/dnd
fix editor getting stuck in drag mode
2013-03-08 06:22:42 -08:00
Lennart Kats
c05016d7b7 Merge pull request #1276 from ajaxorg/higlighting/onMatch
restore old behavior of token and add onMatch. fixes #1269
2013-03-08 03:27:51 -08:00
Harutyun Amirjanyan
1e243855a7 Merge pull request #1284 from pthulin/searchbox-issues
Fix bug with searchbox keyboard handler
2013-03-06 22:46:25 -08:00
Per Thulin
bcf9c0410f Fix bug with searchbox keyboard handler
This typo caused a bug where ESC did not leave the Vim INSERT mode.
2013-03-07 00:32:54 +01: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
nightwing
bc7d8a2ab2 make createSplitterRegexp more robust 2013-03-06 20:33:40 +04:00
nightwing
6c5ab388cf fix lua comment folding 2013-03-06 20:33:40 +04:00
Garen Torikian
031b3b534b Merge pull request #1281 from ajaxorg/fix/double_tab
Fix double tab
2013-03-05 13:26:46 -08:00
nightwing
dbab5f9210 fix #956 Double tap on trackpad doesn't select word 2013-03-05 00:17:56 +04:00
nightwing
01b7c4a866 do not throw error for key-chains (e.g Ctrl-B Command-Up) 2013-03-05 00:07:33 +04:00
nightwing
c653abf969 add link to slimtext 2013-03-04 18:24:39 +04:00
nightwing
f514330729 add extension for enabling spellchecking from contextmenu 2013-03-04 11:24:52 +04:00
nightwing
1a4fb3ffcf update tests since move lines up/down does not modify selection anymore 2013-03-03 16:40:24 +04:00
nightwing
f6d88bc10c fix move lines with multiple cursors 2013-03-03 16:20:14 +04:00
nightwing
917420636b add multiSelectAction "forEachLine" 2013-03-03 14:48:36 +04:00
Harutyun Amirjanyan
8d1284ddfa Merge pull request #1279 from wcandillon/master
Add missing XQuery keywords in tokenizer
2013-03-02 05:49:50 -08:00
William Candillon
e9850ad3bd Add missing XQuery keywords. 2013-03-02 14:28:39 +01:00
nightwing
a0e1204ff1 {,5} isn't js regexp a quantifier 2013-03-02 01:23:31 +04:00
nightwing
59713742bc add codebender and debuggex 2013-03-01 23:13:22 +04:00
nightwing
7960652010 restore old behavior of token and add onMatch. fixes #1269 2013-03-01 21:28:10 +04:00
nightwing
1b21841dba make foldAll faster 2013-03-01 16:57:38 +04:00
nightwing
4e82a96353 fix nested folds 2013-03-01 16:57:37 +04:00
nightwing
6f7a33e39b allow multiple selections with shared edges 2013-03-01 16:57:37 +04:00
nightwing
7eeb988f87 cleanup 2013-03-01 16:57:37 +04:00
nightwing
a9dbdaebb4 keep folds while dragging text inside the editor 2013-03-01 16:57:36 +04:00
nightwing
63ce45752c allow toggling fold widget when editor isn't focused 2013-03-01 16:57:36 +04:00
nightwing
43854d7a35 fix moving lines with folds 2013-03-01 16:57:36 +04:00
nightwing
bf2015bf7e cleanup 2013-03-01 16:57:20 +04:00
nightwing
10ab6c3779 modify navigateUp/Down behavior only if selection is multiline 2013-03-01 15:58:04 +04:00
nightwing
af8149098c fix name handling in bindkey 2013-03-01 15:32:17 +04:00
nightwing
5f8fc32dbc fix editor getting stuck in drag mode 2013-03-01 15:26:34 +04:00
Lennart Kats
504faad85d Merge pull request #1272 from ajaxorg/virtual_renderer
fix #1266: Scroller is collapsed when ace initialized with empty value
2013-02-28 08:41:26 -08:00
nightwing
7f85b2584d restore defferedCall 2013-02-28 20:13:12 +04:00
nightwing
9ab5d50e0e tweak mode converter 2013-02-28 14:03:14 +04:00
nightwing
d31110e7ca add highlighting for new and :: in php mode 2013-02-28 14:02:02 +04:00
nightwing
328f0cb347 add more tests for ruby highlighting 2013-02-28 12:24:19 +04:00
nightwing
3dcfc56a40 fix #1250: remove obsolete documentation for loadMode event 2013-02-27 11:50:11 +04:00
nightwing
402cdad04b fix #1266: Scroller is collapsed when ace initialized with empty value 2013-02-27 11:39:47 +04:00
Harutyun Amirjanyan
ad1e74017b Merge pull request #1254 from nemurimasu/master
LSL support
2013-02-25 09:53:57 -08:00
Harutyun Amirjanyan
dc5db8b859 Merge pull request #1268 from wcandillon/master
XQuery Mode bug fixes.
2013-02-25 09:35:50 -08:00
William Candillon
b0504015ee Remove unused event handler. 2013-02-25 18:27:50 +01:00
William Candillon
78a67e95a7 Fixed autoclosing tag behaviour in XQuery. 2013-02-25 17:08:33 +01:00
William Candillon
d6b26632eb Fix lexer bug. 2013-02-25 16:00:12 +01:00
William Candillon
148f4dc8c4 Improvements in the XQuery parse tree handler API. 2013-02-25 15:59:33 +01:00
William Candillon
5d899eed55 Fix bug with XQuery comment regexp for syntax highlighter. 2013-02-25 15:58:16 +01:00
William Candillon
53c83a79d5 Fix parser bug with JSON items. Refactor grouping variable ebnf rule according to the latest W3C spec. 2013-02-25 15:56:51 +01:00
William Candillon
aea9a21bd6 Fix bug with desynchronizing in the XQuery highlighter. 2013-02-25 15:55:29 +01:00
Garen Torikian
45f19c76b8 Add CSON as permitted type 2013-02-24 23:35:33 -08:00
Harutyun Amirjanyan
fe4a01b1bc Merge pull request #1267 from ajaxorg/mode/toml
Add TOML support
2013-02-24 13:54:00 -08:00
nightwing
9bfdcd4104 highlight escaped characters in strings 2013-02-25 01:52:49 +04:00
Garen Torikian
7f90df40b2 Add TOML JSON test 2013-02-24 12:55:07 -08:00
Garen Torikian
068fee994b Fix up highlight rules 2013-02-24 12:54:17 -08:00
Garen Torikian
f2e523b0b4 Initial addition of toml files 2013-02-24 12:46:32 -08:00
nightwing
b4e9790763 fix up/down arrow handling when selection is present 2013-02-24 12:14:53 +04:00
Mostafa Eweda
1b8fb10e50 Merge pull request #1260 from ajaxorg/toggleComment
Improve toggleCommentLines and make it faster
2013-02-23 06:03:44 -08:00
Mostafa Eweda
0cff85920e Merge pull request #1265 from ajaxorg/miscbugfix
Miscbugfix
2013-02-23 05:47:15 -08:00
nightwing
d783a77bc9 fix #1242: session.setMode() doesn't always work in IE10
makes net.loadScript to work same way as jQuery.getScript
2013-02-23 14:05:17 +04:00
nightwing
1ba09e1a84 fix * highlighting in markdown lists 2013-02-23 13:09:14 +04:00
nightwing
715b397976 add BootTheme logo 2013-02-22 20:54:50 +04: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
Harutyun Amirjanyan
a7544b444b Merge pull request #1152 from ajaxorg/feature/elastictabstops
[wip] Feature/elastictabstops
2013-02-22 04:40:52 -08:00
nightwing
e6fd9dc977 move elastic_tabstops into ext to automatically include in build 2013-02-22 16:39:45 +04:00
nightwing
b29dc7c49e fix undefined errors when there is no tabstop cell 2013-02-22 16:18:00 +04:00
nightwing
04f06ebefe use config defineOptions 2013-02-22 16:17:30 +04:00
nightwing
1228b2d30d remove traces of elastic tabstops from editor.js 2013-02-22 16:17:30 +04:00
Garen Torikian
3d0f30c36d Start addressing comments 2013-02-22 16:17:30 +04:00
Garen Torikian
9efccbb776 Uhh actually commit fix 2013-02-22 16:17:29 +04:00
Garen Torikian
face772865 Yesss fix positional bug 2013-02-22 16:17:29 +04:00
Garen Torikian
6e1398273c Turn into separate plugin 2013-02-22 16:17:29 +04:00
Garen Torikian
d54921fcc9 Remove cursor propogation 2013-02-22 16:16:35 +04:00
Garen Torikian
4d94636247 Make a better multipler 2013-02-22 16:16:34 +04:00
Garen Torikian
148f7cc0ab Working implementation 2013-02-22 16:16:34 +04:00
Garen Torikian
b63b84292a Save state 2013-02-22 16:16:34 +04:00
Garen Torikian
18d12d5375 Hell yes, get all the Python implementation out of the way 2013-02-22 16:16:33 +04:00
Garen Torikian
cb5a8a4be4 Stash 2013-02-22 16:16:33 +04:00
Garen Torikian
9dc94741a6 Stash 2013-02-22 16:16:33 +04:00
Garen Torikian
cf079109d7 Stash 2013-02-22 16:16:33 +04:00
Lennart Kats
92786afa7c Merge pull request #1240 from ajaxorg/textarea
make ACE work better as a textarea replacement.
2013-02-22 03:45:58 -08:00
Lennart Kats
7d7867c149 Merge pull request #1255 from ajaxorg/uiworker
Uiworker
2013-02-22 03:40:39 -08:00
nightwing
1a9686c6b7 fix contextmenu for editor with border 2013-02-22 14:22:52 +04:00
nightwing
2f55065e84 fix #1239 on('changeScrollTop') argument is an object instead of number 2013-02-22 14:22:51 +04:00
nightwing
c6ba1957aa add a way for disabling AutoScrollEditorIntoView 2013-02-22 14:22:29 +04:00
nightwing
bd6dda68f0 Issue #1232: Scroll editor into browser view on cursor movement 2013-02-22 14:22:27 +04:00
nightwing
3cbb8dda55 when text is wrapped highlight full gutter row and screen row 2013-02-22 14:22:25 +04:00
nightwing
29d9737b4c add beforeRender and after render events 2013-02-22 14:22:24 +04:00
nightwing
72eccd5283 fix typo in fold_handler 2013-02-22 14:22:22 +04:00
nightwing
83cf35e7ea move textarea and gutter-line-highlight to main cursor 2013-02-22 14:22:20 +04:00
nightwing
ed7750e70e improve MouseWheel behavior 2013-02-22 14:22:19 +04:00
nightwing
d8cfb0687d add afterExec event 2013-02-22 14:22:17 +04:00
nightwing
911cbb3bfb improve event_emitter
- add once
- _signal = fast _emit without side effects (preventdefault)
- capturing argument for addListener
2013-02-22 14:22:14 +04:00
nightwing
f7e17a7c38 Merge pull request #1261 from LivelyKernel/fix-onPaste-command-multiselect
Fix onPaste when it is used in a command and multiselect is active
2013-02-21 11:08:29 +04:00
Harutyun Amirjanyan
3788e83a0c Merge pull request #1262 from LivelyKernel/emacs-improvements
Emacs improvements
2013-02-20 21:54:13 -08:00
Mostafa Eweda
2c2156cc10 Merge pull request #1263 from ajaxorg/fix-100pct-cpu
Restore old labeled break semantics
2013-02-20 09:48:04 -08:00
Lennart Kats
b815db63cd Restore old labeled break semantics 2013-02-20 18:31:21 +01:00
nightwing
f4b7fcc77d fix typo in gutterLineHighlight option setter 2013-02-20 11:33:46 +04:00
Robert Krahn
241d44f0b9 adding tests for emacs handler 2013-02-19 17:23:15 -08:00
Robert Krahn
a82fcd0dc2 comments for emacs handleKeyboard 2013-02-19 15:26:58 -08:00
Robert Krahn
9fd93a5e37 adding command key to emacs keyhandler.
usage:
keyHandler.bindKey("CMD-g": "someNewCommand")
2013-02-19 15:20:11 -08:00
Robert Krahn
50a6bd21af add platform attribute to emacs handler to allow platform-specific keybindings
usage like:
editor.getKeyboardHandler().addCommand({
    name: "...",
    bindKey: {win: "...", mac: "..."},
    exec: function(e) { ... }
});
2013-02-19 15:15:03 -08:00
Robert Krahn
fa1a88eb7f emacs: adding missing keyboardQuit command 2013-02-19 12:26:37 -08:00
Robert Krahn
c76aed967f emacs code cleanup 2013-02-19 12:26:05 -08:00
Robert Krahn
53a2f12128 cleaning up trailing whitespace 2013-02-19 12:18:43 -08:00
nightwing
91ed9f336a add aceview to the list of sites using ace 2013-02-19 16:06:06 +04:00
Robert Krahn
3604513a60 fixing onPaste in command with multiselect 2013-02-18 23:38:44 -08:00
Robert Krahn
8b9771fef9 adding test to reproduce onPaste-coammnd-multiselect error 2013-02-18 23:38:17 -08:00
Robert Krahn
ac1b5f4f37 removing trailing whitespace 2013-02-18 23:37:53 -08:00
nightwing
ac3a7e2bbb Revert "Remove CLA info"
This reverts commit 086888ea66.
2013-02-18 22:40:46 +04:00
nightwing
2818ccdabb fix failing tests 2013-02-18 17:32:45 +04:00
nightwing
bcf02a6671 remove remaining uses of deferredCall 2013-02-18 17:01:25 +04:00
nightwing
95257a9be5 do not call splice from resetRowCache unnecessarily 2013-02-18 17:01:25 +04:00
nightwing
f76a4c5884 fix alt-shift click 2013-02-18 17:01:24 +04:00
nightwing
09e753941f range.clone in getFoldsInRange is slow 2013-02-18 17:01:24 +04:00
nightwing
e71fd47153 use general toggleCommentLines for all modes 2013-02-18 17:01:24 +04:00
nightwing
528a103149 change toggleCommentLines behavior to match sublime text 2013-02-18 17:01:23 +04:00
nightwing
b350fe65a4 sometimes editor is blank on ie10 2013-02-18 17:01:23 +04:00
nightwing
61b0aa944b do not modify string split on chrome 2013-02-18 17:01:23 +04:00
nightwing
d1cbeabf6c add changeMode event 2013-02-18 17:01:22 +04:00
Ruben Daniels
197038ddb6 Merge pull request #1259 from ajaxorg/fix/crashing-chrome
Fix JSHint wierd-label-loop-syntax that was likely crashing Chrome 24
2013-02-17 06:37:27 -08:00
Mostafa Eweda
da4b2ee635 Lennart's fix not to create too many setTimeouts 2013-02-17 16:34:46 +02:00
Mostafa Eweda
98d59452fe Fix JSHint likely-crashing-chrome wierd-label-loop-syntax 2013-02-17 16:21:06 +02:00
Harutyun Amirjanyan
83be0083bb Merge pull request #1249 from ajaxorg/highlighting/2.0
Highlighting 2.0 (continuation)
2013-02-17 03:19:28 -08:00
Harutyun Amirjanyan
f99827e01b Merge pull request #1257 from BallBearing/issue1253
Give some more love to #1253.
2013-02-16 12:31:56 -08:00
Harutyun Amirjanyan
f8262837fd Merge pull request #1256 from Korpch/patch-1
fix "char" is reserved word in bracket_match.js
2013-02-16 12:25:33 -08:00
nightwing
df706e5706 fix link highlighting in markdown headers 2013-02-17 00:20:47 +04:00
David Braun
ec6053a57c Refactor clearAnnotations. 2013-02-16 16:32:45 -03:00
Radimir Enkison
2632685340 fix "char" is reserved word bracket_match.js 2013-02-17 02:32:26 +07:00
David Braun
64b888d383 Fix comment in setAnnotations.
It returns an Array, not an Object.
2013-02-16 16:30:39 -03:00
David Braun
cb2b3c828f Create test for annotations. 2013-02-16 16:30:39 -03:00
nightwing
77b5ae1062 fix tokenizer on ie8
changes $arrayTokens to use exec instead of split
 1 it works on ie8
 2 it is faster on chrome http://jsperf.com/capturing-split-vs-exec
unfortunately exec is slow on firefox but ff regexes are a bit rusty atm (v21), and whole tokenizer is slow on it anyway.
2013-02-16 23:09:42 +04:00
nightwing
118c80ce89 remove remnants of regex_allowed 2013-02-16 23:09:21 +04:00
nightwing
4bff3166bb update tests 2013-02-16 23:09:21 +04:00
nightwing
59a54f704d fix #997: Pascal Language Support 2013-02-16 23:09:21 +04:00
nightwing
ff1282556b simplify converter 2013-02-16 23:09:21 +04:00
nightwing
6001ba815c fix #1241 PHP highlighting of closing tag in comment 2013-02-16 23:09:20 +04:00
nightwing
c83f48b371 fix php highlighting inside html attributes 2013-02-16 23:09:20 +04:00
nightwing
300ae2d757 keep indent level for all modes by default 2013-02-16 23:09:20 +04:00
nightwing
b4f799770a add sass mode 2013-02-16 23:09:20 +04:00
nightwing
0c318fa8c0 tweak mode_creator 2013-02-16 23:09:20 +04:00
nightwing
0f71bb2f00 fix highlighting of c# strings 2013-02-16 23:09:19 +04:00
nightwing
382eb6ab55 remove flag parameter from tokenizer 2013-02-16 23:09:19 +04:00
nightwing
e084dc1303 move line length checking to tokenizer to not break long data uri's in css 2013-02-16 23:09:19 +04:00
nightwing
94a6dac5a7 fix highlighting of regular expressions at the beginning of document 2013-02-16 23:08:55 +04:00
nightwing
9ddf039cf6 fix typos 2013-02-16 23:08:55 +04:00
nightwing
a40d9bce76 exclude files with whitespace in name from the build 2013-02-16 23:06:38 +04:00
nightwing
bc599f23d6 fix #1253 clearAnnotations uses wrong data structure for empty set. 2013-02-16 22:42:00 +04:00
nightwing
8d07cf88d1 Merge pull request #1220 from wcandillon/master
XQuery syntax highlighting improvements
2013-02-16 22:34:13 +04:00
William Candillon
94a088e31f Improve handling of the xquery semantic token cache. 2013-02-16 22:26:48 +04:00
William Candillon
5c30d861fa Fix tag completion bug. 2013-02-16 22:26:48 +04:00
William Candillon
cbcec10164 Add XQuery tag completion. 2013-02-16 22:26:47 +04:00
William Candillon
c1ea00244d Remove unused files. 2013-02-16 22:26:47 +04:00
William Candillon
39f2ad34a7 Fix bugs in XQuery lexer. 2013-02-16 22:26:47 +04:00
William Candillon
f65d123dc8 Fix bug with array iteration. 2013-02-16 22:26:47 +04:00
William Candillon
26345ebb31 Fix bug on token iteration. 2013-02-16 22:26:46 +04:00
nightwing
c9e86d3aa9 fix token test generator 2013-02-16 22:26:46 +04:00
William Candillon
e553f13cef Fix lexer bug. 2013-02-16 22:26:46 +04:00
William Candillon
ee592b121a Update XQuery syntax highlighting test case. 2013-02-16 22:26:27 +04:00
Nemurimasu Neiro
e8c5b84212 add lsl mode
based on C/C++ mode and the LSL Wiki as of 2013-01-27
2013-02-16 13:16:59 -05:00
William Candillon
4f8741bffe Remove unused files. 2013-02-16 22:13:48 +04:00
William Candillon
c51e32252b Minor improvements. 2013-02-16 22:13:47 +04:00
William Candillon
751f45d2db XQuery syntax highlighting improvements. 2013-02-16 22:13:33 +04:00
William Candillon
c1f7c51137 Minor syntax highlighter improvement. 2013-02-16 22:13:32 +04:00
William Candillon
0c79c5dded Add new version of XQuery semantic highlighting. 2013-02-16 22:13:32 +04:00
Fabian Jakobs
a57fc8e7c6 fix my email address 2013-02-14 10:37:35 +01:00
Lennart Kats
36554a61ca Merge pull request #1226 from ajaxorg/options
better way for managing options
2013-02-14 00:57:08 -08:00
nightwing
37d41ab6fd remove window resize listener when destroying the editor 2013-02-14 01:02:24 +04:00
nightwing
564310b040 use noconflict filter for workers too 2013-02-14 00:59:04 +04:00
nightwing
9ab8f16840 restore textmate theme in build 2013-02-13 23:51:53 +04:00
nightwing
36f9b537cc fix loading of worker files from UIWorkerClient 2013-02-13 23:49:48 +04:00
nightwing
db19dbd89d fix typo in setTabSize 2013-02-13 16:35:48 +04:00
nightwing
cb9d94946e fix typo in fadFoldWidgets options setter 2013-02-13 16:15:36 +04:00
nightwing
08baf748f6 add forwarding for session options 2013-02-13 16:05:43 +04:00
nightwing
d469335936 do not add set/get option methods automatically 2013-02-13 15:59:15 +04:00
nightwing
a6a26864df add setDefaultValues instead of doing two things in setDefaultValue 2013-02-13 12:03:31 +04:00
Garen Torikian
f8f277d79b Merge pull request #1246 from chvanikoff/typo_fix
typo
2013-02-12 14:32:00 -08:00
Chvanikoff
3b2fb6b7a3 typo 2013-02-12 23:49:02 +04:00
nightwing
fcc6ff61ac add codeHelper to the list of sites using ace 2013-02-11 21:55:25 +04:00
Harutyun Amirjanyan
63340911d5 Merge pull request #1236 from ajaxorg/mode-updates
Mode updates
2013-02-07 06:33:15 -08:00
Garen Torikian
f20a6dc159 Update test 2013-02-06 16:25:47 -08:00
Garen Torikian
d73e64e31f Fix comment highlighter 2013-02-06 12:48:31 -08:00
Garen Torikian
65783be88a Merge master 2013-02-06 12:45:48 -08:00
Garen Torikian
90964745bf Stash 2013-02-06 12:43:38 -08:00
nightwing
a6d85a6342 hotfix ruby heredoc highlighting 2013-02-06 22:28:14 +04:00
nightwing
8ec78bc208 fix #360 ext/textarea innerHTML bug 2013-02-06 22:05:09 +04:00
nightwing
28898c43a0 update scheme mode to work with new tokenizer 2013-02-06 19:36:12 +04:00
nightwing
6790b2df4b Merge pull request #1231 from NalaGinrut/master
Add Scheme mode
2013-02-06 19:25:32 +04:00
nightwing
4bbf4e7ac0 Fixed: test case for scheme 2013-02-06 19:13:06 +04:00
Lennart Kats
41244b3f0c Merge pull request #1185 from ajaxorg/highlighting/2.0
Highlighting/2.0
2013-02-06 06:29:16 -08:00
Lennart Kats
2c84e9618f Merge pull request #1207 from ajaxorg/es5-shim
update es5 shim to 2.0.5 (+some modifications)
2013-02-06 02:07:23 -08:00
DanyaPostfactum
62b7d8c1ea Strip legacy xhr code out of lib/net 2013-02-06 13:01:44 +10:00
DanyaPostfactum
930b5cf7af Fix tooltip webkit gradient, reset ajax.org logo border 2013-02-06 12:59:01 +10:00
DanyaPostfactum
bb9f98e435 Detect file dragging 2013-02-06 12:56:19 +10:00
DanyaPostfactum
0d08edc3c2 fix colon deletion behavior 2013-02-06 12:54:49 +10:00
DanyaPostfactum
ebe03bbe70 remove dom.setText, use classList, document.head 2013-02-06 12:54:20 +10:00
nightwing
4b3f8a2a90 add CIBox to site 2013-02-05 20:19:48 +04:00
Garen Torikian
0c99e826e9 Update dem tests 2013-02-04 17:09:07 -08:00
Garen Torikian
598d0d3ec2 Fix CPP multiline directives 2013-02-04 17:00:37 -08:00
Garen Torikian
ab09f5e38f Fix sh highlighting 2013-02-04 16:55:03 -08:00
Nala Ginrut
05d65dac6a Fixed keywords and constant parse bug
Fixed: 'minus' shouldn't be a delimiter
Fixed: '\t' shouldn't be included in keword-type
2013-02-03 22:35:01 +08:00
Mostafa Eweda
1bcfc979dd Merge pull request #1234 from ajaxorg/hotfix/ie
Hotfix ie and bookmarklet
2013-02-03 06:19:20 -08:00
nightwing
2d5ef1f220 fix focus handling when clicking on foldwidget 2013-02-03 17:48:50 +04:00
nightwing
869de0d113 improve textarea plugin 2013-02-03 17:38:58 +04:00
nightwing
4b4451673b fix worker filtering in build with --s option 2013-02-03 16:42:53 +04:00
nightwing
944edc931a restore font-size:12px on .ace_editor and add line-height: normal 2013-02-03 16:40:19 +04:00
nightwing
2bdd35a004 fix textarea positioning on ie 2013-02-03 16:35:47 +04:00
Nala Ginrut
67b1b25469 Fixed: keyword can't be colored
modified:   demo/kitchen-sink/docs/scheme.scheme
* fix typo
modified:   lib/ace/mode/scheme_highlight_rules.js
* remove '() since it's hard to parse and trivious for coloring.
* keyword and constant coloring fine now.
2013-02-02 22:30:37 +08:00
Nala Ginrut
7fbd7395b3 Add scheme.scheme
new file:   demo/kitchen-sink/docs/scheme.scheme
2013-02-02 20:05:05 +08:00
nightwing
1812679943 update tests 2013-02-02 15:18:10 +04:00
nightwing
5dc1d5c306 add livescript and django modes 2013-02-02 14:44:20 +04:00
nightwing
77a02fc109 code style 2013-02-02 14:44:20 +04:00
nightwing
4ecfa6b38d fix coffeescript tests 2013-02-02 14:44:19 +04:00
nightwing
c477184f2a update more highlighters 2013-02-02 14:44:09 +04:00
nightwing
92935b4896 fix highlighting of CoffeeScript function arguments
issue #1168
2013-02-02 14:44:08 +04:00
nightwing
b06e57b4c2 use new tokenizer features 2013-02-02 14:44:08 +04:00
nightwing
ea857f23c2 add {defaultToken: "..."} rules for skipped text 2013-02-02 14:44:07 +04:00
nightwing
0e7a7b9ebe do not require highlighter to match every letter 2013-02-02 14:44:07 +04:00
nightwing
903b7a1951 minimize number of capturing groups 2013-02-02 14:44:07 +04:00
nightwing
cfa3171ac4 add mode for textmate snippets 2013-02-02 14:44:06 +04:00
nightwing
3da1f3f3ba do not break the editor if highlighter is malformed 2013-02-02 14:44:06 +04:00
nightwing
4012a11208 fix bracket matching in tcl mode 2013-02-02 14:44:05 +04:00
nightwing
782e3f8743 add php heredoc support 2013-02-02 14:44:05 +04:00
nightwing
d2d42499ca #1069 support ruby heredocs 2013-02-02 14:44:04 +04:00
nightwing
4cdc48cf63 simplify lua highlight rules 2013-02-02 14:44:04 +04:00
nightwing
08e621b443 allow array of states in tokenizer 2013-02-02 14:44:03 +04:00
Nala Ginrut
065e1ae19c Update Scheme mode.
modified:   demo/kitchen-sink/doclist.js
modified:   demo/kitchen-sink/modelist.js
new file:   lib/ace/mode/_test/tokens_scheme.json
modified:   lib/ace/mode/scheme_highlight_rules.js
2013-01-31 16:12:54 +08:00
Nala Ginrut
3b6baafe29 Add: Scheme highlight rules
new file:   lib/ace/mode/scheme.js
new file:   lib/ace/mode/scheme_highlight_rules.js
2013-01-31 11:21:37 +08:00
Harutyun Amirjanyan
402f251c23 Merge pull request #1230 from danyaPostfactum/css
CSS behaviour
2013-01-30 13:54:11 -08:00
DanyaPostfactum
4d5c41d192 CSS behaviour 2013-01-31 01:38:56 +10:00
nightwing
38ca543035 add config.setDefaultValue 2013-01-30 12:36:35 +04:00
nightwing
2f85538ce1 fix setTabSize 2013-01-30 12:36:35 +04:00
nightwing
99879fdeef update doc comments 2013-01-30 12:36:35 +04:00
nightwing
f74185870f better way for managing options 2013-01-30 12:36:34 +04:00
nightwing
4a252a0c3b Merge pull request #1223 from chetstone/master
emacs mode enhancements
2013-01-30 12:16:30 +04:00
Chester Wood
3c4bd8d21a Fix CTRL-a to work as expected in emacs mode; restore former values of selection settings when switching keyboard or session 2013-01-30 12:13:11 +04:00
Chester Wood
c955ace32a make emacs mark a property of session 2013-01-29 21:18:50 +04:00
Chester Wood
9241e3269c restore emacs screenToTextCoordinates 2013-01-29 21:18:48 +04:00
Chester Wood
db34cf6a20 Merge branch 'emacs-mode' 2013-01-29 21:17:48 +04:00
Chester Wood
984b4ea2e2 merge emacs fixes 2013-01-29 21:15:35 +04:00
Garen Torikian
c10d3fa1c4 Set font size 2013-01-27 17:09:33 -08:00
nightwing
aab09b4901 update build submodule 2013-01-27 22:58:23 +04:00
nightwing
04917953ff add scroipe and pixeljet logos to the site 2013-01-26 21:49:57 +04:00
Mostafa Eweda
de9fa86f30 Merge pull request #1221 from ajaxorg/textinput
Textinput bugfix
2013-01-26 09:38:05 -08:00
nightwing
d437b63d19 position textarea with bottom/right since otherwise firefox 21+ scrolls
editor out of view when textarea.focus is called
2013-01-26 13:07:03 +04:00
nightwing
5c5e596435 fix #1209 Ctrl+C & Ctrl+X not working in Chrome-15 2013-01-25 18:30:45 +04:00
nightwing
59de8b0ff4 fix loading editor in iframe on ie9 2013-01-25 17:52:23 +04:00
nightwing
8551e0e043 do not use id of placeholder text mode 2013-01-25 17:49:42 +04:00
nightwing
83c37fd41e #1202 scrollbar size is wrong when too broad selector is used 2013-01-25 17:48:07 +04:00
Harutyun Amirjanyan
1dec807e36 Merge pull request #1180 from danyaPostfactum/php-worker
Add php worker
2013-01-25 00:55:01 -08:00
nightwing
27a674cd3f Merge pull request #1218 from danyaPostfactum/miscfixes
Miscellaneous fixes
2013-01-25 12:35:52 +04:00
DanyaPostfactum
84b1f16967 Improve tooltip style 2013-01-25 12:29:59 +04:00
DanyaPostfactum
961053b7d0 Fix cstyle quote deletion behavior 2013-01-25 12:29:59 +04:00
DanyaPostfactum
13a5fde817 Update php test (paren tokens) 2013-01-25 12:29:59 +04:00
DanyaPostfactum
144b29a7a7 Fix label for readonly checkbox 2013-01-25 12:23:41 +04:00
DanyaPostfactum
88a566977b ReadOnly fixes 2013-01-25 12:23:41 +04:00
DanyaPostfactum
99f8aba562 Read-only checkbox in kitchen sink 2013-01-25 12:23:40 +04:00
DanyaPostfactum
3952ef9afd BlockIndent command ( Ctrl-[ and Ctrl-] ) 2013-01-25 12:23:40 +04:00
DanyaPostfactum
4d43496201 Tooltip css tweak 2013-01-25 12:23:40 +04:00
DanyaPostfactum
7ae929aecf Make container csspadding-proof 2013-01-25 12:23:40 +04:00
DanyaPostfactum
4ccbeb23fa Monokai theme tweak 2013-01-25 12:23:39 +04:00
DanyaPostfactum
35819e68df More font sizes to kitchen sink 2013-01-25 12:23:39 +04:00
DanyaPostfactum
26e1074017 Fix Makefile script for windows line endings 2013-01-25 12:23:39 +04:00
DanyaPostfactum
a432399742 Fix deletion behavior for single quotes 2013-01-25 12:23:39 +04:00
DanyaPostfactum
a19d9dbbb7 Fix paren token type in php mode 2013-01-25 12:23:38 +04:00
Garen Torikian
e7a0a98f94 Merge pull request #1214 from ajaxorg/test_all_modes
tests for all modes
2013-01-22 12:02:56 -08:00
nightwing
4011447526 update documentation 2013-01-21 17:54:57 +04:00
DanyaPostfactum
f1a56fe008 Update php parser 2013-01-21 19:26:19 +10:00
Lennart Kats
e5af573fa3 Merge pull request #1215 from ajaxorg/remove-contributing
Remove CLA info
2013-01-20 12:08:10 -08:00
Garen Torikian
086888ea66 Remove CLA info 2013-01-20 11:08:27 -08:00
nightwing
f9d4bbac49 tests for all modes 2013-01-20 16:47:49 +04:00
Harutyun Amirjanyan
d7e54337b0 Merge pull request #1210 from zendesk/libo/curly-mode
Add a Syntax Highlighter for the Curly template language
2013-01-20 00:26:39 -08:00
Liborio Cannici
40fb7f3a11 Add a Syntax Highlighter for the Curly template language 2013-01-15 17:31:45 +01:00
Harutyun Amirjanyan
df99905760 Merge pull request #1195 from ajaxorg/doc/api
Fix the site
2013-01-14 10:06:56 -08:00
nightwing
ca4cef9c16 small style fixes for the site
overrides pointless  img {max-width: 100%} from bootstrap
2013-01-14 22:03:27 +04:00
Garen Torikian
5f2d2446ba Fix landing page 2013-01-14 21:51:57 +04:00
Garen Torikian
a880e2727c Fix tab menus 2013-01-14 21:51:56 +04:00
Garen Torikian
d5669e8127 Fix padding with args and return tables 2013-01-14 21:51:56 +04:00
Garen Torikian
942e50439d Remove padding on expand 2013-01-14 21:51:56 +04:00
Garen Torikian
57d52c89be Move scripts around 2013-01-14 21:51:55 +04:00
Garen Torikian
dcfd0887e2 Fix spacing and colors 2013-01-14 21:51:55 +04:00
Garen Torikian
05e6c69279 Remove search (because it does not work) 2013-01-14 21:51:55 +04:00
Garen Torikian
3136876678 Fix a lot of style issues, plus incorrect tags 2013-01-14 21:51:54 +04:00
Garen Torikian
caf80792dd css changes 2013-01-14 21:50:59 +04:00
Garen Torikian
37a1a082a6 Minor updates 2013-01-14 21:50:59 +04:00
Garen Torikian
aba75b29fd Redo index whitespace 2013-01-14 21:50:46 +04:00
Garen Torikian
629e543ef4 Reshuffle dirs 2013-01-14 21:48:59 +04:00
Garen Torikian
e56ab9d4ab Run through and fix broken text items 2013-01-14 21:47:48 +04:00
nightwing
ce366eed62 fix ie8 splice bug 2013-01-13 15:59:30 +04:00
nightwing
0b162a9411 remove intrusive Date section from es5-shim 2013-01-13 13:36:38 +04:00
nightwing
07cacd9190 update es5-shim to v 2.0.5 2013-01-13 13:27:47 +04:00
Mostafa Eweda
7601a904cb Merge pull request #1196 from ajaxorg/bugfix
Bugfix
2013-01-13 00:39:54 -08:00
nightwing
98f2e18b51 fix tests 2013-01-11 17:01:07 +04:00
nightwing
d0ff5b7d85 Merge pull request #1198 from danyaPostfactum/whitespaces
Display spaces when showInvisibles is on
2013-01-11 16:41:48 +04:00
nightwing
2894ecdb40 small cleanup 2013-01-11 16:38:39 +04:00
DanyaPostfactum
70f34b6b38 Display spaces, text layer little perfomance fixes 2013-01-11 16:12:10 +10:00
DanyaPostfactum
d12e5c4548 Improve lang.stringRepeat function perfomance 2013-01-11 16:11:14 +10:00
nightwing
e2b6597029 remove broken sourcemint integration 2013-01-10 21:55:11 +04:00
nightwing
6d7f6de6df fix site 2013-01-10 21:55:11 +04:00
nightwing
be642d2a6f do not set editor size to 0 when it is hidden 2013-01-10 21:54:59 +04:00
nightwing
19c3031abf change default editor position to relative 2013-01-10 13:39:34 +04:00
nightwing
f78fbc6e36 do not set font size on editor,
to not create weird combinations of inherited line height and own font size
2013-01-10 13:36:21 +04:00
Garen Torikian
aca8e88137 Doc fixes 2013-01-10 11:06:36 +04:00
Harutyun Amirjanyan
942734aa65 Merge pull request #1126 from ajaxorg/searchBox
[WIP] searchbox wip
2013-01-09 11:35:24 -08:00
nightwing
b1f9b95755 tweak searchbox 2013-01-09 22:39:00 +04:00
Vlad Zinculescu
7049caa3bf fixed styles on all browsers - ie 2013-01-09 18:56:32 +04:00
Vlad Zinculescu
8d3c4feeb5 searchbox wip 2013-01-09 18:55:58 +04:00
nightwing
153562054d add link to Drive Notepad 2013-01-08 23:51:23 +04:00
nightwing
05a08562ed add missing import in config.js 2013-01-08 12:37:12 +04:00
Harutyun Amirjanyan
8669a7d2d9 Merge pull request #1160 from ajaxorg/mode-loading
Module loading
2013-01-07 11:28:13 -08:00
nightwing
575646f230 readme must show build status of master branch 2013-01-07 23:23:31 +04:00
nightwing
b9a220de96 use delayed loading of keybindings for ext/textarea 2013-01-07 23:17:23 +04:00
nightwing
51a91e71af make container argument of VirtualRenderer optional 2013-01-07 23:12:29 +04:00
nightwing
07792dab9a allow options object in setMode 2013-01-07 23:11:53 +04:00
nightwing
0a61c37a3b add options to php mode 2013-01-07 23:11:52 +04:00
nightwing
dcbbeb7e22 enable seting keybindings by name 2013-01-07 23:11:52 +04:00
nightwing
e6671462cd cleanup mode loading 2013-01-07 23:11:51 +04:00
nightwing
ffadbe44bf add config.loadModule 2013-01-07 23:11:51 +04:00
nightwing
66d8e37f4d async loading of fonts in demo 2013-01-07 23:11:51 +04:00
nightwing
d7ff50c9fe fix cursor in emacs mode 2013-01-07 23:10:52 +04:00
Chester Wood
bd2e5381cc Add keybinding selection to textarea bookmarklet 2013-01-07 22:59:40 +04:00
nightwing
67880a49bd Merge pull request #1184 from wcandillon/master
XQuery Highlighter Improvements
2013-01-05 00:02:48 +04:00
William Candillon
ae6fa80808 Fixes unicode ranges from xml names. 2013-01-04 23:41:33 +04:00
William Candillon
1559eb59d7 Revert buggy unicode support. 2013-01-04 23:41:32 +04:00
William Candillon
de44547b61 Add unicode support for ncname. 2013-01-04 23:41:32 +04:00
William Candillon
ab1e52f2c5 Minor improvements. 2013-01-04 23:41:32 +04:00
William Candillon
aaee55f115 Improvements in tag highlighting. 2013-01-04 23:41:32 +04:00
William Candillon
345b5f7626 Add support for eqname syntax. 2013-01-04 23:41:31 +04:00
William Candillon
17247653c0 Improve xqdoc highlighting. 2013-01-04 23:41:31 +04:00
William Candillon
477de72595 Fix highlighting of processing instructions. 2013-01-04 23:41:31 +04:00
William Candillon
e0c36db7a5 Improve syntax highlighting of cdata sections. 2013-01-04 23:41:31 +04:00
William Candillon
7dc7aa4295 Syntax highlighter improvements. 2013-01-04 23:41:30 +04:00
William Candillon
cf60a96c38 Fix bug in the parser with XQDDF syntax. 2013-01-04 23:41:12 +04:00
William Candillon
d91d4954ea Beautify XQuery highlighting rules. 2013-01-04 23:41:12 +04:00
William Candillon
823abf4449 Minor improvements in xquery semantic highlighting. 2013-01-04 23:41:11 +04:00
William Candillon
44f4740a8a XQuery semantic highlighting improvements. 2013-01-04 23:41:11 +04:00
William Candillon
eebc086415 Improve syntax highlighting of XQuery comments. 2013-01-04 23:41:11 +04:00
DanyaPostfactum
1c37fff927 Add php worker 2013-01-01 23:07:36 +10:00
Harutyun Amirjanyan
9c61ac1127 Merge pull request #1179 from alizahid/patch-1
Update lib/ace/lib/useragent.js
2012-12-31 23:53:56 -08:00
alizahid
2f62826684 Update lib/ace/lib/useragent.js
Added detection for Internet Explorer 10 wrapper for Windows Store apps
2013-01-01 10:21:50 +05:00
Mostafa Eweda
8b7dcf7e4f Merge pull request #1173 from ajaxorg/indexToPosition
#1162 positionToIndex, indexToPosition methods
2012-12-29 17:09:29 -08:00
Harutyun Amirjanyan
5b45eb350b Merge pull request #1111 from ajaxorg/vbs
Add vbscript mode
2012-12-27 14:09:03 -08:00
nightwing
b6094d9472 add vbscript demo 2012-12-28 02:07:29 +04:00
nightwing
b4243b9f07 cleanup and fix comments 2012-12-28 02:06:53 +04:00
Jan Jongboom
ce2638c10b Add vbscript mode 2012-12-28 01:39:50 +04:00
Garen Torikian
29ee461d29 Add documentation 2012-12-26 23:15:52 -08:00
nightwing
0908b41268 add document indexToPosition and positionToIndex 2012-12-26 20:51:52 +04:00
nightwing
40563347e9 make getNewLineCharacter errorproof 2012-12-26 20:51:52 +04:00
nightwing
27dd31cf62 small cleanup 2012-12-26 20:51:52 +04:00
Garen Torikian
4d474bcdaf Fix #1143, #1144, #1145 2012-12-26 20:39:59 +04:00
Garen Torikian
06911396d6 Merge pull request #1172 from ajaxorg/highlighting/js
Highlighting bugfix
2012-12-26 00:45:25 -08:00
nightwing
8f6f6c6e3d fix error in objectivec_highlight_rules when Array.prototype is modified 2012-12-25 19:39:33 +04:00
nightwing
d2072604f3 fix tests failing because of merged paren tokens 2012-12-25 17:59:45 +04:00
nightwing
230bca6b1b #1138 Markdown mode should be based on HTML mode 2012-12-25 17:13:44 +04:00
nightwing
fa90671619 update highlighting tests after change 2012-12-25 17:09:21 +04:00
nightwing
b4a607a280 add forgotten abap demo to index 2012-12-25 16:57:12 +04:00
nightwing
759fbaba44 merge tokens of same type by default 2012-12-25 16:57:11 +04:00
nightwing
e56b9284da non greedy js strings 2012-12-25 16:57:11 +04:00
nightwing
0c360f39a6 make xml strings non greedy to allow better mixed modes 2012-12-25 16:57:11 +04:00
nightwing
70cd01d858 cleanup xml highlight rules 2012-12-25 16:57:10 +04:00
nightwing
bce93cf031 remove weird ruby style comment highlighting from clojure mode 2012-12-25 16:57:10 +04:00
nightwing
f227cc67f0 better support to Github style code blocks in markdown
Issue #1131
2012-12-25 16:57:10 +04:00
nightwing
0c79b239b6 fix c and stylus highlighters 2012-12-25 16:56:31 +04:00
nightwing
63b80b21d2 update tokenization examples 2012-12-25 16:23:10 +04:00
nightwing
60fd422da8 use relative paths 2012-12-25 16:23:10 +04:00
Harutyun Amirjanyan
b7da773bec Merge pull request #1171 from ajaxorg/fix/cpp
Fix preprocessor rules, #1170
2012-12-25 04:21:26 -08:00
Garen Torikian
142415b985 Fix endif 2012-12-25 00:20:33 -08:00
Garen Torikian
723c86dc85 Fix preprocessor rules, #1170 2012-12-24 17:18:44 -08:00
Sergi Mansilla
117d29a4cb Merge pull request #1133 from ajaxorg/vim
[vim] allow unhandled keys to pass to the browser
2012-12-20 06:09:23 -08:00
Harutyun Amirjanyan
01cc66b9c1 Merge pull request #1165 from bcbailey/bcbailey-ie8-embedrules
Fix error in IE8 when escapeRules is not passed
2012-12-19 23:22:37 -08:00
Harutyun Amirjanyan
8204485400 Merge pull request #1166 from featurist/master
Explain commands' readOnly option
2012-12-19 23:17:33 -08:00
Adrian Longley
b5e586796d Explain commands' readOnly option 2012-12-19 17:37:24 +00:00
Bradley C Bailey
023bf6237c Fix error in IE8 when escapeRules is not passed 2012-12-18 09:42:19 -07:00
nightwing
34127fab8c Merge remote-tracking branch 'remotes/up/site' 2012-12-17 11:27:17 +04:00
nightwing
0514860492 fix typo in textinput.js 2012-12-17 10:25:37 +04:00
nightwing
3e42f6009f update submodule ref 2012-12-16 15:25:48 +04:00
nightwing
fdab3cd059 get rid of annoying mesages in firebug 2012-12-15 17:38:27 +04:00
nightwing
91788f3424 #1151 initial support for marks 2012-12-15 17:37:15 +04:00
nightwing
92e4a42f89 [vim] fix left/right motions 2012-12-15 16:52:57 +04:00
nightwing
989f318d87 [vim] add ctrl+x ctrl+a 2012-12-15 16:52:57 +04:00
nightwing
59f5e7ffca [vim] pass unhandled keys to the browser 2012-12-15 16:52:56 +04:00
nightwing
e0b4d0b586 add more sites 2012-12-15 16:45:39 +04:00
Harutyun Amirjanyan
938d6b658d Merge pull request #1157 from ajaxorg/fix/chaos
fixed selection color, print margin and collapsed code block widget
2012-12-13 23:07:07 -08:00
C9
eadcb9fbe2 fixed selection color, print margin and collapsed code block widget 2012-12-13 20:29:27 -05:00
Garen Torikian
00d764ed3d Merge pull request #1156 from ajaxorg/theme/chaos
Added chaos theme
2012-12-13 16:30:28 -08:00
C9
057b7cf732 Reverted kitchen sink 2012-12-13 18:45:23 -05:00
C9
ba4c463ba9 Added chaos theme 2012-12-13 18:42:14 -05:00
Garen Torikian
6507dc2ac5 Merge pull request #1149 from mikelehen/master
Autodetect workers during build instead of hardcoding them.
2012-12-13 10:00:38 -08:00
Mostafa Eweda
319fdaeca0 Merge pull request #1150 from ajaxorg/textinput
Textinput improvements
2012-12-13 07:16:25 -08:00
Mostafa Eweda
f3d0096050 Merge pull request #1140 from ajaxorg/hotfix/renderer
Fix bug in rowCache
2012-12-13 07:15:48 -08:00
nightwing
71b54a5741 remove unused log 2012-12-13 19:00:39 +04:00
nightwing
c8be2ef60d use boolean instead of propertyChangeCounter 2012-12-13 18:57:47 +04:00
Garen Torikian
e44f9c1b76 Update Readme.md 2012-12-11 13:37:17 -08:00
Garen Torikian
e81ec07c49 Update CONTRIBUTING.md 2012-12-11 13:35:57 -08:00
nightwing
125629ce17 cleanup 2012-12-11 18:29:12 +04:00
nightwing
c9b8159382 remove unused browser_focus.js 2012-12-11 18:29:11 +04:00
nightwing
e5b307d056 do not change selection of blurred textarea 2012-12-11 18:29:11 +04:00
nightwing
38a5a522c2 allow displaying spellcheck suggestions in contextmenu 2012-12-11 18:29:11 +04:00
nightwing
0cd2faecc5 restore selection only if something is selected 2012-12-11 18:29:10 +04:00
nightwing
0e87da74b2 disable autocapitalize to improve behavior on mobile browsers 2012-12-11 18:29:10 +04:00
nightwing
d11b01c313 fix typing on ie8 2012-12-11 18:29:09 +04:00
nightwing
3565a06191 cleanup 2012-12-11 18:29:09 +04:00
nightwing
361c52a16a \x00 crashes firefox ime 2012-12-11 18:29:09 +04:00
Harutyun Amirjanyan
5357b5f33d Merge pull request #1148 from Aaike/master
added 'themeChange' and 'themeLoaded' event
2012-12-10 21:25:41 -08:00
Garen Torikian
4363c8cb91 Create CONTRIBUTING.md 2012-12-10 16:07:27 -08:00
Garen Torikian
cc8a4d4ac5 Update Readme.md 2012-12-10 16:06:21 -08:00
Michael Lehenbauer
bbe2624e9f Detect workers during build instead of hardcoding them. 2012-12-10 14:00:02 -08:00
Aaike Van Roekeghem
4c7abda807 added theme data to the events
added theme data to the events
2012-12-11 03:30:09 +07:00
Aaike Van Roekeghem
923ca25057 added themeChange event
added themeChange event that is dispatched right before a theme is about to change
2012-12-11 03:26:18 +07:00
Aaike Van Roekeghem
c4de324545 added themeLoaded event
added 'themeLoaded' event that is dispatched right after a theme is loaded.

it can be used like this :
this.editor.renderer.on('themeLoaded',function(){
    //do something when the theme is loaded
});
2012-12-11 02:46:59 +07:00
nightwing
c68bed51e0 make gutter resizing faster 2012-12-09 18:36:01 +04:00
nightwing
b0bbb36923 fix editor automatically scrolling up at small zoom 2012-12-09 18:33:46 +04:00
Harutyun Amirjanyan
ce5007935a Merge pull request #1137 from edwardsp/dot_highlighter
Updated to highlight dot code
2012-12-06 04:06:42 -08:00
Paul Edwards
e3d9479a70 Updated to highlight dot code
Dot is a plain text graph description language used by graphviz.
2012-12-04 18:23:01 +00:00
nightwing
7b65e64ffa Merge pull request #1132 from danyaPostfactum/copypastefixes
Copy/paste/delete fixes
2012-12-01 17:47:15 +04:00
nightwing
b6890497c8 do not redraw after changes to scrolled out lines 2012-12-01 17:32:17 +04:00
nightwing
fd126e06c3 fix bug in rowCache 2012-12-01 17:31:05 +04:00
nightwing
378e5f35e9 fix copy after typing 2012-11-30 20:26:04 +04:00
Harutyun Amirjanyan
f887e64112 Merge pull request #1129 from ajaxorg/doc/api
More updates for doc/api
2012-11-30 05:09:03 -08:00
Garen Torikian
c0cfe08c28 Fix extensions in multi_select.js 2012-11-30 17:04:39 +04:00
Garen Torikian
ac0a26d333 Update docs to use undocumented, also incorporate Site branch changes 2012-11-30 16:42:27 +04:00
DanyaPostfactum
8571bee037 Replace nonexistent method onDelete call with execCommand("del") in textinput 2012-11-30 20:32:50 +10:00
DanyaPostfactum
81f58c4552 Restore textarea selection after paste in IE 2012-11-30 20:18:44 +10:00
DanyaPostfactum
2f01870f05 Fix old way paste (reset a selection) 2012-11-30 20:11:09 +10:00
nightwing
e576099de7 add documentation for ace.require 2012-11-28 23:13:23 +04:00
nightwing
b9417a10be fix documentation for position 2012-11-28 23:13:05 +04:00
nightwing
e5ca6769cd do not override console if worker is mistakenly loaded into window 2012-11-28 22:55:40 +04:00
nightwing
be35d27c95 improve ace.js api 2012-11-28 22:55:40 +04:00
nightwing
34ce33b4cc Merge pull request #1030 from danyaPostfactum/textinput
Clipboard API usage, context menu Delete, Select All commands support
2012-11-28 22:42:19 +04:00
nightwing
6772e90df3 be more cautios to not insert parts of PLACEHOLDER 2012-11-28 22:40:07 +04:00
nightwing
3c57b1b415 fix editor loosing focus on input 2012-11-28 22:40:07 +04:00
DanyaPostfactum
67a4a3329c reset text on old way cut/copy 2012-11-28 22:40:07 +04:00
DanyaPostfactum
1459f36391 fix clipboardData reference 2012-11-28 22:40:06 +04:00
DanyaPostfactum
7cc9502539 Fix webkit text.oninput value changing workaround 2012-11-28 22:40:06 +04:00
DanyaPostfactum
46170cd781 Fix mistype and opera copy/cut selectAll triggering 2012-11-28 22:40:06 +04:00
DanyaPostfactum
29f581c61a Add Select All context menu command support 2012-11-28 22:40:06 +04:00
DanyaPostfactum
a061dfd0da change selection instead of text.value 2012-11-28 22:40:05 +04:00
nightwing
bad3f230ab Clipboard API support, context menu Delete command support 2012-11-28 22:39:38 +04:00
Harutyun Amirjanyan
0446771809 Merge pull request #1125 from ajaxorg/doc/api
Autogenerate Ace API
2012-11-28 10:34:35 -08:00
Garen Torikian
95bd44f342 Rebuild API docs 2012-11-28 22:23:32 +04:00
Garen Torikian
2a716dc668 Rebuild API 2012-11-28 22:23:31 +04:00
Garen Torikian
8698b13c8b More work on JSD format 2012-11-28 22:23:31 +04:00
Garen Torikian
eb955fa90d Save changes 2012-11-28 22:22:00 +04:00
Garen Torikian
0739444f87 Transition to JSD 2012-11-28 22:20:14 +04:00
Harutyun Amirjanyan
cc2a2c9e05 Merge pull request #1119 from ajaxorg/cssNumberToken
improve number tokenizing in CSS
2012-11-26 08:35:28 -08:00
Vlad Zinculescu
64450fba82 update css_highlight_rules.js 2012-11-26 17:29:09 +01:00
Garen Torikian
56477e59f4 Merge pull request #1120 from ajaxorg/updateKitchenSink
fix styling for sidebar in kitchen-sink.html
2012-11-26 08:25:26 -08:00
Vlad Zinculescu
540cd033dc fix styling for sidebar in kitchen-sink.html 2012-11-26 17:13:35 +01:00
Vlad Zinculescu
bddb9cd01b remove class colors for numbers in CSS 2012-11-26 16:59:27 +01:00
Vlad Zinculescu
9a29a99f26 improve number tokenizing in CSS 2012-11-26 16:54:46 +01:00
Harutyun Amirjanyan
220bea7fa0 Merge pull request #1117 from jjallaire/r_highlighting
Add R highlighting from RStudio (plus other dependencies)
2012-11-26 07:52:39 -08:00
Harutyun Amirjanyan
c5262d6f4f Merge pull request #1118 from ajaxorg/css-cstylebehavior
enable cstylebehavior in css
2012-11-26 06:22:38 -08:00
Vlad Zinculescu
1195204730 enable cstylebehavior in css 2012-11-26 15:16:54 +01:00
Garen Torikian
af70013668 Add R highlighting from RStudio (plus other dependencies) 2012-11-26 05:47:25 -05:00
Garen Torikian
33abb103b4 Merge pull request #1114 from ajaxorg/highlighting/abap
Highlighting/abap
2012-11-24 22:05:03 -08:00
nightwing
4a095c2b7e add abap mode 2012-11-25 01:52:14 +04:00
nightwing
c44565ff3a fix ignorecase in createKeywordMapper 2012-11-25 01:52:14 +04:00
nightwing
730084b6d1 add folding rules to new modes 2012-11-25 01:52:14 +04:00
Sergi Mansilla
3bc87268c8 Merge pull request #1110 from ajaxorg/fix/dryice
thanks to @joewalker, this version of Dryice works on 0.6
2012-11-22 02:45:06 -08:00
mikedeboer
8317bcfdcc thanks to @joewalker, this version of Dryice works on 0.6 2012-11-22 11:00:35 +01:00
Garen Torikian
f0189716c0 Merge branch 'master' of github.com:ajaxorg/ace 2012-11-20 10:49:38 -08:00
Garen Torikian
31ff93650c Import syntax highlighting docs 2012-11-20 10:49:28 -08:00
Harutyun Amirjanyan
c3bbc03904 fix typo in changelog 2012-11-20 22:44:25 +04:00
Harutyun Amirjanyan
1b3f268543 Merge pull request #1105 from grahamscott/luceneMode
Added lucene mode
2012-11-20 10:23:56 -08:00
Graham Scott
2075419a6f Better lucene syntax example 2012-11-19 08:28:06 +00:00
Garen Torikian
2ad5b6e97b Sergi ♥️ Lisp 2012-11-16 10:19:44 -08:00
Graham Scott
7a378c9ab8 Added lucene mode 2012-11-16 14:59:39 +01:00
Garen Torikian
1f62753f1a Merge pull request #1103 from ajaxorg/hotfix/build
do not mess with global require
2012-11-15 10:07:48 -08:00
C9
4527305050 Merge remote branch 'sorigin/gh-pages' 2012-11-15 13:01:42 -05:00
C9
b7f54cb09c Cleanup 2012-11-15 13:00:59 -05:00
C9
82e90409e4 Merge branch 'gh-pages' of git://github.com/ajaxorg/ace into gh-pages 2012-11-15 12:35:47 -05:00
C9
f2c311253a Merge remote branch 'origin/master' into gh-pages 2012-11-15 12:35:18 -05:00
C9
00cf23f3d0 Added some sites 2012-11-15 12:32:51 -05:00
nightwing
e14b6072fa do not mess with global require 2012-11-15 17:13:00 +04:00
Harutyun Amirjanyan
c36f8b7560 Merge pull request #1101 from ajaxorg/mode/haml
Mode/haml
2012-11-15 04:38:29 -08:00
Garen Torikian
15d25743dc Reinsert numerics, fix up tests 2012-11-15 16:26:26 +04:00
Garen Torikian
fdb22c5b14 Support hash comment 2012-11-15 16:26:25 +04:00
Garen Torikian
1158798094 Support new getKeywords function 2012-11-15 16:25:40 +04:00
Garen Torikian
5f5663dfe3 Add haml support 2012-11-15 16:25:40 +04:00
Garen Torikian
c5a3cac12f More haml work 2012-11-15 16:25:40 +04:00
Garen Torikian
3dce122f8c Start haml 2012-11-15 16:25:39 +04:00
Harutyun Amirjanyan
486f9cff64 Merge pull request #1098 from ajaxorg/optional-wrapping
Make wrapping behavior optional
2012-11-13 01:28:39 -08:00
Lennart Kats
7e08d7b4ef Make wrapping behavior optional (but still enabled by default) 2012-11-12 18:18:56 +01:00
Harutyun Amirjanyan
741451c041 Merge pull request #1095 from ajaxorg/mode/lisp
Add Lisp mode
2012-11-12 08:40:01 -08:00
Harutyun Amirjanyan
0013b85bc6 Merge pull request #1096 from ajaxorg/mode/stylus
Add stylus support
2012-11-12 08:39:31 -08:00
Harutyun Amirjanyan
a051f1f113 Merge pull request #1094 from ajaxorg/mode/dart
Add Dart support
2012-11-12 08:37:26 -08:00
Garen Torikian
346ea874c6 Add license block 2012-11-12 20:36:11 +04:00
Garen Torikian
1b1b385b47 Add Lisp mode 2012-11-12 20:36:10 +04:00
Garen Torikian
6397482964 Add stylus support 2012-11-12 20:30:39 +04:00
Garen Torikian
5f7884657a Add Dart support 2012-11-12 19:41:49 +04:00
Harutyun Amirjanyan
bd410093d1 Merge pull request #1065 from ajaxorg/selective-bracket-insertion
Selective bracket insertion/skipping for quotes
2012-11-12 07:41:20 -08:00
Lennart Kats
71808b1a40 Fix relative path, insert recording 2012-11-12 19:39:28 +04:00
Lennart Kats
05a3dce9d4 Insert a closing bracket for { inside other brackets, e.g. ({}) 2012-11-12 19:39:28 +04:00
Lennart Kats
99e45e0127 Don't insert a closing bracket for { until a newline is added 2012-11-12 19:39:27 +04:00
Lennart Kats
ad28e3719e Allow insertion before/in punctuation.operator; move rules to constants 2012-11-12 19:39:27 +04:00
Lennart Kats
b2ce75f95b Avoid getitng null token at end of line 2012-11-12 19:39:27 +04:00
Lennart Kats
67fe548347 Check for sane quote insertion at the latest possible point 2012-11-12 19:39:26 +04:00
Lennart Kats
45d7c6a7ee Allow insertion before semmies 2012-11-12 19:39:26 +04:00
Lennart Kats
6953b175a1 Don't insert quotes before text or around other quotes 2012-11-12 19:39:25 +04:00
Mostafa Eweda
4348a9dd23 Merge pull request #1081 from ajaxorg/hotfix/mode
Hotfix/mode
2012-11-12 07:01:27 -08:00
Mostafa Eweda
0f25bfb0e5 Merge pull request #1089 from ajaxorg/auoindent
Auoindent
2012-11-10 11:13:09 -08:00
Harutyun Amirjanyan
88bcdb075c Merge pull request #1092 from ajaxorg/mode/objc
Add obj-c support
2012-11-10 01:45:49 -08:00
Garen Torikian
b883a44823 Fix indentation 2012-11-10 13:29:51 +04:00
Garen Torikian
7a4dec28fd Remove comments 2012-11-10 13:29:51 +04:00
Garen Torikian
8b1404bd4e Update Objc Rules 2012-11-10 13:29:50 +04:00
Garen Torikian
d22ab48d7c Objc highlights 2012-11-10 13:29:50 +04:00
Harutyun Amirjanyan
3213e8fc83 Merge pull request #1093 from ajaxorg/mode/makefile
Mode/makefile
2012-11-10 01:29:02 -08:00
nightwing
d98d29a66a fix makefile mode detection in demo 2012-11-10 13:15:21 +04:00
nightwing
a85b9cebc9 small cleanup 2012-11-10 12:47:56 +04:00
Garen Torikian
608365363e Finalize makefile 2012-11-09 23:20:31 -08:00
Garen Torikian
c66fbc4ba6 Initial commit 2012-11-09 19:00:32 -08:00
Lennart Kats
d96cbba3c1 Merge pull request #1090 from ajaxorg/highlighting/js
red highlight of reserved keywords is too bright
2012-11-08 10:40:17 -08:00
Matt
e524d6b20a Merge pull request #1091 from ajaxorg/site
add pixie and acebug logo
2012-11-08 10:34:38 -08:00
nightwing
345f08bd2e add pixie and acebug logo 2012-11-08 22:26:45 +04:00
nightwing
f6e961ed75 red highlight of reserved keywords is too bright 2012-11-08 22:16:19 +04:00
Garen Torikian
96f534ae81 Merge pull request #1086 from ajaxorg/folding-lua
Folding lua
2012-11-07 09:08:15 -08:00
Mostafa Eweda
64421a0c5e Merge pull request #1084 from ajaxorg/theme-padding
allow themes to set padding
2012-11-07 00:07:37 -08:00
Mostafa Eweda
2c86ab5bcd Merge pull request #1085 from ajaxorg/folding-2
improve folding behavior
2012-11-06 23:48:06 -08:00
Mostafa Eweda
c622a1097e Merge pull request #1083 from ajaxorg/folding-1
add more folding rules
2012-11-06 15:20:05 -08:00
Mostafa Eweda
48f06449f5 Merge pull request #1082 from ajaxorg/worker
update jshint and csslint
2012-11-06 15:18:37 -08:00
Mostafa Eweda
d5039f75c6 Merge pull request #1079 from ajaxorg/requestAnimationFrame
use request animation frame
2012-11-06 14:52:16 -08:00
Lennart Kats
109e9326a9 Merge pull request #1073 from ajaxorg/c9
small changes needed for c9
2012-11-05 01:28:24 -08:00
Mostafa Eweda
b557fe931d Merge pull request #1080 from ajaxorg/hotfix/build
Hotfix
2012-11-04 11:57:52 -08:00
nightwing
329ed752db allow themes to set padding 2012-11-04 23:48:46 +04:00
nightwing
e220a11f34 nicer mouse behavior for foldwigets
activate on mousedown and on double click
2012-11-04 18:10:37 +04:00
nightwing
ebd4b5bfaa improve comment folding 2012-11-04 18:09:29 +04:00
nightwing
3bcb122a72 add foldMode.closingBracketBlock 2012-11-04 18:08:40 +04:00
nightwing
ccee8e7041 fix several typos 2012-11-04 18:08:40 +04:00
nightwing
e1697c2dfd allow folds with empty placeholder 2012-11-04 18:08:02 +04:00
nightwing
093940f151 allow markdown code blocks without a tag 2012-11-04 18:02:48 +04:00
nightwing
825469a059 fix php autoindent 2012-11-04 18:00:22 +04:00
nightwing
65b8b8a7e8 fix autoindent of numbered markdown lists 2012-11-04 18:00:21 +04:00
nightwing
eba12ee3a5 small cleanup of editor.insert 2012-11-04 18:00:06 +04:00
nightwing
d666d031bd add latex folding 2012-11-04 17:55:05 +04:00
nightwing
611ac16ec7 add folding for markdown mode 2012-11-04 17:54:23 +04:00
nightwing
e5fe3a492f fix jade and typescript folding 2012-11-04 17:52:36 +04:00
nightwing
4252b12d06 add folding for ruby 2012-11-04 17:52:00 +04:00
nightwing
20cf910ade fix highlighting of powershell v2 multiline comments 2012-11-04 17:38:23 +04:00
nightwing
5ab20469c0 simplify lua folding 2012-11-04 17:37:40 +04:00
nightwing
db499d06a9 finish lua folding 2012-11-04 17:34:52 +04:00
nightwing
704eae50c1 lua folding: do not show foldwidgets for keywords in comments 2012-11-04 17:34:52 +04:00
Garen Torikian
98b0026207 Start work on lua fodmode 2012-11-04 17:34:51 +04:00
nightwing
e7339ac321 add UIWorkerClient for debugging 2012-11-04 17:31:16 +04:00
nightwing
5ab67aba78 better deferred call 2012-11-04 17:31:16 +04:00
nightwing
58ac58ee34 allow to change document of session 2012-11-04 17:31:15 +04:00
nightwing
e0c721b033 fix highlighting of =begin comments in ruby 2012-11-04 17:30:15 +04:00
nightwing
4c4278f446 fix macro highlighting in AsciiDoc mode 2012-11-04 17:30:15 +04:00
nightwing
c34a71ef20 #1056: fix highlighting of left|right in css mode 2012-11-04 17:30:15 +04:00
nightwing
8da6d26ae4 #1052 fix highlighting after the dash. 2012-11-04 17:30:15 +04:00
nightwing
2928bd1ef3 enable workers in demo since firefox bug was fixed 2012-11-04 17:29:07 +04:00
nightwing
89b65c3968 tweak info warning list to match cloud9 2012-11-04 17:29:06 +04:00
nightwing
502b1af138 update jshint and csslint 2012-11-04 17:29:06 +04:00
nightwing
c0841aa843 add missing else 2012-11-04 17:28:20 +04:00
nightwing
f02db6ff62 fix vim zz 2012-11-04 17:25:52 +04:00
nightwing
c4c8b2ec7e fix typo 2012-11-04 17:25:52 +04:00
nightwing
2983fcb9b6 #1061: Problem optimizing ace sources with requirejs optimizer 2012-11-04 17:25:51 +04:00
nightwing
175ed3618b #1054 Opera indent bug 2012-11-04 17:25:51 +04:00
nightwing
6dddfe8edd use requestAnimationFrame 2012-11-04 17:11:42 +04:00
nightwing
ca26a82ef9 increase timeout for bracket highlighting 2012-11-04 17:11:42 +04:00
nightwing
a334a64691 prevent higlight_word from freezing the browser on long lines 2012-11-04 17:11:41 +04:00
Harutyun Amirjanyan
3f8aa00d23 Merge pull request #1075 from wcandillon/master
Improvements in the XQuery mode
2012-11-03 00:54:20 -07:00
Harutyun Amirjanyan
5c36de8644 Merge pull request #1076 from ajaxorg/fix_bad_type
Fix bad type return
2012-11-02 10:15:17 -07:00
Sergi Mansilla
e0f67e2074 Fix bad type return
`this.$annotations` is always an Array, but the return type when `this.$annotations` is falsy is an object. This commit fixes that.
2012-11-02 17:59:39 +01:00
William Candillon
4aef8e9e21 Minor improvements on the syntax highlighter. 2012-11-02 14:36:36 +01:00
Harutyun Amirjanyan
634bc7f59c Merge pull request #1074 from ajaxorg/check-known-command
Check for known command in worker
2012-11-02 06:16:39 -07:00
Lennart Kats
1bd26e19aa Check for known command in worker 2012-11-02 13:46:33 +01:00
William Candillon
c9cef12b9f Merge git://github.com/ajaxorg/ace 2012-11-01 15:45:08 +01:00
William Candillon
1ac2874ecf Improvements in the XQuery highlighter. 2012-11-01 12:15:08 +01:00
nightwing
4b372b67ad keep execCommand 2012-10-31 17:39:48 +04:00
nightwing
aa0c0d5fa7 Revert "Merge branch 'textinput' into master"
This reverts commit 8d9f0e28eb, reversing
changes made to 5538d1654a.
2012-10-31 17:37:02 +04:00
nightwing
e0a2e1c688 Merge branch 'chromecxtmenu' into master 2012-10-29 13:02:27 +04:00
Lennart Kats
4618b2aa06 Merge pull request #988 from ajaxorg/fix/line-highlight
Fix/line highlight
2012-10-29 01:44:32 -07:00
nightwing
66836adbc3 fix getVersion for install -c 2012-10-29 12:14:04 +04:00
nightwing
4c9f8cf0bd ie8 fixes 2012-10-29 11:58:38 +04:00
DanyaPostfactum
9d82f0d406 Fix contextual menu in Chrome (Windows) 2012-10-29 11:58:38 +04:00
nightwing
fb401dc298 update require.js 2012-10-29 11:58:37 +04:00
Garen Torikian
b7e4d83233 Merge pull request #1071 from ajaxorg/site
fix workers on ace.ajax.org
2012-10-27 21:05:20 -07:00
Harutyun Amirjanyan
23f4b201ce Merge pull request #1058 from ajaxorg/feature/keyboardModifyNumbers
Feature/keyboard modify numbers
2012-10-27 10:39:24 -07:00
nightwing
961b6cecb6 small cleanup 2012-10-27 18:54:36 +04:00
Garen Torikian
aca8b9a73b Fix doc comment 2012-10-27 18:54:36 +04:00
Garen Torikian
23f7fc4658 Remove +10, change command name 2012-10-27 18:54:36 +04:00
Garen Torikian
43c74f415f Add tenth place, fix doc comments 2012-10-27 18:54:35 +04:00
Vlad Zinculescu
048c88cf5e update keybinding for modifyNumber on windows 2012-10-27 18:54:35 +04:00
Vlad Zinculescu
073ee0cbf6 update description of modifyNumber 2012-10-27 18:54:35 +04:00
Vlad Zinculescu
66f46cc6ef update description of modifyNumber 2012-10-27 18:54:34 +04:00
Vlad Zinculescu
82c07a5f68 update keyboard shortcut for modifyNumber 2012-10-27 18:54:34 +04:00
Vlad Zinculescu
9c3e6c5cce reformat the code 2012-10-27 18:54:34 +04:00
Vlad Zinculescu
e3ad71b4e1 modifiy numbers with keyboard 2012-10-27 18:54:33 +04:00
nightwing
b50d0cde96 fix test 2012-10-27 17:43:00 +04:00
nightwing
0a88689f1b fix workers on ace.ajax.org 2012-10-27 17:37:30 +04:00
nightwing
9472d497a3 add basePath config 2012-10-27 17:34:40 +04:00
nightwing
ce27f97ce9 Merge branch 'dryice_version' into master 2012-10-27 00:49:22 +04:00
nightwing
4fabcca2af use latest dryice version compatible with node 0.6 2012-10-27 00:47:57 +04:00
cadorn
d9c6409922 error out properly if post install throws error 2012-10-27 00:34:32 +04:00
cadorn
673646da30 set dryice version 2012-10-27 00:33:14 +04:00
nightwing
dfe918e339 fix line highlight on the last line
Issue #934
2012-10-26 22:44:17 +04:00
nightwing
f7786930e9 add fullLine type for markers 2012-10-26 22:43:49 +04:00
nightwing
4959e121c8 Actually fix "Cannot read property env of null" 2012-10-26 21:49:53 +04:00
nightwing
bd24fad28f Merge remote-tracking branch 'origin/ie8' into master 2012-10-26 21:45:12 +04:00
nightwing
e0727f8b31 fix ie8 object.create 2012-10-26 21:43:32 +04:00
nightwing
1d7d636bff Merge branch 'cursors' into master
TODO, needs cleanup
2012-10-26 21:05:13 +04:00
nightwing
4ab41d02cc cursors should start in hidden state 2012-10-26 20:55:36 +04:00
nightwing
f4507df564 do not break subpixel positioning of markers 2012-10-26 20:29:40 +04:00
nightwing
9179b04438 undo rename 2012-10-26 19:46:37 +04:00
DanyaPostfactum
73f68abfc1 Retarget css-class changing from each cursor to whole cursor layer 2012-10-26 19:41:25 +04:00
DanyaPostfactum
1557004dfa Add smoothBlinking option to cursor 2012-10-26 19:41:25 +04:00
DanyaPostfactum
aa9962aafd Add blinkInterval option to cursor 2012-10-26 19:41:24 +04:00
DanyaPostfactum
4a38512616 Rename restartTimer to resetTimer in cursor, refactor this method 2012-10-26 19:41:24 +04:00
DanyaPostfactum
c2c650db1c Simplify update method of cursor layer 2012-10-26 19:41:24 +04:00
nightwing
8d9f0e28eb Merge branch 'textinput' into master 2012-10-26 19:35:13 +04:00
nightwing
3677c36a14 add editor.execCommand function 2012-10-26 19:32:27 +04:00
nightwing
00f6b46cd3 disable autocapitalize to improve behavior on mobile browsers 2012-10-26 19:32:26 +04:00
DanyaPostfactum
fcbe904435 fix clipboardData reference 2012-10-26 19:32:26 +04:00
DanyaPostfactum
a49a0b9ad3 Fix webkit text.oninput value changing workaround 2012-10-26 19:32:25 +04:00
DanyaPostfactum
38ef17528b Fix mistype and opera copy/cut selectAll triggering 2012-10-26 19:32:25 +04:00
DanyaPostfactum
473ddfd353 Add Select All context menu command support 2012-10-26 19:32:24 +04:00
DanyaPostfactum
0604b75310 change selection instead of text.value 2012-10-26 19:32:24 +04:00
DanyaPostfactum
074ed41db0 Clipboard API support, context menu Delete command support 2012-10-26 19:32:23 +04:00
Lennart Kats
5538d1654a Merge pull request #1066 from ajaxorg/mac_fonts
'Monaco' looks better than 'Menlo'
2012-10-24 07:29:53 -07:00
nightwing
47cb2d5871 'Monaco' looks better than 'Menlo' 2012-10-24 18:24:03 +04:00
Matt
98b83978be Merge pull request #1064 from c9developer/master
Site updates
2012-10-23 22:56:02 -07:00
C9
f48d6ab504 Site updates 2012-10-24 01:48:41 -04:00
Harutyun Amirjanyan
f38a4e0e5b Merge pull request #1055 from ajaxorg/selective-bracket-insertion
Selective bracket insertion/skipping
2012-10-22 05:25:33 -07:00
Lennart Kats
72dde40c76 Make sure wrapping behaves the same as before 2012-10-22 14:17:08 +02:00
Lennart Kats
6338bd10f3 Merge remote-tracking branch 'origin/master' into selective-bracket-insertion 2012-10-22 11:42:25 +02:00
Mostafa Eweda
9a08960ed0 Merge pull request #1015 from ajaxorg/build
fix build
2012-10-21 12:11:57 -07:00
Harutyun Amirjanyan
b95ece2cc4 Merge pull request #1046 from ajaxorg/feature/sorLines
Add sortLines functionality in all modes
2012-10-20 13:55:05 -07:00
nightwing
27ac92f9b0 cleanup 2012-10-21 00:45:45 +04:00
William Candillon
036b31ac3f Add C style behavior to XQuery mode. 2012-10-20 12:29:00 +02:00
Harutyun Amirjanyan
069519066c Merge pull request #1049 from dnd/add_sql_keywords
Add keywords insert,update,delete for SQL mode
2012-10-19 14:41:49 -07:00
Steve Valaitis
8f46921e5d Add keywords insert,update,delete for SQL mode 2012-10-19 15:51:53 -05:00
William Candillon
dcf38946a9 Fix bug in error message line number. 2012-10-19 15:27:50 +02:00
Vlad Zinculescu
281a1ca2a8 add sortLines functionality in all modes 2012-10-19 12:56:44 +02:00
Lennart Kats
40bc5ee79a Allow bracket insertion after closing bracket: }() 2012-10-18 17:29:15 +02:00
Lennart Kats
99f6953108 Only skip closing brackets if they were just auto-inserted 2012-10-18 16:36:44 +02:00
Lennart Kats
b126f5d314 Allow multiple bracket closing insertionss like {{{}}} 2012-10-18 16:36:44 +02:00
Lennart Kats
5ed0998ce7 Be selective when auto-inserting brackets 2012-10-18 16:36:44 +02:00
Lennart Kats
2950c67e3e Don't surround bracketize brackets when you're trying to overwrite them 2012-10-18 16:36:44 +02:00
Harutyun Amirjanyan
ba095bc644 Merge pull request #1045 from wcandillon/master
Updating the XQuery Parser
2012-10-18 04:28:19 -07:00
William Candillon
daf7707d96 Add license header on the XQuery Syntax highlighter. 2012-10-18 12:25:08 +02:00
William Candillon
57635c78fa Merge git://github.com/ajaxorg/ace 2012-10-18 10:42:58 +02:00
William Candillon
f2a9bd1b02 Update XQuery Parser. 2012-10-18 10:41:54 +02:00
Harutyun Amirjanyan
063e8442a3 Merge pull request #1016 from ajaxorg/mode/jade
Fix JS highlight rules embedded in Jade
2012-10-18 00:12:39 -07:00
Garen Torikian
4fee6a4034 Update generated API content 2012-10-17 13:32:51 -07:00
Garen Torikian
4a949a5cb1 Update doc, fix #1041 2012-10-17 13:14:41 -07:00
Garen Torikian
90c918217a Add back missing site 2012-10-16 13:19:46 -07:00
Garen Torikian
edb4260149 Merge branch 'master' of github.com:ajaxorg/ace 2012-10-16 13:17:27 -07:00
Garen Torikian
fd3307a3a6 Add new sites 2012-10-16 13:17:15 -07:00
Mostafa Eweda
2a41a7e929 Merge pull request #1036 from ajaxorg/worker-api-compatibility
[Trivial] Update worker API compatibility
2012-10-15 10:01:49 -07:00
Mostafa Eweda
08bce08db5 log multiple arguments support + Remove unused msgs argument 2012-10-15 18:12:32 +02:00
Harutyun Amirjanyan
eeda80933a Merge pull request #1022 from adamjimenez/patch-14
Fix double click php var selects the $ sign #2
2012-10-15 07:16:02 -07:00
Harutyun Amirjanyan
5ce549f08f Merge pull request #1034 from ajaxorg/fix/break-highlight
[Trivial] Fix break keyword highlighting
2012-10-15 07:15:10 -07:00
Lennart Kats
e2bd27a559 Fix break keyword highlighting 2012-10-15 16:02:02 +02:00
Lennart Kats
5e64876ce7 Support console.log/error with non-array arguments 2012-10-15 15:25:29 +02:00
Lennart Kats
8ed09f246a Merge pull request #1033 from ajaxorg/annotations
allow multiline annotations
2012-10-15 06:22:14 -07:00
nightwing
7fc1944c8b allow multiline annotations 2012-10-15 17:14:29 +04:00
nightwing
446556ea4f missing semicolon must show info not warning 2012-10-15 14:09:49 +04:00
nightwing
872125db46 use relative paths everywhere 2012-10-13 17:46:44 +04:00
nightwing
0ccab0463c make generated file a little smaller 2012-10-13 17:25:35 +04:00
nightwing
8c310caf8b include fold_mode in main build since it is used by all modes 2012-10-13 17:06:43 +04:00
Mostafa Eweda
34b2e292c7 Merge pull request #994 from ajaxorg/cleanup
Cleanup
2012-10-12 16:09:48 -07:00
Adam Jimenez
b61fe0c5a4 Fix double click php var selects the $ sign #2
Fix #654: double clicking php vars selects the $ sign
2012-10-09 14:59:53 +02:00
Garen Torikian
0b35f98c65 Merge pull request #1020 from c9developer/master
Content updates
2012-10-08 12:05:24 -07:00
C9
875c5f0541 Content updates 2012-10-08 15:00:23 -04:00
Matt
d5ba28cb15 Merge pull request #1018 from c9developer/master
Pageview
2012-10-07 07:51:56 -07:00
C9
33ae14f4dd Merge branch 'master' of git://github.com/ajaxorg/ace 2012-10-07 10:51:09 -04:00
C9
68f1c3a816 Pageviews 2012-10-07 10:51:04 -04:00
Garen Torikian
255bb49834 Fix JS highlight rules 2012-10-06 11:42:32 -07:00
nightwing
d03889b01e remove trailing commas 2012-10-06 20:45:47 +04:00
nightwing
b28cf374be fix underescaped reexps 2012-10-06 20:39:06 +04:00
nightwing
b0fac77a37 char is a reserved word 2012-10-06 20:39:05 +04:00
nightwing
5310a38dc8 fix typo 2012-10-06 20:39:05 +04:00
Harutyun Amirjanyan
b7aac28e3a Merge pull request #1013 from adamjimenez/patch-12
support php short tags <?
2012-10-06 06:06:40 -07:00
nightwing
a2d34bf291 fix demo build 2012-10-06 15:52:15 +04:00
nightwing
20a7a6307d remove state handler from build 2012-10-06 14:55:43 +04:00
nightwing
73f66d9408 move css strings inline to avoid problems with text plugin 2012-10-06 14:54:27 +04:00
nightwing
8366784729 silence annoying messages from dryice 2012-10-06 14:50:16 +04:00
nightwing
60723e3b96 small cleanup 2012-10-06 14:43:25 +04:00
nightwing
2b08cebd56 do not call install on sm update 2012-10-06 14:40:13 +04:00
Adam Jimenez
a541f897a0 Update lib/ace/mode/php_highlight_rules.js
support php short tags <?
2012-10-05 09:31:02 +02:00
bootstraponline
6cfe9617c2 Fix filterTextPlugin.
Code from @nightwing on #1000
2012-10-05 10:42:12 +04:00
bootstraponline
3e5fa146a1 Include ext in dryice. Fix #986. 2012-10-05 10:42:11 +04:00
bootstraponline
6eecc42409 Add missing ; 2012-10-05 10:42:11 +04:00
bootstraponline
acce02adcd Fix removeLicenceComments typo. 2012-10-05 10:42:10 +04:00
Matt
87fadcf2aa Merge pull request #1012 from c9developer/master
Kera.io
2012-10-04 18:45:26 -07:00
C9
524b366b88 Added kera 2012-10-04 21:44:36 -04:00
Garen Torikian
7208932909 Merge pull request #1008 from ajaxorg/tmp
Make Editing Syntax Highlighters Over 111.1(1) Times More Efficient
2012-10-04 13:31:04 -07:00
Harutyun Amirjanyan
2ef35a2ee9 fix ?? highlighting in js mode 2012-10-04 04:21:56 -04:00
Harutyun Amirjanyan
201210fefa update highlighting when mode is changed 2012-10-04 03:25:48 -04:00
Harutyun Amirjanyan
30445fd2f8 add some semicolons ;( 2012-10-04 03:15:55 -04:00
nightwing
3d6ce5fdf5 Merge remote-tracking branch 'remotes/origin/master' into mode_live_edit
Conflicts:
	demo/kitchen-sink/demo.js
	lib/ace/mode/coffee_highlight_rules_test.js
2012-10-03 22:44:58 +04:00
Harutyun Amirjanyan
30c8082b72 Merge pull request #1007 from ajaxorg/theme/cobalt
Update missing strings; add a few more JS keywords
2012-10-03 11:19:50 -07:00
Garen Torikian
fd56ff0194 Update lib/ace/theme/kr_theme.css 2012-10-03 10:58:29 -07:00
Garen Torikian
a60af0030a Update missing strings; add a few more JS keywords 2012-10-03 09:41:07 -07:00
Mostafa Eweda
c91f42f813 Merge pull request #992 from ajaxorg/bold_fonts
Allow bold fonts
2012-10-03 02:51:55 -07:00
Mostafa Eweda
04030e847e Merge branch 'master' into bold_fonts
Conflicts:
	lib/ace/theme/github.css
2012-10-03 11:50:21 +02:00
Mostafa Eweda
7cdc24cd64 Merge pull request #941 from ajaxorg/worker
Worker refactor
2012-10-03 02:34:47 -07:00
Mostafa Eweda
cbf007010e Multiple annotations should show on multiple lines 2012-10-03 11:30:36 +02:00
Mostafa Eweda
9b993ee9c2 Missing semicolon is a warning 2012-10-03 11:29:59 +02:00
Mostafa Eweda
365cd8a685 Merge pull request #1006 from ajaxorg/restore-postinstall
Revert "don't build on install"
2012-10-03 01:53:41 -07:00
Lennart Kats
999bf92801 Revert "don't build on install". This broke the Cloud9 build.
This reverts commit 36685c4f8a.
2012-10-03 10:20:18 +02:00
Ruben Daniels
eae66e4fc2 Merge pull request #1005 from ajaxorg/mode/typescript
Some updates to typescript
2012-10-02 15:07:59 -07:00
Garen Torikian
ef4327769a Merge branch 'mode/typescript' of github.com:ajaxorg/ace into mode/typescript 2012-10-02 15:05:51 -07:00
Garen Torikian
29e19fc062 Updates to Typescript highlighting 2012-10-02 15:05:38 -07:00
Harutyun Amirjanyan
f614cb46ac Merge pull request #1003 from danyaPostfactum/gutter
Gutter double click for selectAll
2012-10-02 07:50:17 -07:00
DanyaPostfactum
afbd1e959c Gutter double click for selectAll 2012-10-02 19:44:42 +10:00
Harutyun Amirjanyan
c3cd57f451 Merge pull request #1001 from ajaxorg/mode/typescript
Support Typescript
2012-10-02 00:36:28 -07:00
Harutyun Amirjanyan
44b5d111c9 Merge pull request #998 from ukyo/coffee-highlight2
fix coffee highlight rules
2012-10-02 00:29:23 -07:00
nightwing
7a9a2e4044 small cleanup 2012-10-02 11:17:55 +04:00
Garen Torikian
99f28492c1 Remove TMlanguage file 2012-10-01 22:55:24 -07:00
Garen Torikian
182542a77c Add typescript support 2012-10-01 22:52:30 -07:00
nightwing
cbfb690a2e Merge remote-tracking branch 'remotes/origin/master' into worker
Conflicts:
	lib/ace/css/editor.css
2012-10-02 00:23:58 +04:00
ukyo
4b25a4dfab fix function regexps. Its ignore invalid coffeescipts. 2012-10-02 04:54:23 +09:00
Matt
d68cc3843e Merge pull request #996 from c9developer/master
Updated zorba
2012-10-01 11:05:55 -07:00
C9
5d55ba8e1e Updated zorba 2012-10-01 14:05:24 -04:00
Matt Pardee
494980b1e3 Merge branch 'gh-pages' of github.com:ajaxorg/ace into gh-pages 2012-10-01 10:52:50 -07:00
Matt
ad77ca164a Merge pull request #995 from c9developer/master
Plunker
2012-10-01 10:52:16 -07:00
C9
769b73101f Plunker logo 2012-10-01 13:40:28 -04:00
C9
3c4d90dc55 Merge branch 'master' of git://github.com/ajaxorg/ace 2012-10-01 13:20:06 -04:00
C9
364ab18d26 Added plunker 2012-10-01 13:19:59 -04:00
Harutyun Amirjanyan
6702cff5e2 Merge pull request #991 from danyaPostfactum/cssrefactor
CSS refactoring
2012-10-01 10:06:05 -07:00
Harutyun Amirjanyan
6882b30742 Merge pull request #985 from ukyo/coffee-highlight1
update coffeescript highlight rules
2012-10-01 10:04:50 -07:00
nightwing
d071027087 use fonts that have bold face with same width 2012-10-01 20:22:54 +04:00
nightwing
c6523b8fea disable bold style if font doesn't support it 2012-10-01 20:19:01 +04:00
Harutyun Amirjanyan
501c47a559 Merge pull request #990 from danyaPostfactum/disablespellcheck
Disable spellcheck in textarea, set wrap property instead of attribute
2012-10-01 08:52:23 -07:00
Mostafa Eweda
7877ff5e44 Merge pull request #982 from ajaxorg/vim
vim mode: fix df
2012-10-01 08:16:29 -07:00
Harutyun Amirjanyan
8ac40fdeac Merge pull request #989 from danyaPostfactum/mistype
Fix mistype in svg example and in cursor layer method setOverwrite
2012-10-01 07:46:36 -07:00
DanyaPostfactum
5e5d122332 Disable spellcheck in textarea, set wrap property instead of attribute 2012-10-02 00:37:56 +10:00
DanyaPostfactum
750b591186 Fix mistype in setOverwrite of cursor layer. 2012-10-02 00:17:01 +10:00
DanyaPostfactum
e30ebc06b5 Fix mistype in svg demo 2012-10-02 00:16:05 +10:00
DanyaPostfactum
e4d7fc17a6 Ambiance theme fixes 2012-10-02 00:12:28 +10:00
nightwing
4b199d56ab #465 leading decimal point (.5) is not an error 2012-10-01 17:00:45 +04:00
DanyaPostfactum
2b7b07f02d Fix github theme mistype and remove strange font-weight hard reset 2012-10-01 19:15:00 +10:00
DanyaPostfactum
42b6ac75d6 Fix css-selector in chrome theme (trailing comma) 2012-10-01 19:13:37 +10:00
DanyaPostfactum
b30c087fac Fix css-selector in vim/maps/util 2012-10-01 19:13:05 +10:00
DanyaPostfactum
35a1551d1e Place print_margin_layer before other layers 2012-10-01 18:56:10 +10:00
DanyaPostfactum
a9f9bbbf8e Remove "%cssClass% .ace_editor" unused css-rule 2012-10-01 18:48:45 +10:00
DanyaPostfactum
fe5aa98fc5 rename .start to .ace_start for selection markers 2012-10-01 18:43:59 +10:00
DanyaPostfactum
0490b34fe2 Rename multiselect to ace_multiselect 2012-10-01 18:13:59 +10:00
DanyaPostfactum
e61d4c21f2 Prefix foldWidget state css-classes 2012-10-01 18:09:12 +10:00
DanyaPostfactum
7e81913058 rename .horscroll to .ace_scroll-left 2012-10-01 17:47:15 +10:00
DanyaPostfactum
489afda3ba Fix box-model of the cursor 2012-10-01 17:21:35 +10:00
DanyaPostfactum
6576190b53 Add forgotten ace_layer class to ace_print-margin-layer 2012-10-01 17:15:28 +10:00
DanyaPostfactum
911e0a8eac Simplify some of selectors in editor.css 2012-10-01 17:13:55 +10:00
DanyaPostfactum
d8e60f9f4b Vendor-prefixed css-properties should go before standart. 2012-10-01 17:06:40 +10:00
DanyaPostfactum
936d077389 Rename ace_sb to ace_scrollbar 2012-10-01 17:02:03 +10:00
ukyo
4d91fac145 fix regexp 2012-10-01 15:58:18 +09:00
DanyaPostfactum
15c5290aec Replace _ by - in css-classes 2012-10-01 16:50:23 +10:00
DanyaPostfactum
ddb40420cd add css-class to textarea 2012-10-01 16:35:23 +10:00
ukyo
1510119e7f add function regexps and tests 2012-10-01 00:18:47 +09:00
ukyo
ffa0331542 fix function regexp 2012-09-30 20:20:36 +09:00
ukyo
706652048f small fix and add tests 2012-09-30 18:58:45 +09:00
ukyo
663fae408e small fix about illegal keywords 2012-09-30 17:39:35 +09:00
ukyo
7f302bfc2f update coffeescript highlight rules 2012-09-30 17:04:01 +09:00
nightwing
21805efa88 fix highlighting of /0|1{,10}/ in javascript 2012-09-30 03:00:22 +04:00
nightwing
3b911019f1 fix highlighting of /"[s]/ in coffeeScript 2012-09-30 03:00:22 +04:00
nightwing
e2abf0f8f5 tweak YAML mode 2012-09-30 03:00:22 +04:00
nightwing
ae2149241e add asciidoc highlighter 2012-09-30 02:59:57 +04:00
nightwing
854f21595b add simple page for live editing highlighters 2012-09-30 02:59:57 +04:00
nightwing
5630688576 add tooltip for token under the mouse
helps building modes and themes
2012-09-30 02:59:57 +04:00
nightwing
48b7aa69fe break demo into smaller parts 2012-09-30 02:59:57 +04:00
nightwing
6bdacdf69e break demo into smaller parts 2012-09-30 02:59:56 +04:00
Harutyun Amirjanyan
49a120990f Merge pull request #983 from ukyo/patch1
fix typo
2012-09-29 11:37:47 -07:00
ukyo
6dbfcaa3a9 fix typo 2012-09-30 02:56:42 +09:00
Garen Torikian
ba675ba640 Merge branch 'master' into gh-pages 2012-09-28 15:43:48 -07:00
Garen Torikian
c21a5fe4e0 Also, remove 'fork me' banner 2012-09-28 15:43:36 -07:00
Garen Torikian
1a856fd0dd Add right logo 2012-09-28 15:41:04 -07:00
Garen Torikian
9df3e44f8e Merge branch 'gh-pages' of github.com:ajaxorg/ace into gh-pages 2012-09-28 07:59:56 -07:00
nightwing
682bb31c54 vim mode: fix df 2012-09-28 18:44:29 +04:00
Garen Torikian
badc8bc58c Merge branch 'master' into gh-pages 2012-09-28 07:21:02 -07:00
Garen Torikian
e2d4b6c296 Merge branch 'master' of github.com:ajaxorg/ace 2012-09-28 07:20:48 -07:00
Garen Torikian
ae0ab0c7aa Show URL as protocol independent; fix #981 2012-09-28 07:20:34 -07:00
Fabian Jakobs
36685c4f8a don't build on install 2012-09-28 12:17:19 +03:00
matt
d425e509d1 Merge branch 'gh-pages' of git://github.com/ajaxorg/ace into gh-pages 2012-09-27 20:30:18 -07:00
Matt
ea42f40ae3 Merge pull request #980 from c9developer/master
Added zorba image to prod page
2012-09-27 20:29:41 -07:00
C9
73a8f49dda added zorba 2012-09-27 23:28:44 -04:00
Garen Torikian
03cf554530 Merge branch 'gh-pages' of github.com:ajaxorg/ace into gh-pages 2012-09-27 10:59:52 -07:00
Garen Torikian
ff5b55e09d Merge pull request #957 from ajaxorg/themes
Theme update
2012-09-26 12:13:37 -07:00
Fabian Jakobs
0dd73feac0 don't call install.js on 'npm install' 2012-09-26 08:30:26 -04:00
Matt
6f3299ae90 Merge pull request #977 from c9developer/master
Moar in prod updates
2012-09-25 13:31:53 -07:00
C9
a93e175c9a More in prod updates 2012-09-25 16:31:12 -04:00
Matt
a021ace670 Merge pull request #976 from c9developer/master
Added new site to prod list
2012-09-25 13:22:18 -07:00
C9
3f0ecdbbdf Added codiad 2012-09-25 16:21:22 -04:00
Matt
d70297123e Merge pull request #975 from c9developer/master
Updated image sources to cloudfront
2012-09-25 11:06:36 -07:00
C9
45dc43d112 Put images on cloudfront 2012-09-25 14:04:40 -04:00
Harutyun Amirjanyan
36a043c5be Merge pull request #974 from ajaxorg/mode/jsp
[Liskov] Add JSP mixed mode highlighter
2012-09-25 10:37:34 -07:00
Mostafa Eweda
2f59389bd7 Add JSP mixed mode highlighter 2012-09-25 19:07:40 +02:00
Matt
80bdd449ed Merge pull request #971 from c9developer/master
Missing image fix
2012-09-24 15:50:33 -07:00
C9
28bc4137e7 Missing image fix 2012-09-24 18:48:34 -04:00
Matt
80d1d80ffc Merge pull request #970 from c9developer/master
Updated in prod page
2012-09-24 15:47:07 -07:00
C9
1c2ea79f01 Updated in production page 2012-09-24 18:46:14 -04:00
Matt
abd88ed381 Merge pull request #966 from c9developer/master
ShareJS
2012-09-23 01:40:52 -07:00
C9
69ba9d9ef9 Added sharejs 2012-09-23 04:40:10 -04:00
Matt
2100dbb6f5 Merge pull request #965 from c9developer/master
New site
2012-09-23 01:08:44 -07:00
C9
ac471606eb New site 2012-09-23 04:07:37 -04:00
Garen Torikian
aa73ac3fae Fix border radius on API 2012-09-21 11:38:09 -07:00
Matt
43817efd82 Merge pull request #962 from c9developer/master
line-height and text shadow
2012-09-21 11:27:56 -07:00
C9
b47b88e83c line-height and text shadow 2012-09-21 14:27:16 -04:00
Matt
53ca5f1413 Merge pull request #961 from c9developer/master
Moved gh buttons down a notch
2012-09-21 08:22:51 -07:00
C9
bc4709be61 Moved gh buttons down a notch 2012-09-21 11:21:40 -04:00
Garen Torikian
20a6bdd42b Add GitHub social to logo 2012-09-20 13:52:55 -07:00
Harutyun Amirjanyan
d65fabedb5 Merge pull request #959 from danyaPostfactum/mousewheel
Fix ctrl+wheel issue
2012-09-20 12:12:52 -07:00
C9
45a8be55b6 Merge branch 'master' of git://github.com/ajaxorg/ace 2012-09-20 12:31:54 -04:00
C9
e5544b7114 Many updates to the site, content and design 2012-09-20 12:31:48 -04:00
DanyaPostfactum
10296a87a5 Fix ctrl+- issue 2012-09-20 05:10:58 +10:00
Garen Torikian
dd0bbc7d8d fix my name's spelling 2012-09-19 11:06:42 -07:00
nightwing
3aca398f1d fix active line color for solarized_dark theme 2012-09-19 21:32:40 +04:00
Lennart Kats
94ef091a47 Merge pull request #958 from ajaxorg/update_version
update ChangeLog for v1
2012-09-19 09:15:04 -07:00
nightwing
1513ad99e5 update ChangeLog and package.json 2012-09-19 19:34:07 +04:00
nightwing
a6ce721d92 add indent guides for ambiance and xcode 2012-09-19 18:39:29 +04:00
Garen Torikian
ecfdc5fbc4 Update themes some more 2012-09-19 18:39:29 +04:00
nightwing
021d169fbe remove redundant rules from themes 2012-09-19 18:39:29 +04:00
nightwing
2e55b85a97 regenerate all themes 2012-09-19 18:39:28 +04:00
Garen Torikian
4017abd825 Make updates to theme parser logic and tool 2012-09-19 18:39:07 +04:00
Lennart Kats
1ff5571bb7 Merge pull request #942 from ajaxorg/tmp
fix miscellaneous small bugs
2012-09-19 07:02:41 -07:00
Harutyun Amirjanyan
859c753507 Merge pull request #913 from quexer/patch-2
Update lib/ace/mode/markdown_highlight_rules.js
2012-09-18 00:58:22 -07:00
quexer
a68ec0b346 update license block 2012-09-18 15:46:36 +08:00
Matt
62ac96db52 Merge pull request #955 from c9developer/master
Content and style updates
2012-09-17 15:32:19 -07:00
C9
3e4847c88b Merge resolution 2012-09-17 18:30:14 -04:00
C9
eb744d58fc Content and style updates 2012-09-17 18:27:28 -04:00
Matt
04e3e2ca59 Update Readme.md 2012-09-17 14:23:55 -07:00
Garen Torikian
119ab08977 Fix site expansion 2012-09-17 13:00:45 -07:00
Garen Torikian
b006c820b9 Remove links, rearrange icons 2012-09-17 12:51:57 -07:00
Garen Torikian
844c37fda9 Few more tweaks 2012-09-17 12:36:40 -07:00
Garen Torikian
f66b365f35 Merge master for site tweaks 2012-09-17 11:28:50 -07:00
Garen Torikian
bcbdd41751 Site tweaks 2012-09-17 11:27:46 -07:00
Matt
d4d296d926 Merge pull request #954 from c9developer/master
Added website to list of prod apps
2012-09-17 09:53:43 -07:00
C9
a50afaa62f Added website to list of prod apps 2012-09-17 12:52:45 -04:00
Matt
3b75f426a8 Merge pull request #952 from c9developer/master
Minor site styles update of the embedded editor
2012-09-17 08:54:07 -07:00
C9
ecf5d7dce2 Style updates 2012-09-17 11:52:56 -04:00
Harutyun Amirjanyan
6e3cad23f6 Merge pull request #950 from ajaxorg/worker-api-compatibility
(Trivial) Worker API compatibility
2012-09-17 06:44:51 -07:00
Matt
d5886c9787 Merge pull request #951 from c9developer/master
Some updates to site
2012-09-17 06:42:00 -07:00
C9
10fe461ba5 Some updates 2012-09-17 09:40:48 -04:00
Lennart Kats
4d2e0931db Add sanity check for require([module], function(){}) form 2012-09-17 13:47:36 +02:00
Lennart Kats
b02ba2b3d0 Add varargs console.log to worker 2012-09-17 13:47:36 +02:00
Harutyun Amirjanyan
453df3352d Merge pull request #943 from danyaPostfactum/monokaifix
Monokai theme selection contrast fix
2012-09-16 23:23:33 -07:00
Matt
19ea899437 Merge pull request #947 from c9developer/master
Little link change
2012-09-16 23:08:50 -07:00
C9
4abcb89f19 Little link change for the site 2012-09-17 02:08:01 -04:00
Matt
7a7d0f2855 Merge pull request #946 from c9developer/master
Minor updates to ACE site
2012-09-16 23:02:47 -07:00
C9
94b75bd994 Updated disqus and some docs 2012-09-17 02:00:48 -04:00
Garen Torikian
ff78d7e88f Merge pull request #945 from c9developer/master
New ACE site
2012-09-16 22:05:03 -07:00
C9
9cf734317f Merge branch 'gh-pages' 2012-09-17 01:00:57 -04:00
C9
1d8b94b53d Merge branch 'master' into gh-pages 2012-09-17 00:58:37 -04:00
C9
801a5b63df Final for now 2012-09-17 00:48:19 -04:00
DanyaPostfactum
ea391b3550 Monokai theme selection contrast fix 2012-09-17 06:42:28 +10:00
nightwing
1a603dfa4e fix cursor remains hidden if textarea is autofocused 2012-09-16 22:42:08 +04:00
nightwing
82550104db do not group annotations by rows since whole array is replaced every time 2012-09-14 12:31:01 +04:00
nightwing
d03f2ae38b update jshint 2012-09-14 12:31:01 +04:00
nightwing
e0efc143c6 fix csslint 2012-09-14 12:31:00 +04:00
nightwing
b44bcb50ce reduce flickering of annotations while editing 2012-09-14 12:31:00 +04:00
nightwing
828e445a27 small cleanup 2012-09-14 12:30:59 +04:00
nightwing
a44236cfcc do not show gutter tooltip while selecting 2012-09-14 12:30:59 +04:00
nightwing
8edefd21a7 fix tests 2012-09-14 12:30:58 +04:00
nightwing
8c97bba86a add options for cssLint 2012-09-14 12:30:58 +04:00
nightwing
5016cc3305 use only jshint in javascript worker 2012-09-14 12:30:57 +04:00
nightwing
ec524419ce update worker dependencies 2012-09-14 12:30:56 +04:00
nightwing
5c0c33f470 Merge pull request #936 from Gozala/theme/ambience
Adding ambiance theme.
2012-09-14 09:19:00 +04:00
Garen Torikian
1aed6fc7ae Update Readme.md 2012-09-13 20:00:21 -07:00
Irakli Gozalishvili
df4816a769 Adding ambiance theme. 2012-09-13 15:20:39 -07:00
Harutyun Amirjanyan
2428ef293e update cla email address in readme 2012-09-14 00:01:50 +04:00
quexer
90e356be16 clean test log 2012-09-13 15:38:08 +08:00
quexer
7c9cfcaf60 fix bug for atx style header parsing. unittests added 2012-09-13 15:18:28 +08:00
Harutyun Amirjanyan
885da0e950 Merge pull request #933 from ajaxorg/update_dryice
Mionr updates to dryice
2012-09-12 22:39:23 -07:00
C9
28b5be76c5 Pupdate 2012-09-12 21:17:14 -04:00
Garen Torikian
a6fbdb10b8 Add \- 2012-09-12 15:48:16 -07:00
Garen Torikian
5b1c51f03e Add exception for workers 2012-09-12 15:47:01 -07:00
Garen Torikian
ff4e200dc9 Update help text 2012-09-12 12:27:11 -07:00
Garen Torikian
4f7c10c217 Mionr updates to dryice 2012-09-12 12:22:59 -07:00
C9
841a715deb Updates 2012-09-12 14:42:01 -04:00
C9
d1641bc639 Update 2012-09-11 20:54:54 -04:00
Garen Torikian
5dc5b1d169 Update Readme 2012-09-11 17:37:12 -07:00
C9
fccd44f1d6 Update 2012-09-11 20:09:55 -04:00
C9
4d32a07ad6 Update 2012-09-11 20:03:52 -04:00
C9
3aba91e17a New ACE site 2012-09-11 18:50:03 -04:00
Garen Torikian
70a8c0638f Move plist to tools folder package.json 2012-09-11 14:29:22 -07:00
Mostafa Eweda
7966efc0df Merge pull request #881 from ajaxorg/align_cursors
add command to align cursors
2012-09-11 12:40:48 -07:00
Mostafa Eweda
ec1eac929d Merge pull request #923 from ajaxorg/highlighting/js
better highlighting of js regexps
2012-09-11 12:01:50 -07:00
Mostafa Eweda
994a0b3cc3 Merge pull request #922 from ajaxorg/tmp
fix miscellaneous small bugs
2012-09-11 11:27:20 -07:00
nightwing
9df6bd5926 store tokens in a more readable format 2012-09-11 22:05:10 +04:00
nightwing
f44e4455db update tests 2012-09-11 21:46:28 +04:00
nightwing
2a5e44eba2 better highlighting of js regexps 2012-09-11 21:46:10 +04:00
Harutyun Amirjanyan
c44c0137d5 Merge pull request #928 from mvj3/master
Fix   Cannot read property 'env' of null
2012-09-11 00:16:39 -07:00
nightwing
a074f354ee splitIntoLines must split one lined selection 2012-09-11 10:50:41 +04:00
nightwing
4e12d1c9b9 add alignCursors command (ctrl+alt+a) 2012-09-11 10:50:41 +04:00
nightwing
b9c26bcd78 vim ctrl-[ should behave exactly as esc 2012-09-11 10:49:47 +04:00
nightwing
c1f194f8bd cleanup themes 2012-09-11 10:49:46 +04:00
nightwing
e3ead4f3b0 workaround for - key bug on firefox 2012-09-11 10:49:46 +04:00
nightwing
e0318e39c9 fix emacs cut command 2012-09-11 10:49:46 +04:00
nightwing
393e42b439 emacs recenter-top-bottom 2012-09-11 10:49:45 +04:00
nightwing
e00da55c92 vim {} motions 2012-09-11 10:49:45 +04:00
nightwing
1d04dcf5c9 small cleanup 2012-09-11 10:49:45 +04:00
nightwing
c54da935ab create dom elements only for visible cursors 2012-09-11 10:49:44 +04:00
nightwing
eab6061282 fix regression in drawing foldwidgets on wrapped lines 2012-09-11 10:49:44 +04:00
nightwing
7bbf2c825b Merge remote branch 'language_tool' into master 2012-09-11 10:44:55 +04:00
nightwing
ce4912366f convert regexps with x flag to js form 2012-09-11 10:39:32 +04:00
Garen Torikian
7a936294b3 Final minor updates :) 2012-09-11 10:20:24 +04:00
Garen Torikian
d5a3cda3a5 Restore perms of tmtheme 2012-09-11 10:20:23 +04:00
Garen Torikian
2c75f57964 Remove deleted files 2012-09-11 10:20:23 +04:00
Garen Torikian
5520f3511d More minor updates 2012-09-11 10:20:23 +04:00
Garen Torikian
7448552d48 Minor updates 2012-09-11 10:20:22 +04:00
Garen Torikian
520c0b8285 Restore themes 2012-09-11 10:20:22 +04:00
Garen Torikian
3bbfc457ae Minor updates 2012-09-11 10:20:22 +04:00
Garen Torikian
1868e7c247 Fix Textmate ignoring 2012-09-11 10:20:21 +04:00
Garen Torikian
54a8a126f8 Disentangle unfinished theme work 2012-09-11 10:20:21 +04:00
Garen Torikian
3a604c83b7 Move out objc highlighting attempts 2012-09-11 10:20:21 +04:00
Garen Torikian
f1e5e6fbff Add new GitHub/Chrome builds from tmtheme 2012-09-11 10:20:20 +04:00
Garen Torikian
ab8c3076c5 More c/obj-c updates 2012-09-11 10:20:20 +04:00
Garen Torikian
779c00eace Fix C highlighting, update ObjC, fix themes, add UUID 2012-09-11 10:20:20 +04:00
Garen Torikian
ff2ac65b2b Save everything in case computer melts 2012-09-11 10:20:19 +04:00
Garen Torikian
5a081f748e Stash 2012-09-11 10:20:19 +04:00
Garen Torikian
8e199d4b24 Add new language tool, generated jade/obj-c themes 2012-09-11 10:20:18 +04:00
Garen Torikian
83e0a6b80b Initial commit 2012-09-11 10:20:18 +04:00
David Chen
f9481eeb19 Fix Cannot read property env of null 2012-09-11 10:28:01 +08:00
Harutyun Amirjanyan
86750fbadb Merge pull request #918 from wcandillon/master
Update XQuery parser with the latest XQuery 3.0 syntax
2012-09-10 06:02:32 -07:00
Harutyun Amirjanyan
c71207616d Merge pull request #921 from pthulin/vim-improvements
Add H, M & L motions
2012-09-08 07:11:54 -07:00
Harutyun Amirjanyan
ab15067360 Merge pull request #920 from pthulin/build-fixes
Fix parse errors in new license block
2012-09-08 07:10:12 -07:00
Per Thulin
25f674139f Fix parse errors in new license block 2012-09-08 13:28:31 +02:00
Lennart Kats
931a5d21a4 Change license in index.html and package.json 2012-09-08 11:44:22 +02:00
Per Thulin
877bc9aeb9 Add H, M & L motions 2012-09-08 00:28:42 +02:00
Mostafa Eweda
16b2f1c9cf Merge pull request #917 from ajaxorg/lets-bsd-ace
Let's BSD Ace
2012-09-07 07:18:17 -07:00
Lennart Kats
8b971619b7 Add BSD license headers 2012-09-06 22:48:34 +02:00
Lennart Kats
c0b23a78b5 BSD markdown.md 2012-09-06 22:39:45 +02:00
Lennart Kats
ac43d97648 Change Readme.md to BSD 2012-09-06 22:39:26 +02:00
Lennart Kats
40aeec694a Change LICENSE to BSD 2012-09-06 22:39:19 +02:00
Garen Torikian
69b899c211 Merge pull request #915 from quexer/patch-3
Update lib/ace/mode/markdown.js
2012-09-06 11:19:03 -07:00
quexer
d90a96b0c4 Update lib/ace/mode/markdown.js
improve auto indent:

* support TAB character
* support order list
2012-09-06 18:15:17 +08:00
quexer
bbd705cd69 Update lib/ace/mode/markdown_highlight_rules.js
catch both text and "#" as token value for Atx style heading.
todo: handle Setext style heading as well.
2012-09-06 17:28:24 +08:00
Harutyun Amirjanyan
760f19dfc9 Merge pull request #896 from luenemam/master
SQL Highlighting works for multiple strings in one line.
2012-09-06 00:56:20 -07:00
Harutyun Amirjanyan
86f4e1f214 Merge pull request #912 from quexer/patch-1
Update lib/ace/mode/markdown_highlight_rules.js
2012-09-05 23:45:20 -07:00
quexer
83d016c8b1 Update lib/ace/mode/markdown_highlight_rules.js
fix typo of "h2" highlight rule
2012-09-06 11:17:40 +08:00
William Candillon
d8dc2fedf6 Update XQuery Parser with JSONiq syntax. 2012-09-05 11:07:04 +02:00
William Candillon
a37e834724 Add JSONiq keywords. 2012-09-05 11:06:17 +02:00
Lennart Kats
e4c8681bee Merge pull request #909 from ajaxorg/rowCache
fix rowcache not working for row 1
2012-09-05 01:37:47 -07:00
Harutyun Amirjanyan
cb244b730f Merge pull request #908 from rstudio/patch/blinking-cursor
add function to disable blinking cursor
2012-09-05 00:04:49 -07:00
nightwing
9ab80ddced fix rowcache not working for row 1 2012-09-05 10:55:08 +04:00
JJ Allaire
55c6ad4136 add function to disable blinking cursor 2012-09-04 16:08:00 -04:00
Mostafa Eweda
abfcd22253 Merge pull request #901 from ajaxorg/syntax
Syntax higlighters
2012-09-04 09:43:33 -07:00
Mostafa Eweda
b43af68f9f trivial priniting tweak 2012-09-04 18:42:01 +02:00
nightwing
25eeca0a75 fix running mode tests from different directory 2012-09-04 20:35:21 +04:00
Mostafa Eweda
441ca92f9a Fix multiple code style issues 2012-09-04 13:36:53 +02:00
Mostafa Eweda
4fc6114be9 Merge pull request #894 from ajaxorg/keys
better handling of keys without modifiers
2012-09-04 02:30:19 -07:00
nightwing
7bd83a46d9 Merge remote branch 'Spielmeister/master' into master 2012-09-01 16:17:15 +04:00
nightwing
6611b4ef64 better check for 'objectness' 2012-09-01 16:11:20 +04:00
Ioannis Kostomanolakis
a7be7bf147 Comment with @ throws exception in IE9/10 2012-09-01 16:05:57 +04:00
Ioannis Kostomanolakis
88cf393d8a fix for Safari bug in lib/event_emitter.js 2012-09-01 16:05:51 +04:00
Garen Torikian
d0eac39245 Add missing params 2012-08-31 16:56:28 -07:00
Garen Torikian
d576d21154 Tweak styles to match new Panino 2012-08-31 16:13:38 -07:00
Mostafa Eweda
e2b80ffb21 Revert "include ace/requirejs/text in build to not depend on require text plugin"
This reverts commit 42219c2379.

Conflicts:

	build_support/mini_require.js
2012-08-31 18:54:50 +02:00
nightwing
c4716740c2 add css and js highlighting to php mode 2012-08-31 19:27:52 +04:00
nightwing
43f966bd5f convert rest of the modes to new style 2012-08-31 19:21:47 +04:00
nightwing
8d054b9afe better way of handling keywords 2012-08-31 16:48:44 +04:00
nightwing
7f876fbdaa restore e92ed07a19 2012-08-31 00:09:16 +04:00
nightwing
6b96cd1229 add tests for all highlighters 2012-08-31 00:08:01 +04:00
Harutyun Amirjanyan
2cf6f5a5e2 Merge pull request #897 from ajaxorg/doc/fix_events
Update Events documentation
2012-08-30 23:09:48 +04:00
Garen Torikian
039e04c160 Update Events documentation 2012-08-30 11:30:59 -07:00
Matthias Lünemann
e6d040f772 Update lib/ace/mode/sql_highlight_rules.js
Use lazy match regex for string. Now works for multiple strings in one line.
2012-08-30 21:16:19 +03:00
Garen Torikian
0a14538bbe One more update for API docs to not render so much rubbish, plus fixes 2012-08-28 16:54:40 -07:00
Garen Torikian
65dccaca8d Merge branch 'master' of github.com:ajaxorg/ace 2012-08-28 16:08:39 -07:00
Garen Torikian
e4aa77dc3f Fix titles in API docs (via new Panino) 2012-08-28 16:08:28 -07:00
Lennart Kats
7c30de155e Merge pull request #893 from ajaxorg/hotfix/gutter
fix gutter width calculation
2012-08-28 07:46:58 -07:00
nightwing
3e0351ca98 fix gutter width calculation 2012-08-26 22:41:52 +04:00
Harutyun Amirjanyan
5a7bc87301 Merge pull request #891 from danyaPostfactum/stylefix
Correct fold-widget style
2012-08-26 01:41:35 -07:00
DanyaPostfactum
57a830e688 Correct fold-widget style 2012-08-26 17:22:32 +10:00
nightwing
96f46cf2f0 add folding fr yaml and tcl 2012-08-26 01:12:48 +04:00
nightwing
cc2c0900df allow binding keys without modifiers 2012-08-26 01:11:17 +04:00
Garen Torikian
7e01194a66 Merge pull request #888 from retif/patch-1
fixed small typo: nit => nil
2012-08-24 12:44:08 -07:00
Алекс
797214a977 fixed small typo: nit => nil 2012-08-24 22:18:18 +03:00
Garen Torikian
55d57fd30d Merge branch 'master' of github.com:ajaxorg/ace 2012-08-24 11:14:40 -07:00
Garen Torikian
1846f3c9ba Update to new panino, fix doc bugs 2012-08-24 11:14:23 -07:00
Mostafa Eweda
658c5a2bb3 Merge pull request #864 from ajaxorg/fix/performance
Improve performance
2012-08-24 07:57:03 -07:00
Mostafa Eweda
5e1c1457d6 Merge pull request #862 from ajaxorg/fix/requirejs_conflict
Fix/requirejs conflict
2012-08-24 07:29:52 -07:00
Mostafa Eweda
b6b20aa811 Merge pull request #879 from ajaxorg/dev
recognize more control characters
2012-08-24 03:43:51 -07:00
Mostafa Eweda
f9d580d106 Merge pull request #884 from ajaxorg/vim
Vim
2012-08-24 02:45:42 -07:00
Mostafa Eweda
b9319e38f5 Merge pull request #887 from ajaxorg/highlighting/js
Highlighting tweaks
2012-08-24 01:41:17 -07:00
nightwing
3945fe924a add highlight rules for glsl 2012-08-24 12:08:47 +04:00
nightwing
e92ed07a19 simpler regexp for js identifiers
non identifier chars in \u00a1-\uffff range are errors anyway
   so they can be highlighted either as operator or as identifier
   using this instead of detailed unicode regexps reduces parse time
   by ~3x, and gives the same result for any valid js
2012-08-24 12:08:46 +04:00
nightwing
0918c7f1c0 cleanup highlight_rules 2012-08-24 12:08:06 +04:00
Garen Torikian
92cd0d6132 Merge pull request #882 from ajaxorg/update_dark_themes
Update dark themes
2012-08-22 10:44:33 -07:00
nightwing
a2142c6d3a cleanup 2012-08-22 20:30:58 +04:00
nightwing
8e5ed709a5 end should toggle between trailing whitespace (like home) 2012-08-22 18:48:33 +04:00
nightwing
4946158dc7 better support for editor status 2012-08-22 18:46:31 +04:00
Lennart Kats
abd72172dc Merge pull request #880 from ajaxorg/code-snippets
fix typo in static_highlight
2012-08-21 09:45:42 -07:00
nightwing
86100b5ebe fix static_highlight 2012-08-21 20:20:02 +04:00
nightwing
7877e36dfb recognize more control characters fixes Issue #522 2012-08-20 13:01:26 +04:00
nightwing
e6655172ef workaround for ApplePressAndHoldEnabled interfering with vim mode 2012-08-19 19:21:10 +04:00
nightwing
50cddec4fd tweak index.html 2012-08-19 18:11:56 +04:00
nightwing
6996d538da tweak dark themes 2012-08-19 18:03:29 +04:00
Garen Torikian
ad9b656c14 Update className content 2012-08-17 13:49:14 -07:00
Garen Torikian
d28de1e57e Merge pull request #878 from ajaxorg/doc/api
update event names in api doc (fixes #868)
2012-08-17 13:47:53 -07:00
Garen Torikian
17fcc42923 Update API docs 2012-08-17 12:27:56 -07:00
Lennart Kats
87f0f88201 Merge pull request #863 from ajaxorg/refactor_debugger
Refactor debugger
2012-08-16 13:56:13 -07:00
nightwing
330ca76bfe remove doc comments describing events that ace doesn't emit 2012-08-17 00:04:47 +04:00
nightwing
89d1c65540 move panino dependency into doc module 2012-08-16 23:46:55 +04:00
Harutyun Amirjanyan
3b02b0d797 Merge pull request #873 from rstudio/patch/eclipse-selectedword
Add coloring for selected word in Eclipse
2012-08-14 23:32:24 -07:00
Joe Cheng
e3fc43556a Add coloring for selected word in Eclipse 2012-08-14 20:21:20 -07:00
Garen Torikian
fc01cc6242 Merge branch 'master' of github.com:ajaxorg/ace 2012-08-13 12:51:10 -07:00
Garen Torikian
3ce26b14bd Remove unneeded toc function for docs 2012-08-13 12:51:01 -07:00
Lennart Kats
718abf10a7 Merge pull request #865 from ajaxorg/worker
fix for loading of files generated by r.js from the worker
2012-08-13 04:10:27 -07:00
nightwing
05a31aa7e5 fix mini_require.js
do not patch global require namespace if is used
   do not patch require if it is already patched
2012-08-12 17:21:44 +04:00
nightwing
18b33c57bb Merge remote-tracking branch 'remotes/origin/master' into requirejs_conflict
Conflicts:
	Makefile.dryice.js
2012-08-12 17:14:06 +04:00
nightwing
f6daf02be1 do not overwrite readme of the build 2012-08-11 13:19:14 +04:00
nightwing
a69a9f12d4 do not create infinite loop if module has circular dependencies + cleanup 2012-08-11 12:12:38 +04:00
Lennart Kats
d21f41dfed Merge pull request #846 from ajaxorg/indent_guides
Indent guides
2012-08-10 00:52:20 -07:00
Lennart Kats
768bfbb1f2 Merge remote-tracking branch 'origin/master' into indent_guides
Conflicts:
	lib/ace/theme/textmate.css
2012-08-10 09:51:03 +02:00
nightwing
45ee0cd121 Defer gutter refresh until cursor is rendered
based on pull #866
2012-08-09 23:41:41 +04:00
nightwing
97e40eb580 do not break old breakpoint api 2012-08-08 19:54:18 +04:00
Harutyun Amirjanyan
5316f97ba2 Merge pull request #859 from corinnekrych/patch-1
fix issues in IE8 with onPropertyChange. IE8 was looping.
2012-08-07 08:19:58 -07:00
Harutyun Amirjanyan
4c3ab0e3df Merge pull request #845 from wcandillon/master
Disable buggy XQuery behavior (#844)
2012-08-07 08:18:25 -07:00
nightwing
94ea9a5845 fix for loading of files generated by r.js from the worker 2012-08-07 19:13:23 +04:00
nightwing
5fc87d9489 fix gutter not updating when out of screen changeLines is scheduled
because of this setAnnotations was not working
   when background tokenizer was active
2012-08-07 19:02:34 +04:00
nightwing
6e513610b3 do not force reflow while updating the gutter 2012-08-07 19:02:17 +04:00
nightwing
88ff6cf50b add page for keeping track of performance 2012-08-07 14:55:08 +04:00
nightwing
fb91ea9e42 add two more test/demos 2012-08-07 14:55:08 +04:00
nightwing
9c1101c814 show tooltips immediately 2012-08-06 22:15:49 +04:00
nightwing
542364bf32 add support for breakpoint types (condition/disabled etc.) 2012-08-05 16:50:25 +04:00
nightwing
599c540c20 move gutterDecorations to session 2012-08-05 16:50:10 +04:00
nightwing
42219c2379 include ace/requirejs/text in build to not depend on require text plugin
fixes issue #708
2012-08-05 15:00:20 +04:00
nightwing
2ebf57e3d1 add ability to run makefile.dryice.js from another directory 2012-08-05 12:06:14 +04:00
Mostafa Eweda
61aa47bc85 Merge pull request #861 from ajaxorg/integration
small bugfixes
2012-08-04 12:59:01 -07:00
nightwing
a9caa11447 fix pasting in readOnly mode 2012-08-03 21:23:40 +04:00
nightwing
abcf0d4771 fix #855 do not stop mousemove events on old browsers 2012-08-03 21:23:40 +04:00
nightwing
f976663150 remove redundant getRowHeight method 2012-08-03 18:46:58 +04:00
nightwing
2d0b6fc49f fix starting selection from inside selection 2012-08-03 18:46:58 +04:00
nightwing
0e5b77763f revert acc3faf42c since it was not working with folding enabled 2012-08-03 18:46:57 +04:00
nightwing
22ee0d0bc8 fix typos 2012-08-03 18:46:57 +04:00
nightwing
54c0a56308 cleanup search.js 2012-08-03 18:46:57 +04:00
nightwing
cd6ebd8467 improve performance of search result folding 2012-08-03 18:46:56 +04:00
nightwing
f29e12c78f fix highlighting of multiline clojure strings 2012-08-03 18:46:56 +04:00
nightwing
5e7434bdbb update tests 2012-08-02 15:30:36 +04:00
nightwing
f73e38625b indent guides 2012-08-02 15:30:35 +04:00
nightwing
4a8ead5c7b add indent guide images to themes 2012-08-02 15:28:44 +04:00
Lennart Kats
2956f1b61f Merge pull request #836 from ajaxorg/ie8
fixes for Ie8
2012-08-02 02:48:15 -07:00
Garen Torikian
1f2d1eecd6 Alphabetize list, don't make Garen's heart hurt 2012-08-01 14:44:42 -07:00
Lennart Kats
8bd54a4f9a Merge pull request #858 from pahen/master
Fixed error "Duplicate data property in object literal not allowed in strict mode" found when linting the code.
2012-07-31 10:46:03 -07:00
Lennart Kats
4e020ed6e4 Merge pull request #847 from ajaxorg/gh-pages
Miscellaneous small bugfixes
2012-07-30 01:27:39 -07:00
nightwing
78471317f6 do not use event.target for determining clicked gutter region
breakpoints/numbers/foldwidgets
2012-07-28 16:11:10 +04:00
nightwing
7b365db83f event target for ie8 2012-07-28 16:11:09 +04:00
nightwing
4319abf256 fix scriptloading on old ie 2012-07-28 16:11:09 +04:00
nightwing
e7b952a55e fix mouse handling for ie8 2012-07-28 16:11:08 +04:00
nightwing
61ae350324 do not use postmessage on oldIE since addListener is very slow there 2012-07-28 16:11:08 +04:00
nightwing
81b6e5916a fix text input for old ie 2012-07-28 16:11:08 +04:00
nightwing
f35418ab7d fix ie9 contextmenu 2012-07-28 16:11:07 +04:00
nightwing
538f54f47c new opera supports KeyboardEvents 2012-07-26 20:44:55 +04:00
nightwing
354e8b3eff do not overwrite type of event
this is needed for safari 6
2012-07-26 20:43:47 +04:00
nightwing
3d9d17e914 update readme 2012-07-26 20:42:42 +04:00
corinnekrych
e387c70f81 fix issues in IE8 with onPropertyChange. IE8 was looping. 2012-07-24 18:38:21 +03:00
Patrik Henningsson
f1e4cbb1a8 Fixed error "Duplicate data property in object literal not allowed in strict mode" found when linting the code. 2012-07-24 10:34:51 +02:00
nightwing
ba7142a3d4 add wrap behavior for [ 2012-07-20 23:40:21 +04:00
nightwing
16ca8e1b02 code style 2012-07-20 23:38:46 +04:00
nightwing
6917f7c672 tweak site 2012-07-20 23:30:15 +04:00
nightwing
79572f71fa update readme 2012-07-20 23:14:10 +04:00
Harutyun Amirjanyan
d78e65fc6f Merge pull request #854 from NV/autopair_brackets
Auto-pair square brackets in JavaScript, PHP, and JSON
2012-07-20 11:58:09 -07:00
Harutyun Amirjanyan
325e36c3b7 Merge pull request #850 from chhochreiner/master
Tcl Highlighting rules
2012-07-20 10:21:55 -07:00
Nikita Vasilyev
46ac1fe440 Auto-pair square brackets in JavaScript, PHP, and JSON
Closes #832
2012-07-20 17:19:18 +04:00
Garen Torikian
af741e3c8d Update list of sites 2012-07-16 17:31:18 -07:00
Christoph Hochreiner
c28abc8804 added doc 2012-07-16 23:55:51 +02:00
Christoph Hochreiner
af4b814adb added tcl mode 2012-07-16 23:45:54 +02:00
William Candillon
55266eeed3 Merge https://github.com/ajaxorg/ace 2012-07-14 09:49:26 +02:00
William Candillon
447ba1418c Disable buggy XQuery behavior. 2012-07-13 20:31:59 +02:00
Harutyun Amirjanyan
edf963e73f Merge pull request #834 from tstarling/master
Improved Lua indenting
2012-07-11 22:57:06 -07:00
nightwing
445767a598 do not assume module names have three parts 2012-07-11 16:50:07 +04:00
nightwing
4666af6288 fix text plugin 2012-07-11 16:44:00 +04:00
nightwing
56c77291f7 fix #822 using urlArgs in require breaks Ace's workers 2012-07-11 16:41:18 +04:00
Harutyun Amirjanyan
1af02ea4eb Merge pull request #842 from pahen/master
Fixed typo in text.js plugin that caused r.js to fail building
2012-07-11 05:34:54 -07:00
Patrik Henningsson
2edf76d06a Fixed typo in text.js plugin that caused r.js to fail building. 2012-07-10 11:37:22 +02:00
nightwing
0fc7303aa0 fix json worker 2012-07-10 10:18:25 +04:00
nightwing
5faed34836 add simple tool for generating mode tests 2012-07-10 10:08:26 +04:00
nightwing
bbe951c73d chnage static.js to run on node 0.8 as well 2012-07-10 10:06:56 +04:00
nightwing
fa4b5d5474 fix loading of unpackaged workers 2012-07-10 09:59:17 +04:00
nightwing
ccdb5c57c4 vim dd on last line 2012-07-10 09:32:52 +04:00
nightwing
98f3cf04df fix xml tokenizer tests 2012-07-07 15:14:02 +04:00
nightwing
1209377c8f fix tests broken during merge 2012-07-07 00:19:41 +04:00
Harutyun Amirjanyan
167d7f89fa Merge pull request #830 from josh/extract-packaged-module-loading
Extract packaged module loading
2012-07-06 12:57:15 -07:00
Tim Starling
737e7e86dd Improved Lua indenting
* Support single-line blocks: don't indent the following line.
* Indent the line following a line with unclosed parentheses, such as a
  function call where some parameters are specified on the same line as
  the name.
* Use a negative next-line indent to restore the correct indenting level
  after the end of a multi-line parenthesized block where the ending
  parenthesis occurs with other text on the same line as it.
* Implement outdenting. Outdenting is triggered after "enter" is pressed,
  similar to the Python mode. This avoids problems with incomplete token
  information, e.g. outdenting when the user is halfway through typing a
  quoted string "the end is nigh", where "end" is recognised as a
  keyword until the right quote is present.

Of course it is still flawed, anything less than a complete Lua parser will
be flawed, but I'm pretty confident that the code here is better than
what came before.
2012-07-05 15:41:55 +10:00
Joshua Peek
3bcfb70e40 Restore Emacs up key binding
Broken by 689bed38ff
2012-07-03 23:24:44 +04:00
Joshua Peek
d9eead8eca Remove packagedJs from worker constructor 2012-07-03 13:35:03 -05:00
Joshua Peek
86f5c8b961 Ignore ace namespacing for module urls 2012-07-03 13:27:43 -05:00
Joshua Peek
13b572927b Reduce moduleUrl conditional 2012-07-03 13:26:24 -05:00
Joshua Peek
f26100d013 Merge branch 'master' into extract-packaged-module-loading 2012-07-03 13:23:47 -05:00
Joshua Peek
fe6903595d Use triple equal 2012-07-03 08:51:13 -05:00
Harutyun Amirjanyan
816c26c31f Merge pull request #826 from jasonkarns/try_jasmine_project
Add TryJasmine as a project using Ace
2012-07-03 02:34:46 -07:00
Harutyun Amirjanyan
b6abd41a17 Merge pull request #831 from josh/strip_bom_from_luapage
Strip UTF8 BOM from Luapage mode
2012-07-03 02:32:38 -07:00
Joshua Peek
7d6d27d99e Strip UTF8 BOM from luapage 2012-07-02 14:45:18 -05:00
Joshua Peek
8aab586acf Strip UTF8 BOM from luapage highlight rules 2012-07-02 14:44:02 -05:00
Joshua Peek
e4a3e79535 Add worker suffix 2012-07-02 14:33:33 -05:00
Joshua Peek
b8a7b8ec90 Extract packaged module loading 2012-07-02 14:28:33 -05:00
Harutyun Amirjanyan
cc0508b922 Merge pull request #819 from ajaxorg/misc
foldmode improvements and autosizing markers
2012-07-02 11:42:47 -07:00
Harutyun Amirjanyan
3a19dc503b Merge pull request #827 from danyaPostfactum/test
Add xml/html tag autoclosing behavior
2012-07-02 11:40:45 -07:00
Daniil Kostion
0820419b28 rename variables 2012-07-03 01:35:17 +10:00
Daniil Kostion
1104789217 Add xml/html tag autoclosing behavior 2012-07-02 09:03:21 +10:00
Daniil Kostion
70cda1375b Move HTML tags out of xml_util 2012-07-02 05:40:13 +10:00
Jason Karns
d179f6d89d Add TryJasmine as a project using Ace 2012-06-30 11:56:29 -03:00
nightwing
8fbe921ad9 do not include trailing slash in scriptOptions.base 2012-06-30 13:25:40 +04:00
nightwing
3cc878f4c1 compatibility with dojo.require 2012-06-30 13:25:39 +04:00
nightwing
5eca7dd820 fix test 2012-06-30 13:25:39 +04:00
nightwing
71231db0af editor content shouldn't overlay scrollbar 2012-06-30 13:25:38 +04:00
nightwing
241776dd4c tweak selectByWords 2012-06-30 13:25:38 +04:00
nightwing
38eb07df67 better folding for coffeescript 2012-06-30 13:25:38 +04:00
nightwing
927cc4755b fix #809 coffeeScript operator highlighting 2012-06-30 13:25:37 +04:00
nightwing
3d93ad43c3 fix coffeescript folding for "[#{}" 2012-06-30 13:25:37 +04:00
nightwing
3e99b7f4fa fix folding for c9search (for lines matching /\w:$/) 2012-06-30 13:25:36 +04:00
nightwing
dbe4d0531e size multiline markers with "right" instead of "width" 2012-06-30 13:25:36 +04:00
nightwing
7f8892f9a5 folds with wrong range shouldn't break renderer 2012-06-30 13:25:36 +04:00
nightwing
d23ffd89e4 update themes 2012-06-30 13:20:48 +04:00
nightwing
fa79d72d7f keep bold keywords for static highlighter 2012-06-30 12:45:54 +04:00
nightwing
fed582bda6 remove undefined editor variable 2012-06-30 11:06:02 +04:00
nightwing
9e85280af5 fix gutterline color for dark themes 2012-06-30 11:06:02 +04:00
Harutyun Amirjanyan
e322a4ee3b Merge pull request #825 from josh/github-theme-tweaks
Tweak github theme
2012-06-30 00:05:08 -07:00
Harutyun Amirjanyan
c66d16c109 Merge pull request #824 from miketaylr/opera_keyboardevent
Add "KeyboardEvent" in window check for old Opera.
2012-06-30 00:03:15 -07:00
Harutyun Amirjanyan
5abdab210d Merge pull request #817 from pscheit/master
removed trailing comma in javascript mode
2012-06-30 00:01:05 -07:00
Harutyun Amirjanyan
40bf21b803 Merge pull request #816 from pscheit/patch-1
fix trailing "," in object literal
2012-06-30 00:00:49 -07:00
Joshua Peek
b1fca409a8 Tweak github theme
Adds grey gutter and yellow highlight
Removes bold keywords which cause cursor issues
2012-06-29 13:22:49 -05:00
Mike Taylor
d388fe9a85 Oops, forgot some grouping parens. 2012-06-28 14:57:06 -05:00
Mike Taylor
d7ad494a30 Add "KeyboardEvent" in window check for old Opera.
We've added support for DOM3 Keyboard Events (and cleaned up things)
generally--so this workaround won't be needed when those changes
land in a stable version of Opera. This change allows older versions
of Opera to continue working.
2012-06-27 13:00:16 -05:00
Giannis
78975a0fc2 * update gutter font color 2012-06-27 18:26:46 +03:00
Giannis
21d8ed2fd3 * update gutter color for themes 2012-06-26 19:51:05 +03:00
William Candillon
9c6da1d56c Merge https://github.com/ajaxorg/ace 2012-06-25 07:36:27 -07:00
Garen Torikian
6f51592c80 Merge pull request #818 from ajaxorg/dependencies-fix
moved `devDependencies` to `dependencies`
2012-06-19 14:21:49 -07:00
cadorn
281f582d40 moved devDependencies to dependencies 2012-06-19 10:37:52 -07:00
Philipp Scheit
0ae3b0922a remove traling comma in object literal 2012-06-19 17:31:22 +03:00
Philipp Scheit
de37fac680 fix trailing "," in object literal 2012-06-19 15:26:31 +03:00
nightwing
5c64646684 revert accidental changes to themes 2012-06-19 15:00:45 +04:00
Ruben Daniels
13d5d54faf Merge pull request #804 from ajaxorg/fix/search_ui
Updates to c9 highlighing for search results
2012-06-19 02:25:18 -07:00
Garen Torikian
c634e9c17b Merge pull request #814 from ajaxorg/ui/optimize-experimental
Ui/optimize experimental
2012-06-19 01:38:17 -07:00
Garen Torikian
7ab0e97bee Merge pull request #815 from danyaPostfactum/patch-6
Blue color of string for chrome theme
2012-06-19 01:35:00 -07:00
danyaPostfactum
4fe2c58753 Blue color of string for chrome theme 2012-06-19 18:31:29 +10:00
Ruben Daniels
72c733e829 * Fix for editor that can be null if no editor is loaded. 2012-06-18 21:52:55 -07:00
Ruben Daniels
67d75fc948 Merge branch 'master' of github.com:ajaxorg/ace into ui/optimize-experimental 2012-06-18 20:39:55 -07:00
Fabian Jakobs
c3d304d1cf Merge pull request #813 from ajaxorg/aceGutterIcons
Gutter icons update for dark themes
2012-06-18 10:34:40 -07:00
Vlad Zinculescu
acdff2a468 fold icons for dark themes. fixed fold icon position when active but not hovered 2012-06-18 16:59:10 +02:00
Vlad Zinculescu
1f51847635 added info icon for dark theme 2012-06-18 12:15:24 +02:00
Garen Torikian
92dd3c8547 Merge pull request #812 from bootstraponline/master
Add GitHub theme option to kitchen sink.
2012-06-17 20:19:56 -07:00
bootstraponline
434abc7645 Add GitHub theme option to kitchen sink. 2012-06-17 18:46:49 -06:00
nightwing
a091a627a0 small cleanup 2012-06-17 16:45:57 +04:00
Choonster
561a426516 Added LuaPage mode/highlighter to Ace.
Added LuaPage mode and example doc to kitchen sink demo.
2012-06-17 16:20:58 +04:00
Ruben Daniels
0fb3a72946 Merge branch 'master' of github.com:ajaxorg/ace into ui/optimize-experimental 2012-06-16 00:07:56 -07:00
Harutyun Amirjanyan
5f6cbc8bd7 Merge pull request #799 from bootstraponline/github_theme
Add github theme.
2012-06-14 12:02:14 -07:00
Ruben Daniels
5e6d40f462 * Fixed recursion issue 2012-06-13 23:29:19 -07:00
Ruben Daniels
575cec571e Merge branch 'master' of github.com:ajaxorg/ace into ui/optimize-experimental 2012-06-13 22:54:39 -07:00
Ruben Daniels
d9c0212fa1 * Added ability to force ace to resize
* Automatically size the width via css
2012-06-13 22:18:15 -07:00
Garen Torikian
2c4ddef29b Remove theme modification 2012-06-12 12:29:47 -07:00
Garen Torikian
b35f46937c Updates to c9 highlighing 2012-06-12 09:10:49 -07:00
Fabian Jakobs
df0550bf1d Merge pull request #802 from ajaxorg/misc
Misc
2012-06-11 10:28:07 -07:00
nightwing
0af6526769 do not start drag on ctrl+click 2012-06-11 09:14:16 +04:00
nightwing
39859015a7 accept js in markdown highlighter 2012-06-11 09:14:16 +04:00
nightwing
689bed38ff improve jumptomatching 2012-06-11 09:14:16 +04:00
nightwing
ef489ae8e3 select block in braces by double clicking on the brace 2012-06-11 09:14:16 +04:00
nightwing
28e1e159f6 do not call host.onFocus before textarea is actually focused 2012-06-11 09:14:16 +04:00
nightwing
c5d66e1f5f code style 2012-06-11 09:14:15 +04:00
nightwing
67b1c62c03 fix centerSelection for wrapped documents 2012-06-11 09:14:15 +04:00
nightwing
a82c1c52d8 add duplicateSelection command 2012-06-11 09:14:15 +04:00
nightwing
b56f41e9a4 fix contextmenu on mac and linux 2012-06-11 09:14:15 +04:00
nightwing
11eba737d1 old versions of firefox throw if negative indexes for children is used 2012-06-11 09:14:15 +04:00
nightwing
a230c15950 nameToUrl is renamed to toUrl in requirejs 2 2012-06-11 09:14:14 +04:00
nightwing
01c4cb8ea8 update demo to requirejs 2 2012-06-11 09:14:14 +04:00
Fabian Jakobs
f1639ca1d2 add codecademy 2012-06-09 15:07:53 -07:00
bootstraponline
426de684c4 Add github theme.
Add cursor and selection styles from textmate.css.
2012-06-09 10:23:40 -06:00
nightwing
b14749f9d1 fix Makefile.dryice options 2012-06-09 11:28:54 +04:00
nightwing
f1f0d74989 use public path for ace-builds submodule 2012-06-09 11:28:27 +04:00
Garen Torikian
5007e02502 Fix js highlighting rules 2012-06-09 11:24:57 +04:00
Harutyun Amirjanyan
eac7f7c81a Merge pull request #798 from bootstraponline/master
static_highlight should enable control over gutter rendering
2012-06-09 00:13:27 -07:00
Harutyun Amirjanyan
c8a46bcfd6 Merge pull request #794 from ukyo/master
Added JSX edit mode
2012-06-09 00:10:20 -07:00
Ruben Daniels
62c0e594f4 Merge pull request #788 from nightwing/keybindings
improve default keybindings
2012-06-08 14:07:40 -07:00
ukyo
91df64cbda fix regex 2012-06-09 00:07:06 +09:00
Fabian Jakobs
e0610a5885 package 2012-06-07 09:15:42 -07:00
Fabian Jakobs
cd24d928b0 add ace-builds submodule. This way I can still publish to gh-pages 2012-06-07 08:45:08 -07:00
bootstraponline
f4aa4c384d Allow disabling gutter. 2012-06-06 20:12:39 -06:00
ukyo
5c7fb274d7 fix missing keywords 2012-06-04 17:46:11 +09:00
William Candillon
6c7465892b Update textmate theme. 2012-06-04 09:53:35 +02:00
William Candillon
cc8dd79c3f Merge https://github.com/ajaxorg/ace 2012-06-04 09:50:22 +02:00
William Candillon
619fd9bd93 Update textmate theme for meta tag. 2012-06-04 09:49:24 +02:00
ukyo
de70cfd060 add jsx mode 2012-06-04 15:51:22 +09:00
ukyo
c43965fdb5 add jsx mode 2012-06-04 15:49:50 +09:00
Fabian Jakobs
dbab677c41 Merge pull request #790 from ajaxorg/ui/refactor
small bugfixes
2012-06-02 11:07:55 -07:00
Garen Torikian
7d89ecf82f Update Makefile 2012-06-01 14:57:27 -07:00
nightwing
865e02bd60 tripple quoted strings for groovy 2012-06-02 01:09:48 +04:00
nightwing
85ae1cd761 improve default keybindings 2012-06-01 18:50:54 +04:00
nightwing
dd84a7d650 fix background_tokenizer_test 2012-06-01 18:25:58 +04:00
nightwing
2ffe3726ce doubleclick on whitespace must select only whitespace 2012-06-01 18:24:57 +04:00
nightwing
93804d063e double quoted strings in scala can't span multiple lines 2012-06-01 18:08:15 +04:00
nightwing
1b981f1793 selectWordRight at the end of line should select whitespace on next line 2012-06-01 18:05:47 +04:00
nightwing
231e5a7cb7 allow focusing click to start selection if user really wants to 2012-06-01 15:02:12 +04:00
nightwing
3c75fe1fbd Accept dropped text 2012-06-01 14:57:51 +04:00
nightwing
51b15d3588 do not emit focus event if editor is already focused 2012-06-01 14:54:32 +04:00
nightwing
e38875cdfc fix highlighting of scala strings 2012-06-01 14:52:51 +04:00
nightwing
316023834e do not change background repeat of active gutter line 2012-06-01 12:10:39 +04:00
nightwing
a1f79bb2e2 update readme and demo 2012-05-31 23:40:11 +04:00
nightwing
28d4807d09 update makefile 2012-05-31 23:10:54 +04:00
Garen Torikian
da94ecdb42 Fix building of themes 2012-05-30 14:34:32 -07:00
nightwing
5f203ae4f5 add back forgotten file 2012-05-30 23:30:21 +04:00
Fabian Jakobs
e50461b7fa Merge pull request #782 from ajaxorg/selection_highlight
lazy highlighter for selected word
2012-05-30 12:21:35 -07:00
nightwing
9d0f2e41e8 lazy highlighter for selected word 2012-05-30 22:45:12 +04:00
Fabian Jakobs
b1bb0b9ccc Merge pull request #781 from ajaxorg/misc
Miscellaneous small bugfixes
2012-05-30 11:31:16 -07:00
Fabian Jakobs
6d003c953a Merge pull request #778 from ajaxorg/mouse
fix multiple clicks and reduce double click timeout
2012-05-30 11:27:12 -07:00
Fabian Jakobs
2a8eed9e98 Merge pull request #779 from ajaxorg/search
search rewrite
2012-05-30 11:26:11 -07:00
Fabian Jakobs
0bc0e7a33b Merge pull request #783 from ajaxorg/highlighting/php
Highlighting
2012-05-30 11:23:55 -07:00
Fabian Jakobs
f89417e03c Merge pull request #774 from ajaxorg/ui/search2
ability to insert more than 100000 lines
2012-05-30 08:44:12 -07:00
Harutyun Amirjanyan
e496e734b2 Merge pull request #776 from wcandillon/master
Update to the new background tokenizer API
2012-05-27 10:10:24 -07:00
nightwing
6ccfb6e439 tweak diff mode 2012-05-27 14:50:30 +04:00
nightwing
3f3769c80d add diff mode 2012-05-26 23:59:16 +04:00
nightwing
c870641506 improve json syntax highlighting 2012-05-26 22:22:40 +04:00
nightwing
d2dfec41ee fix highlighting of multiline php strings 2012-05-26 22:03:41 +04:00
nightwing
e501394c95 fix #780 and add tests for background_tokenizer 2012-05-26 00:51:57 +04:00
nightwing
fead610584 fix multiple clicks and reduce double click timeout 2012-05-25 21:34:36 +04:00
nightwing
3d774aa2b6 search rewrite 2012-05-25 21:15:38 +04:00
nightwing
31729a963a do not store copy of breakpoints array in gutter 2012-05-25 21:07:18 +04:00
nightwing
b3ffdeda6e fix c# and go highlight rules 2012-05-25 11:29:24 +04:00
nightwing
6e1215a45e small cleanups 2012-05-25 11:28:20 +04:00
nightwing
806114aa2e tweak fadeFoldWidgets animation 2012-05-25 11:12:44 +04:00
nightwing
acc3faf42c highlight full gutter line for wrapped lines too 2012-05-25 10:54:04 +04:00
nightwing
2502f319f4 unclutter gutter and fix sizing 2012-05-25 10:50:48 +04:00
nightwing
1def900834 animated scrolling could leave cursor off screen 2012-05-25 10:50:37 +04:00
nightwing
156d7c5c8f multiline clojure strings (fix #641) 2012-05-25 10:49:53 +04:00
nightwing
0ca8f694c6 remove redundant full redraw
this was needed when lines had width in style attribute
2012-05-25 10:49:37 +04:00
nightwing
ac5e033149 add comment 2012-05-25 10:33:02 +04:00
William Candillon
2a183e9f9d Add instruction on how to generate the XQuery parser. 2012-05-25 04:25:56 +02:00
William Candillon
d6ebfae8b8 Update XQuery Semantic highlighter to work with the new background highlighter API. 2012-05-25 02:39:36 +02:00
Fabian Jakobs
675386fc4c Merge pull request #775 from ajaxorg/textinput
fix textinput and contextmenu
2012-05-24 15:57:19 -07:00
nightwing
1de8c413c6 fix textinput and contextmenu 2012-05-25 00:02:26 +04:00
nightwing
505b1fc3c6 fix foldwidgets getting out of sync with document 2012-05-24 23:39:29 +04:00
Garen Torikian
d2163a7016 Update highlighter 2012-05-24 23:39:02 +04:00
Garen Torikian
84e3687e01 Generalize for document 2012-05-24 23:39:01 +04:00
Garen Torikian
93a560885b Generalize chunking 2012-05-24 23:39:01 +04:00
Garen Torikian
69c8f6615d Updates for ace performance related to new searchinfiles work 2012-05-24 23:39:00 +04:00
nightwing
c4cb541414 fix doc/wiki 2012-05-24 23:35:51 +04:00
Fabian Jakobs
972a33a518 Merge pull request #770 from ajaxorg/build_cleanup
Build cleanup
2012-05-24 12:30:36 -07:00
nightwing
adbed85f97 update require.js in demo 2012-05-24 23:10:55 +04:00
nightwing
cf23198610 fix textarea build
Conflicts:

	Makefile.dryice.js
2012-05-24 23:10:55 +04:00
nightwing
34f3cac4a8 reorganize build and demo
Conflicts:

	Makefile.dryice.js
2012-05-24 23:10:50 +04:00
nightwing
0f0d12a709 remove remnants of pilot 2012-05-24 23:09:46 +04:00
nightwing
6350546232 move build to ace-builds repository 2012-05-24 23:09:32 +04:00
Fabian Jakobs
8641da75fb Merge pull request #769 from ajaxorg/reorganize_themes
Reorganize themes
2012-05-24 12:04:15 -07:00
nightwing
8a3e7b0f00 split themes into css and js files 2012-05-24 23:02:17 +04:00
Fabian Jakobs
31cfc0a921 Merge pull request #771 from ajaxorg/screen2doc
performance improvements for large documents
2012-05-24 12:00:54 -07:00
Vlad Zinculescu
0e6bf2bd82 Update the debug marker in all themes 2012-05-24 23:00:09 +04:00
Fabian Jakobs
c13046578a Merge pull request #773 from ajaxorg/bgTokenizer
improve bgTokenizer
2012-05-24 11:27:37 -07:00
Fabian Jakobs
0e22fc4f54 Merge pull request #772 from wcandillon/master
Add XQuery worker and XQuery semantic highlighting
2012-05-24 11:10:48 -07:00
nightwing
3adcd1e5f8 improve bgTokenizer 2012-05-24 22:07:59 +04:00
William Candillon
f718f2c4b8 Merge https://github.com/ajaxorg/ace 2012-05-24 17:35:11 +02:00
William Candillon
43380a9045 Improve XQuery highlighting 2012-05-24 17:13:36 +02:00
nightwing
7a51b207a5 better caching for screen to doc transforms 2012-05-24 12:23:49 +04:00
nightwing
b0224484ae allow passing line array to edit session 2012-05-24 12:12:19 +04:00
nightwing
766af2388e fix virtual renderer test 2012-05-24 12:11:11 +04:00
Harutyun Amirjanyan
5c60ebb753 Merge pull request #768 from danyaPostfactum/patch-4
Gutter active line in IE, fix js-error in IE
2012-05-24 00:23:42 -07:00
danyaPostfactum
217ed2457b Allow gutterLineHighlight in IE 2012-05-24 16:56:03 +12:00
danyaPostfactum
ca5023fb86 Fix "self" reference (for IE) 2012-05-24 16:54:08 +12:00
danyaPostfactum
871b32d098 Set width: auto for .ace_gutter .ace_layer (for IE) 2012-05-24 16:50:05 +12:00
nightwing
052679ea00 add demo for scad 2012-05-23 22:30:44 +04:00
Harutyun Amirjanyan
9c4db8756c Merge pull request #763 from danyaPostfactum/patch-3
Fix gutter width and IE bug
2012-05-23 11:25:41 -07:00
nightwing
715a2f8635 fix merge conflicts 2012-05-23 22:22:03 +04:00
nightwing
d50f526495 Merge remote-tracking branch 'remotes/megshark/master'
Conflicts:
	Makefile.dryice.js
	demo/kitchen-sink/demo.js
2012-05-23 22:08:18 +04:00
Garen Torikian
e97ccd5ab6 Merge pull request #767 from ajaxorg/doc_fix
Update GA file
2012-05-22 12:37:45 -07:00
Garen Torikian
5efb3cc729 Update GA file 2012-05-22 12:35:33 -07:00
William Candillon
ee0fdbb74f Fix bug on the semantic highlighter. 2012-05-22 16:44:32 +02:00
William Candillon
ff7a5ab3c1 Fix bug in semantic highlighter. 2012-05-22 14:12:44 +02:00
William Candillon
6cef31c030 Fix bug with XQuery semantic highlighter. 2012-05-22 14:01:47 +02:00
William Candillon
4dfc56f4ab Improve XQuery semantic highlighter. 2012-05-22 13:27:43 +02:00
danyaPostfactum
dc710d63cb Fix IE bug (remove width: 100%) 2012-05-22 21:35:48 +12:00
danyaPostfactum
e140a4185c Delete unnecessary css-rule 2012-05-22 21:30:58 +12:00
William Candillon
11e9267046 Fix bug in semantic highlighting. 2012-05-22 10:41:26 +02:00
William Candillon
3031492e9c Update tag colors to differenciate with keywors. 2012-05-22 10:39:43 +02:00
William Candillon
c3e9bff83a Merge https://github.com/ajaxorg/ace 2012-05-21 20:38:27 +02:00
danyaPostfactum
94d62a20f9 Update lib/ace/theme/crimson_editor.js 2012-05-22 04:33:50 +12:00
mikedeboer
2f006d2a5a DO NOT BREAK CONCORDE 2012-05-19 17:25:17 +02:00
Zef Hemel
f4b5a13855 Merge pull request #751 from ajaxorg/ui/refactor
Ui/refactor
2012-05-09 00:39:06 -07:00
Garen Torikian
3e404b953e Merge branch 'ui/refactor' of github.com:ajaxorg/ace into ui/refactor 2012-05-08 23:34:45 -07:00
Garen Torikian
2fdb6378a3 merge c9mode changes 2012-05-08 23:34:09 -07:00
Ruben Daniels
b06fca04e5 Merge branch 'ui/refactor' of github.com:ajaxorg/ace into ui/refactor 2012-05-08 21:09:16 -07:00
Ruben Daniels
2d2c326805 * Fixed multiline replace 2012-05-08 21:08:59 -07:00
nightwing
d1c125fb56 fix ie9 gutter bug #739 2012-05-08 23:01:43 +04:00
nightwing
330ed1ee2e fix multiselect paste 2012-05-08 17:03:55 +04:00
nightwing
c142244d90 fix gutter z-index 2012-05-08 14:31:28 +04:00
nightwing
707adc2ff5 add multiline string support to editor find
(works for plain text searches not regexps)
2012-05-08 14:11:00 +04:00
nightwing
a6e2d756ee do not select line if gutter click is on breakpoint margin 2012-05-08 11:24:23 +04:00
Ruben Daniels
bce8bb378a * Added try/catch around regexp compilation 2012-05-07 17:45:48 -07:00
Garen Torikian
c1a301a55b Minor API doc UI updates 2012-05-07 10:55:55 -07:00
William Candillon
a05a451fa5 Merge https://github.com/ajaxorg/ace
Conflicts:
	build/kitchen-sink.html
	build/src/ace-noconflict.js
	build/src/ace.js
2012-05-07 12:51:23 +02:00
Ruben Daniels
e2d5b1d01b * Fixed backwards searching 2012-05-06 20:55:38 -07:00
nightwing
217271b867 fix scrollbar after scroll animation 2012-05-06 21:17:12 +04:00
nightwing
9c0305f8ed change build script to postinstall 2012-05-06 11:37:41 +04:00
Vlad Zinculescu
59ef99cf0b updated warning and error gutter icons 2012-05-05 20:58:09 +02:00
nightwing
22d4427320 fix cut/copy on opera 2012-05-05 15:37:45 +04:00
nightwing
03af6b599a detect more invisible characters 2012-05-05 14:51:03 +04:00
nightwing
13ca06d82b fix for node test runner 2012-05-05 14:50:06 +04:00
nightwing
dd88481a03 override regexp.exec only for old browsers,
ace doesn't need named capture
2012-05-05 13:05:40 +04:00
nightwing
f0accfee83 fix gutter rendering when scrolling 2012-05-05 13:05:33 +04:00
nightwing
b73c259b01 do not change scroller classname before rendering 2012-05-05 13:05:23 +04:00
Ruben Daniels
580c290971 * Fix for gutter line highlighting setting 2012-05-04 22:47:01 -07:00
nightwing
3e6d6563f1 update tests for word highlighting happening on timeout 2012-05-04 19:44:44 +04:00
nightwing
6946024526 emit event when changing mode 2012-05-04 19:16:56 +04:00
nightwing
83ff661f4d use plist instead of libxml 2012-05-04 19:16:56 +04:00
nightwing
3ce8d4a8a9 add npm install script 2012-05-04 19:16:47 +04:00
nightwing
6bb805b40f simplify config 2012-05-04 19:11:19 +04:00
nightwing
4abb08fa92 fix setPlaceholderMode 2012-05-04 19:11:19 +04:00
nightwing
25c9c553c6 fix vim mode +cleanup 2012-05-04 19:11:18 +04:00
nightwing
2a347a35c9 tabs to spaces 2012-05-04 19:11:18 +04:00
nightwing
b1c5129e5a emacs mode 2012-05-04 19:11:18 +04:00
nightwing
48450d1ab9 vim ctrl-w in insert mode 2012-05-04 19:11:17 +04:00
nightwing
5a9e6d4cb9 ctrl-f: pagedown ctrl-b: pageup 2012-05-04 19:11:17 +04:00
nightwing
59358495f5 simplify vim keyboard handler 2012-05-04 19:11:17 +04:00
nightwing
100d078ba3 add license comments 2012-05-04 19:11:16 +04:00
nightwing
674cc0d3fa properly remove old keybindings when adding new one 2012-05-04 19:11:16 +04:00
nightwing
4923280c89 consistently use "paren.lparen" for all modes 2012-05-04 19:11:16 +04:00
nightwing
ab50850be6 add stupid semicolons; 2012-05-04 19:11:15 +04:00
nightwing
a2a3043907 manual merge of ace++ branch 2012-05-04 19:11:15 +04:00
nightwing
0c7b310ecc add alignCursor to virtual_renderer 2012-05-04 19:08:44 +04:00
nightwing
f9c8f7c11b allow passing regexp as a needle for search 2012-05-04 19:08:44 +04:00
nightwing
a80828bab5 better handling of token types in bracket_match.js 2012-05-04 19:08:43 +04:00
nightwing
7edd5724ef update to latest vim mode from cloud9 2012-05-04 19:08:43 +04:00
nightwing
76cbc3f543 add support for keyboardHandler.attach/detach 2012-05-04 19:08:43 +04:00
nightwing
1a5ce52188 adapt vim mode to work with ace 2012-05-04 19:08:42 +04:00
nightwing
adf7420b85 import vim keybinding from cloud9 2012-05-04 19:08:42 +04:00
nightwing
f67fc8c9eb change directory structure of keybindings 2012-05-04 19:08:42 +04:00
nightwing
81b87d5c60 add timeout to highlight word 2012-05-04 19:08:41 +04:00
nightwing
e664a3b738 do not allow time window with no mode set on session while loading mode 2012-05-04 19:08:41 +04:00
nightwing
9f57a4f99d tweak mousehandler 2012-05-04 19:08:41 +04:00
nightwing
a831eef3e8 Merge remote-tracking branch 'upstream/sourcemint' into 00
Conflicts:
	package.json
2012-05-04 18:23:41 +04:00
Zef Hemel
43e543f7e4 package 2012-05-04 10:05:02 +02:00
Zef Hemel
461baf4e58 Merge pull request #748 from ajaxorg/hotfix/selection
revert setSelectionRange to accept any object with start and end
2012-05-04 01:02:21 -07:00
nightwing
007f216b80 revert setSelectionRange to accept any object with start and end 2012-05-02 11:39:02 +04:00
Fabian Jakobs
c9c811794f package 2012-05-01 22:14:23 +02:00
Fabian Jakobs
4c87594521 Merge pull request #744 from ajaxorg/mouse-refactor
Mouse refactor
2012-05-01 13:06:44 -07:00
Fabian Jakobs
3413b7df89 package 2012-05-01 17:15:23 +02:00
Fabian Jakobs
b5898374b2 bring back animated scroll property 2012-05-01 17:15:17 +02:00
Fabian Jakobs
6caba032dd Revert "don't use animated scrolling setting"
This reverts commit 7225a32736.
2012-05-01 17:13:51 +02:00
nightwing
0217dd2940 Highlight Gutter Line without redrawing whole gutter 2012-05-01 19:12:57 +04:00
nightwing
5527015a9a fix & breaking old gecko 2012-05-01 17:55:22 +04:00
nightwing
16fb6c90cc paste the linux way :)copy seems to be impossible:( 2012-05-01 17:53:28 +04:00
nightwing
b5b5e1e97f do not move textarea during mouse selection 2012-05-01 17:44:47 +04:00
nightwing
2f6a6ce7e0 move text area to cursor only when cursor is moved 2012-05-01 17:32:07 +04:00
nightwing
7a50a070e9 cleanup mouse handling 2012-05-01 14:44:22 +04:00
nightwing
6411152d00 do not compute pageX only to convert it back to clientX 2012-05-01 14:44:09 +04:00
nightwing
c5bc3d96e0 rename selection.selectionLead to selection.lead 2012-05-01 14:43:58 +04:00
Fabian Jakobs
ad05b3a6c2 package 2012-05-01 12:08:20 +02:00
Fabian Jakobs
7225a32736 don't use animated scrolling setting 2012-05-01 12:08:05 +02:00
Fabian Jakobs
ac364fe0c5 tabs to spaces 2012-05-01 12:07:44 +02:00
Fabian Jakobs
43c4a8fc35 Merge branch 'ui/navbar'
Conflicts:
	build/demo/kitchen-sink/kitchen-sink-uncompressed.js
	build/src/ace-uncompressed-noconflict.js
	build/src/ace-uncompressed.js
	build/textarea/src/ace-bookmarklet.js
	lib/ace/edit_session.js
	lib/ace/editor.js
	lib/ace/multi_select.js
	lib/ace/selection.js
	lib/ace/virtual_renderer.js
2012-05-01 11:30:17 +02:00
Garen Torikian
d283f0eefb Fix ga path 2012-04-30 16:48:05 -07:00
Garen Torikian
5ca56ee387 Add favicon, remove fluidity 2012-04-30 15:34:37 -07:00
Garen Torikian
5eda560459 Revert index to old style 2012-04-30 11:51:55 -07:00
Ruben Daniels
0c6b19a5f3 Merge branch 'ui/navbar' of github.com:ajaxorg/ace into ui/navbar 2012-04-30 11:45:48 -07:00
Ruben Daniels
0b1213b1bb * Added better colors to themes 2012-04-30 00:35:12 -07:00
Garen Torikian
d32dfd3194 Force higher (fixed) Panino; remove needless package.json 2012-04-29 18:22:02 -07:00
Garen Torikian
8298881fc0 Fix API search, links, sidebar style; update panino req version for funcdocs fix 2012-04-29 15:25:35 -07:00
nightwing
51f8f87a98 setting mode to same string shouldn't reset it 2012-04-29 23:33:37 +04:00
nightwing
9ae7bc0c04 addEventListener was breaking old browsers 2012-04-29 14:29:33 +04:00
nightwing
cc0919414f moveByShortWords should stop at punctuation groups 2012-04-29 12:49:14 +04:00
nightwing
341f52b809 do not use solid background for invalid to not cover selection 2012-04-29 00:49:10 +04:00
nightwing
98e26ed5ea make invalid invisibles (\u0000-\u0019) always visible and optimize regexp 2012-04-29 00:48:39 +04:00
Fabian Jakobs
d394552587 package 2012-04-28 16:28:07 +02:00
Fabian Jakobs
48cd061c6e add compiled docs 2012-04-28 16:25:33 +02:00
Fabian Jakobs
cd9da075b1 Merge branch 'doc/api'
Conflicts:
	lib/ace/editor.js
2012-04-28 15:52:53 +02:00
Fabian Jakobs
bd89c466ec some cleanups 2012-04-28 15:46:34 +02:00
Fabian Jakobs
e50c738d3e Merge pull request #741 from ajaxorg/hotfix/prevent_unwanted_scrollintoview
a document change now doesn't scroll the cursor into view
2012-04-28 06:33:24 -07:00
Ruben Daniels
d772f77740 merged with master 2012-04-26 23:52:12 -07:00
Ruben Daniels
10eb938895 Revert "* Build ACE"
This reverts commit fe33a6e598.
2012-04-26 23:44:27 -07:00
Ruben Daniels
fe33a6e598 * Build ACE 2012-04-26 23:39:33 -07:00
Garen Torikian
7c86367f28 Update ace.ajaxorg site 2012-04-26 23:11:50 -07:00
nightwing
e34fb3668a splitSelectionIntolines was toggling block selection instead 2012-04-26 23:49:32 +04:00
nightwing
907b46aed1 document.getTextRange shouldn't throw if range is bigger than document 2012-04-26 23:17:18 +04:00
nightwing
8391b59feb fix right click selection bug 2012-04-26 19:50:19 +04:00
nightwing
b51d0e763c fix typo 2012-04-26 19:47:38 +04:00
nightwing
fcb172f665 do not store clipboard state in textinput 2012-04-26 19:45:18 +04:00
nightwing
d4daa0f9d9 use cached textmode 2012-04-26 18:10:31 +04:00
nightwing
62569d617d fix tests 2012-04-26 12:26:01 +04:00
nightwing
fb2be29d5e simplify animateScroll a little 2012-04-26 10:27:02 +04:00
nightwing
621c7c3dc8 find and undo must center selection into view 2012-04-26 10:12:19 +04:00
William Candillon
d70ea63962 Add XQuery keywords. 2012-04-26 04:17:27 +02:00
Garen Torikian
0bdae58920 Update Makefile 2012-04-25 18:23:50 -07:00
Garen Torikian
5841165597 Final changes 2012-04-25 15:47:32 -07:00
Garen Torikian
782da7637b Continue finalizing ace api doc 2012-04-25 15:30:18 -07:00
Garen Torikian
c31834c678 More updates 2012-04-25 13:02:43 -07:00
William Candillon
0e34414f07 Update XQuery worker message flow. 2012-04-25 21:11:27 +02:00
nightwing
6799599306 make hash_handler parseKeys accessible from outside 2012-04-25 21:19:11 +04:00
Garen Torikian
a0ed6dcbab More styles 2012-04-25 02:31:46 -07:00
nightwing
fae7a215e7 scroll cursor into view on pageup/down 2012-04-25 11:34:18 +04:00
nightwing
7bff33c986 fix scrolling animation 2012-04-25 11:26:15 +04:00
Garen Torikian
db264306c9 Get copy paste back 2012-04-24 23:16:59 -07:00
Garen Torikian
56ae5d9ff9 Layout updates 2012-04-24 22:55:54 -07:00
Ruben Daniels
2e4d326b3f Merge branch 'add/copypaste' of github.com:ajaxorg/ace into ui/navbar 2012-04-24 22:31:58 -07:00
Garen Torikian
2f36c2ee35 Continue layout work 2012-04-24 17:29:26 -07:00
nightwing
8666652769 remove destructive throw 2012-04-25 00:44:31 +04:00
nightwing
c427956d0e use try catch to guard against errors in commands 2012-04-25 00:33:41 +04:00
nightwing
43327bbbe4 fix tests 2012-04-24 22:30:12 +04:00
nightwing
a97d104e25 better defaults in demo 2012-04-24 22:18:06 +04:00
nightwing
c72357c201 simplify scroll animations 2012-04-24 22:10:50 +04:00
mikedeboer
616bf24a31 a document change now doesn't scroll the cursor into view 2012-04-24 16:46:52 +02:00
nightwing
256b88fcd0 fix findPrevious/findNext 2012-04-24 15:05:08 +04:00
Garen Torikian
775af73f64 More design progress 2012-04-24 01:45:41 -07:00
nightwing
acdb23c828 fix page up/down 2012-04-24 12:44:38 +04:00
nightwing
2538e85780 live preview of themes in demo 2012-04-24 12:42:06 +04:00
William Candillon
994e8fd4e9 Fix semantic highlighting bug. 2012-04-23 19:04:21 +02:00
Ruben Daniels
9245e4bd1b * Tweak to anims 2012-04-23 09:34:31 -07:00
William Candillon
031e72c3e3 Merge https://github.com/ajaxorg/ace
Conflicts:
	build/kitchen-sink.html
	build/src/ace-noconflict.js
	build/src/ace.js
2012-04-23 12:42:15 +02:00
William Candillon
248fb57cda Update XQuery semantic highlighter. 2012-04-23 12:37:35 +02:00
Ruben Daniels
ba4f7e3765 * added highlightgutterline setting 2012-04-22 17:00:25 -07:00
Ruben Daniels
b448a1ca9c * Reset horscroll class when new session loads 2012-04-22 16:16:16 -07:00
Ruben Daniels
02e86c5b5f * Moved horscroll class to scroller 2012-04-22 16:06:06 -07:00
Ruben Daniels
769b964bd7 * Small bug fix 2012-04-22 15:19:27 -07:00
Ruben Daniels
ac70ecc005 * Tweaked scroll animations
* Added animations to pgup/pgdn goto start/end of document
2012-04-22 15:16:52 -07:00
Garen Torikian
928b762f96 Merge master 2012-04-21 18:01:12 -07:00
Garen Torikian
512bde6fd8 We're getting there 2012-04-21 17:54:46 -07:00
nightwing
54b1f3f9ac update command manager for cloud9 2012-04-21 21:40:38 +04:00
nightwing
93967294cf add transition delay for fold widgets 2012-04-21 21:23:48 +04:00
Fabian Jakobs
3645c88c63 package 2012-04-21 11:01:19 +02:00
Fabian Jakobs
8584581a32 Merge pull request #728 from sub/golang_mode
Go mode
2012-04-21 01:45:52 -07:00
nightwing
6398fcf539 move google font import out of core styles 2012-04-21 12:30:31 +04:00
nightwing
df4ef6667d add 0.05s animation for showing fold arrows 2012-04-21 12:27:49 +04:00
nightwing
a3053c8353 do not add \x00 characters to document 2012-04-21 12:25:41 +04:00
William Candillon
e807106c8f Improve XQuery semantic highlighting. 2012-04-21 10:01:30 +02:00
Ruben Daniels
4fe9cd5d95 * Added cancelable commands 2012-04-20 16:02:05 +02:00
nightwing
9ca9b010ba fix error in text size calculation 2012-04-20 16:59:40 +04:00
nightwing
5422ecb793 fix selection tests 2012-04-20 13:34:37 +04:00
nightwing
3b827c11ae make setFadeFoldWidgets on by default 2012-04-20 12:20:34 +04:00
William Candillon
ee7ce9f6a1 Update XQuery semantic highlighting. 2012-04-20 08:32:50 +02:00
nightwing
09de46063d ctrl-left/right must stop at both word start and end 2012-04-19 19:34:25 +04:00
nightwing
9ca7609d00 add FadeFoldWidgets setting 2012-04-19 19:34:24 +04:00
nightwing
defae049f4 multiselect paste 2012-04-19 19:34:23 +04:00
Ruben Daniels
1a0cabba1e Merge branch 'master' of github.com:ajaxorg/ace into ui/navbar 2012-04-19 16:17:20 +02:00
William Candillon
a951e93778 Merge https://github.com/ajaxorg/ace 2012-04-19 12:28:36 +02:00
Fabian Jakobs
4905bd45c4 Merge pull request #734 from richoH/features/sh/1
Update builtin definitions
2012-04-19 01:25:21 -07:00
William Candillon
b37daf7262 Update semantic highlighting. 2012-04-19 10:02:56 +02:00
Garen Torikian
03816b05c7 Modify where keyboard cut/copy can come from 2012-04-18 19:18:50 -07:00
richo
f7f157773b Update builtin definitions
Add @jpgriffo and  @jamestyj as contributors (definitions came from his bash mode)
2012-04-19 09:53:40 +10:00
William Candillon
b744549a7d Update Semantic highlighter. 2012-04-18 22:50:21 +02:00
Ruben Daniels
a003315328 * build ace 2012-04-18 14:59:13 +02:00
Ruben Daniels
865ed44f03 * Hacked ace key handler element support 2012-04-18 14:59:06 +02:00
Ruben Daniels
2a30f0f50f * build ace 2012-04-18 12:43:03 +02:00
Ruben Daniels
18956d8ee7 * small command changes 2012-04-18 12:42:37 +02:00
Garen Torikian
23f74a3be3 Doc API updates...almost ready 2012-04-17 11:02:08 -07:00
Garen Torikian
c2caee8024 Merge master, update content 2012-04-16 21:14:50 -07:00
Davide Saurino
e00b6e656e Go example added to kitchen sink demo 2012-04-16 16:45:57 +02:00
Davide Saurino
7df563169a Go mode added 2012-04-16 16:19:17 +02:00
Fabian Jakobs
08b934ec60 Merge pull request #725 from ajaxorg/highlighting/js
fix js_highlight_rules
2012-04-16 02:07:17 -07:00
Fabian Jakobs
2c1f7951c2 Merge pull request #727 from nightwing/multiCursor
add editor.findAll
2012-04-16 02:02:19 -07:00
nightwing
0e21a9354e fix Block-comments after function(){ 2012-04-15 19:03:08 +04:00
nightwing
68d0799554 make getStartRule getEndRule static 2012-04-15 19:02:18 +04:00
nightwing
119d733fb5 replaceAll shouldn't change scroll position 2012-04-15 18:34:45 +04:00
nightwing
01d053c46b add editor.findAll 2012-04-15 18:34:45 +04:00
Fabian Jakobs
e80a862f3e Merge pull request #724 from nightwing/multiCursor
Multi cursor polish
2012-04-15 05:49:30 -07:00
nightwing
e8a5c0dc2f fix js_highlight_rules 2012-04-15 14:59:10 +04:00
nightwing
31a6da4b5f fix Multiple selections only show 1 selection 2012-04-15 14:45:08 +04:00
nightwing
04e83afee1 do not redraw whole editor when only one cursor is visible 2012-04-15 13:58:08 +04:00
nightwing
b77c3b348e fix bug with ghost selections 2012-04-14 18:42:14 +04:00
nightwing
d91c9f7074 use 1px cursor only in multiselect mode 2012-04-14 15:54:23 +04:00
William Candillon
b63d2c178b Merge https://github.com/ajaxorg/ace
Conflicts:
	build/demo/kitchen-sink/mode-coldfusion-uncompressed.js
	build/demo/kitchen-sink/mode-css-uncompressed.js
	build/demo/kitchen-sink/mode-groovy-uncompressed.js
	build/demo/kitchen-sink/mode-html-uncompressed.js
	build/demo/kitchen-sink/mode-java-uncompressed.js
	build/demo/kitchen-sink/mode-javascript-uncompressed.js
	build/demo/kitchen-sink/mode-markdown-uncompressed.js
	build/demo/kitchen-sink/mode-php-uncompressed.js
	build/demo/kitchen-sink/mode-scala-uncompressed.js
	build/demo/kitchen-sink/mode-svg-uncompressed.js
	build/demo/kitchen-sink/mode-xquery-uncompressed.js
	build/demo/kitchen-sink/theme-cobalt-uncompressed.js
	build/demo/kitchen-sink/theme-dawn-uncompressed.js
	build/demo/kitchen-sink/theme-idle_fingers-uncompressed.js
	build/demo/kitchen-sink/theme-kr_theme-uncompressed.js
	build/demo/kitchen-sink/theme-merbivore-uncompressed.js
	build/demo/kitchen-sink/theme-merbivore_soft-uncompressed.js
	build/demo/kitchen-sink/theme-mono_industrial-uncompressed.js
	build/demo/kitchen-sink/theme-pastel_on_dark-uncompressed.js
	build/demo/kitchen-sink/theme-twilight-uncompressed.js
	build/demo/kitchen-sink/theme-vibrant_ink-uncompressed.js
	build/kitchen-sink.html
	build/src/mode-coldfusion-noconflict.js
	build/src/mode-coldfusion-uncompressed-noconflict.js
	build/src/mode-coldfusion-uncompressed.js
	build/src/mode-coldfusion.js
	build/src/mode-css-noconflict.js
	build/src/mode-css-uncompressed-noconflict.js
	build/src/mode-css-uncompressed.js
	build/src/mode-css.js
	build/src/mode-groovy-noconflict.js
	build/src/mode-groovy-uncompressed-noconflict.js
	build/src/mode-groovy-uncompressed.js
	build/src/mode-groovy.js
	build/src/mode-html-noconflict.js
	build/src/mode-html-uncompressed-noconflict.js
	build/src/mode-html-uncompressed.js
	build/src/mode-html.js
	build/src/mode-java-noconflict.js
	build/src/mode-java-uncompressed-noconflict.js
	build/src/mode-java-uncompressed.js
	build/src/mode-java.js
	build/src/mode-javascript-noconflict.js
	build/src/mode-javascript-uncompressed-noconflict.js
	build/src/mode-javascript-uncompressed.js
	build/src/mode-javascript.js
	build/src/mode-markdown-noconflict.js
	build/src/mode-markdown-uncompressed-noconflict.js
	build/src/mode-markdown-uncompressed.js
	build/src/mode-markdown.js
	build/src/mode-php-noconflict.js
	build/src/mode-php-uncompressed-noconflict.js
	build/src/mode-php-uncompressed.js
	build/src/mode-php.js
	build/src/mode-scala-noconflict.js
	build/src/mode-scala-uncompressed-noconflict.js
	build/src/mode-scala-uncompressed.js
	build/src/mode-scala.js
	build/src/mode-svg-noconflict.js
	build/src/mode-svg-uncompressed-noconflict.js
	build/src/mode-svg-uncompressed.js
	build/src/mode-svg.js
	build/src/mode-xquery-noconflict.js
	build/src/mode-xquery.js
	build/src/theme-clouds-noconflict.js
	build/src/theme-clouds.js
	build/src/theme-clouds_midnight-noconflict.js
	build/src/theme-clouds_midnight.js
	build/src/theme-cobalt-noconflict.js
	build/src/theme-cobalt-uncompressed-noconflict.js
	build/src/theme-cobalt-uncompressed.js
	build/src/theme-cobalt.js
	build/src/theme-dawn-noconflict.js
	build/src/theme-dawn-uncompressed-noconflict.js
	build/src/theme-dawn-uncompressed.js
	build/src/theme-dawn.js
	build/src/theme-idle_fingers-noconflict.js
	build/src/theme-idle_fingers-uncompressed-noconflict.js
	build/src/theme-idle_fingers-uncompressed.js
	build/src/theme-idle_fingers.js
	build/src/theme-kr_theme-noconflict.js
	build/src/theme-kr_theme-uncompressed-noconflict.js
	build/src/theme-kr_theme-uncompressed.js
	build/src/theme-kr_theme.js
	build/src/theme-merbivore-noconflict.js
	build/src/theme-merbivore-uncompressed-noconflict.js
	build/src/theme-merbivore-uncompressed.js
	build/src/theme-merbivore.js
	build/src/theme-merbivore_soft-noconflict.js
	build/src/theme-merbivore_soft-uncompressed-noconflict.js
	build/src/theme-merbivore_soft-uncompressed.js
	build/src/theme-merbivore_soft.js
	build/src/theme-mono_industrial-noconflict.js
	build/src/theme-mono_industrial-uncompressed-noconflict.js
	build/src/theme-mono_industrial-uncompressed.js
	build/src/theme-mono_industrial.js
	build/src/theme-monokai-noconflict.js
	build/src/theme-monokai.js
	build/src/theme-pastel_on_dark-noconflict.js
	build/src/theme-pastel_on_dark-uncompressed-noconflict.js
	build/src/theme-pastel_on_dark-uncompressed.js
	build/src/theme-pastel_on_dark.js
	build/src/theme-solarized_dark-noconflict.js
	build/src/theme-solarized_dark.js
	build/src/theme-solarized_light-noconflict.js
	build/src/theme-solarized_light.js
	build/src/theme-tomorrow-noconflict.js
	build/src/theme-tomorrow.js
	build/src/theme-tomorrow_night-noconflict.js
	build/src/theme-tomorrow_night.js
	build/src/theme-tomorrow_night_blue-noconflict.js
	build/src/theme-tomorrow_night_blue.js
	build/src/theme-tomorrow_night_bright-noconflict.js
	build/src/theme-tomorrow_night_bright.js
	build/src/theme-tomorrow_night_eighties-noconflict.js
	build/src/theme-tomorrow_night_eighties.js
	build/src/theme-twilight-noconflict.js
	build/src/theme-twilight-uncompressed-noconflict.js
	build/src/theme-twilight-uncompressed.js
	build/src/theme-twilight.js
	build/src/theme-vibrant_ink-noconflict.js
	build/src/theme-vibrant_ink-uncompressed-noconflict.js
	build/src/theme-vibrant_ink-uncompressed.js
	build/src/theme-vibrant_ink.js
2012-04-14 11:54:32 +02:00
nightwing
6a781ad9d3 show crosshair cursor when alt is pressed 2012-04-13 22:14:45 +04:00
nightwing
544cb09499 fix typo in split.js 2012-04-13 21:06:18 +04:00
William Candillon
a8bd5fb56b Minor refactoring in the XQuery worker client. 2012-04-13 16:20:41 +02:00
William Candillon
4d0f3dd059 Update build files. 2012-04-13 16:10:22 +02:00
William Candillon
d069b8508c Update header file. 2012-04-13 16:03:05 +02:00
William Candillon
d5156baa32 Remove logging. 2012-04-13 16:00:44 +02:00
William Candillon
0991f44263 Add proof of concept for semantic highlighting. 2012-04-13 15:55:49 +02:00
Fabian Jakobs
ce891c2c2e package 2012-04-13 13:51:44 +02:00
Fabian Jakobs
9fc464e781 allow module 2012-04-13 12:12:29 +02:00
Fabian Jakobs
4382268234 package 2012-04-13 12:08:06 +02:00
Fabian Jakobs
aa5cac8fb3 enable multi cursor by default 2012-04-13 12:07:36 +02:00
Fabian Jakobs
caf151e232 Merge pull request #718 from nightwing/multiCursor
Multi cursor cleanup and docs
2012-04-13 02:00:19 -07:00
Fabian Jakobs
05e3b77991 Merge pull request #719 from ajaxorg/highlighting/css
Add CSS3 rules
2012-04-13 01:58:58 -07:00
Garen Torikian
9826360ea5 Add CSS3 rules 2012-04-12 16:52:54 -07:00
Garen Torikian
e3479a9a2c Package 2012-04-12 14:18:45 -07:00
nightwing
2b3a950613 make cut a command, and add documentation 2012-04-12 22:42:57 +04:00
nightwing
387790d94c cleanup 2012-04-12 22:42:56 +04:00
Fabian Jakobs
d578c63beb small js mode fix 2012-04-12 18:04:22 +02:00
Fabian Jakobs
498cc1a89d caret is only 1px width 2012-04-12 16:48:55 +02:00
Fabian Jakobs
11eedc31f9 package 2012-04-12 16:43:11 +02:00
Fabian Jakobs
24eccde63e more scrolling fixes 2012-04-12 16:40:58 +02:00
Fabian Jakobs
aed7ca654c Merge branch 'multiCursor'
Conflicts:
	demo/kitchen-sink/demo.js
	lib/ace/test/all_browser.js
2012-04-12 16:03:24 +02:00
Fabian Jakobs
b34d25f82d small cleanups 2012-04-12 15:59:45 +02:00
Fabian Jakobs
8c7b030128 cleanups 2012-04-12 15:33:04 +02:00
Fabian Jakobs
d9456740c6 Merge remote-tracking branch 'nightwing/multiCursor' into multiCursor
Conflicts:
	lib/ace/multi_select.js
2012-04-12 15:32:33 +02:00
Fabian Jakobs
cc1389a020 package 2012-04-12 14:21:59 +02:00
Fabian Jakobs
4230052da9 add less mode to the build script 2012-04-12 14:21:30 +02:00
Fabian Jakobs
d020cf0e66 Merge pull request #707 from justjohn/master
LESS syntax highlighting support
2012-04-12 05:11:22 -07:00
Fabian Jakobs
f78d711099 package 2012-04-12 13:00:29 +02:00
Fabian Jakobs
9deb81fcaf - add animated scrolling to the demo
- fix infinite loop
- fix some typos
2012-04-12 13:00:20 +02:00
Fabian Jakobs
bdb05e8c07 package 2012-04-12 10:19:09 +02:00
Fabian Jakobs
101644923e package 2012-04-12 10:09:52 +02:00
nightwing
b44d19ed63 scroll selection into view only after find/replace
Conflicts:

	lib/ace/editor.js
2012-04-12 10:09:52 +02:00
Fabian Jakobs
99dedd25b5 package 2012-04-12 10:08:34 +02:00
Fabian Jakobs
c40ffa7323 remove corner element 2012-04-12 10:08:34 +02:00
Ruben Daniels
7b00aa8081 * Fixed merge oops 2012-04-11 21:23:54 +02:00
Fabian Jakobs
72ca7d98d5 Merge pull request #712 from nightwing/subpixel
Subpixel positioning
2012-04-11 10:04:51 -07:00
nightwing
378f161143 fix failing test 2012-04-11 21:00:15 +04:00
Fabian Jakobs
32c88cfb77 Merge pull request #591 from okonomiyaki3000/master
Numer of items replaced
2012-04-11 09:13:11 -07:00
nightwing
c0550e0891 use position="fixed" to not cause problems on rtl sites 2012-04-11 20:08:50 +04:00
nightwing
9a45c466ae use getBoundingClientRect for measuring text size
needed because on chrome 17+ line heights can be fractional
2012-04-11 20:08:50 +04:00
nightwing
ca35f324c8 small cleanup 2012-04-11 19:31:43 +04:00
Fabian Jakobs
59ddc64d3d fix unit test 2012-04-11 17:28:06 +02:00
Ruben Daniels
d6c3e006b6 * Added active line highlighting for the gutter 2012-04-11 17:26:32 +02:00
Fabian Jakobs
770ab82cbf Merge branch 'feature/shadowgutter'
Conflicts:
	build/kitchen-sink.html
	build/src/ace-noconflict.js
	build/src/ace.js
	lib/ace/virtual_renderer.js
2012-04-11 17:23:45 +02:00
Fabian Jakobs
2208ccdd48 coding styles 2012-04-11 17:19:56 +02:00
Fabian Jakobs
94eddc1362 some cleanups. Tabs to spaces, etc 2012-04-11 16:55:27 +02:00
Fabian Jakobs
d3f147cc72 update themes 2012-04-11 16:06:49 +02:00
Fabian Jakobs
a675d6a0f7 Merge pull request #699 from danyaPostfactum/master
xml entity support, doctype declaration is marked as "xml_re", not "meta.tag"
2012-04-11 06:59:20 -07:00
Garen Torikian
f1c609db1e Merge pull request #693 from ajaxorg/feature/animscroll
* Added animation for scrolling for find and gotoline
2012-04-10 10:41:00 -07:00
Garen Torikian
fc4625e1b6 Merge master 2012-04-10 10:39:55 -07:00
Garen Torikian
27629c05ff Remove unneeded todo 2012-04-10 10:37:27 -07:00
Garen Torikian
1c5320f84e Merge master 2012-04-09 21:33:39 -07:00
John Roepke
811abefc45 Merge git://github.com/ajaxorg/ace 2012-04-09 21:22:42 +00:00
danyaPostfactum
a4826b938a Change entity.reference to constant.character.entity 2012-04-10 04:52:13 +10:00
danyaPostfactum
a7025742a4 Change entity.reference to constant.character.entity 2012-04-10 04:50:33 +10:00
William Candillon
afa970767a Fix bugs in the XQuery parser and lexer. 2012-04-09 19:17:22 +02:00
Fabian Jakobs
b76d40305f Merge pull request #700 from ajaxorg/highlighting/js
Fix highlighting rules for JS
2012-04-09 07:10:56 -07:00
nightwing
2021536794 emit event before executing a command 2012-04-08 17:19:29 +04:00
Ruben Daniels
fddab9eef0 * Merged with master
* Built ace

Merge branch 'master' of github.com:ajaxorg/ace into feature/animscroll

Conflicts:
	build/kitchen-sink.html
	build/src/ace-noconflict.js
	build/src/ace.js
	build/src/mode-c_cpp-noconflict.js
	build/src/mode-c_cpp.js
	build/src/mode-clojure-noconflict.js
	build/src/mode-clojure.js
	build/src/mode-coldfusion-noconflict.js
	build/src/mode-coldfusion.js
	build/src/mode-csharp-noconflict.js
	build/src/mode-csharp.js
	build/src/mode-css-noconflict.js
	build/src/mode-css.js
	build/src/mode-groovy-noconflict.js
	build/src/mode-groovy.js
	build/src/mode-haxe-noconflict.js
	build/src/mode-haxe.js
	build/src/mode-html-noconflict.js
	build/src/mode-html.js
	build/src/mode-java-noconflict.js
	build/src/mode-java.js
	build/src/mode-javascript-noconflict.js
	build/src/mode-javascript.js
	build/src/mode-json-noconflict.js
	build/src/mode-json.js
	build/src/mode-markdown-noconflict.js
	build/src/mode-markdown.js
	build/src/mode-php-noconflict.js
	build/src/mode-php.js
	build/src/mode-powershell-noconflict.js
	build/src/mode-powershell.js
	build/src/mode-scad-noconflict.js
	build/src/mode-scad.js
	build/src/mode-scala-noconflict.js
	build/src/mode-scala.js
	build/src/mode-svg-noconflict.js
	build/src/mode-svg.js
	build/src/mode-xml-noconflict.js
	build/src/mode-xml.js
2012-04-08 13:22:50 +02:00
Ruben Daniels
ec061ff303 Merged from master 2012-04-08 11:56:01 +02:00
Ruben Daniels
030a1d079a * Build ace 2012-04-08 11:50:00 +02:00
Ruben Daniels
f7be320575 * added gutter shadow as horizontal scrolling indicator 2012-04-08 11:49:45 +02:00
Ruben Daniels
d6a1779f4b * Build ace 2012-04-07 23:29:08 +02:00
Ruben Daniels
7e70887b09 * Optimized Virtual Rendered animated scrolling 2012-04-07 23:28:59 +02:00
Ruben Daniels
491250b68a * Build new version of ace 2012-04-07 09:11:59 +02:00
Garen Torikian
cbc3858ff2 Fix highlighting rules 2012-04-06 20:52:53 -07:00
nightwing
1254357d92 Merge remote-tracking branch 'remotes/upstream/master'
Conflicts:
	lib/ace/commands/command_manager.js
	lib/ace/test/mockrenderer.js
	lib/ace/test/all_browser.js
2012-04-07 01:00:49 +04:00
danyaPostfactum
401e6bdba8 remove ! from meta.tag regex 2012-04-07 05:26:26 +10:00
danyaPostfactum
a71ebcb29a entity support, doctype is not a tag 2012-04-07 05:13:01 +10:00
danyaPostfactum
26582ef386 Update lib/ace/mode/xml_highlight_rules.js 2012-04-07 05:08:51 +10:00
danyaPostfactum
a642fffac7 Entity support, doctype is not a tag 2012-04-07 05:05:36 +10:00
Fabian Jakobs
d809d26fab dry ice 0.4.4 does not work 2012-04-06 18:02:54 +02:00
Fabian Jakobs
d386d4c6a1 package 2012-04-06 18:02:30 +02:00
Fabian Jakobs
cbd29bc541 cleanup unit tests 2012-04-06 17:55:23 +02:00
Fabian Jakobs
8c1508ab9b build 2012-04-06 15:33:27 +02:00
Fabian Jakobs
8679b818a4 wiki 2012-04-06 15:33:27 +02:00
Fabian Jakobs
4084931f19 fix: find doesn't change horizontal scroll
fixes #638
2012-04-06 15:33:27 +02:00
Fabian Jakobs
88363fe911 allow real regular expressions in highlighters 2012-04-06 15:33:27 +02:00
Fabian Jakobs
ad0e1ef67c wiki 2012-04-06 15:33:26 +02:00
Fabian Jakobs
5f9af07e9b some mode fixes 2012-04-06 15:33:26 +02:00
Fabian Jakobs
819bfe47ce Command+Backspace should remove until begin of line, Option+Backspace should remove token
fix #661
2012-04-06 15:33:26 +02:00
Fabian Jakobs
d09c0bcdbf Single quotes are not auto-paired like double quotes
fixed #663
2012-04-06 15:33:26 +02:00
Fabian Jakobs
6462d39c4a package 2012-04-06 15:33:26 +02:00
Fabian Jakobs
91f4d87cf2 some tokenizer fixes 2012-04-06 15:33:25 +02:00
Fabian Jakobs
07672b4987 use consistent naming for unit test 2012-04-06 15:33:25 +02:00
Fabian Jakobs
b096c279b3 load modes in the demo on demand 2012-04-06 15:33:25 +02:00
Ruben Daniels
7f5db3f6b4 * Added Setting 2012-04-06 12:35:08 +02:00
Fabian Jakobs
1733804971 Merge pull request #698 from danyaPostfactum/patch-2
remove trailing commas
2012-04-05 23:24:58 -07:00
danyaPostfactum
81d4d642c6 remove trailing commas 2012-04-06 16:04:34 +10:00
John Roepke
74daa182e9 Add LESS syntax highlighting. 2012-04-05 21:18:09 +00:00
Fabian Jakobs
83d81635f8 remove event delegation 2012-04-05 21:50:25 +02:00
Fabian Jakobs
679ecc3611 fix narcissus issue 2012-04-05 21:50:25 +02:00
Fabian Jakobs
6a38ad951a update narcissus 2012-04-05 21:50:24 +02:00
Fabian Jakobs
3ccb90ea54 emit an event after a mode is loaded 2012-04-05 21:50:24 +02:00
Fabian Jakobs
a6112a9128 Merge pull request #697 from wildfireapp/master
The following adds a simple liquid parser we've been using internally
2012-04-05 12:49:25 -07:00
Bernie Telles
0a9ff4f55d Add sample docs for liquid. 2012-04-05 09:29:45 -07:00
Fabian Jakobs
dc63ca891f Merge pull request #684 from danyaPostfactum/patch-1
Two little fixes of gutter style in "chrome" theme
2012-04-05 05:32:28 -07:00
William Candillon
b7ab8aa2f6 Merge /Users/wcandillon/Dropbox/ace 2012-04-05 12:55:05 +02:00
William Candillon
2a129757b3 Add missing XMLLexer file. 2012-04-05 12:53:35 +02:00
William Candillon
206e842dcd Update build files. 2012-04-05 12:44:16 +02:00
William Candillon
834e8733db Merge /Users/wcandillon/Dropbox/ace 2012-04-05 12:42:23 +02:00
William Candillon
b4ce34eb9b Improve XQuery parser and lexer support. 2012-04-05 12:41:39 +02:00
Bernie Telles
5e87f9b60a Add liquid parser. 2012-04-04 16:50:08 -07:00
Fabian Jakobs
ca1645e06b package 2012-04-04 20:35:29 +02:00
Fabian Jakobs
ac797eefe7 check was wrong 2012-04-04 20:34:06 +02:00
Fabian Jakobs
155012a5ff package 2012-04-04 15:40:23 +02:00
William Candillon
dc5aca2741 Merge https://github.com/ajaxorg/ace 2012-04-04 13:43:05 +02:00
William Candillon
dce9577ca4 Merge /Users/wcandillon/Dropbox/ace
Conflicts:
	build/demo/kitchen-sink/mode-xquery-uncompressed.js
2012-04-04 13:40:08 +02:00
William Candillon
12a2308a45 Add missing build file. 2012-04-04 13:39:35 +02:00
William Candillon
667fb57f7a Major improvements in the XQuery syntax checking infrastructure. 2012-04-04 13:38:19 +02:00
Fabian Jakobs
478e4775ae Merge pull request #645 from wcandillon/master
Add support for XQuery
2012-04-04 04:09:09 -07:00
nightwing
587e391bb5 fix failing test 2012-04-04 13:06:42 +04:00
nightwing
6cde5f3b4f cleanup 2012-04-04 13:06:17 +04:00
Fabian Jakobs
45b8b9e83f Merge pull request #679 from richoH/features/sh/1
Features/sh/1
2012-04-04 00:29:13 -07:00
Zef Hemel
daee6d1c3f Merge pull request #695 from ajaxorg/highlighting/php
Improve multiline string rules
2012-04-03 23:32:50 -07:00
Garen Torikian
57d1e72751 Improve multiline string rules 2012-04-03 22:45:56 -07:00
Ruben Daniels
b37304c63b * Tweaked performance 2012-04-03 19:09:17 -07:00
Garen Torikian
c73171b3b2 Merge pull request #688 from ajaxorg/theme/update_monokai
Truly improve syntax highlighting for JS, CSS, XML/HTML files
2012-04-03 17:12:02 -07:00
Garen Torikian
70cfb27e61 Update build files 2012-04-03 16:02:14 -07:00
Ruben Daniels
b47b0e9225 * Tweaked animation 2012-04-03 15:48:16 -07:00
nightwing
346ae096b3 overuse of events is bad:( 2012-04-03 22:47:57 +04:00
nightwing
299cdc1b19 fix typo 2012-04-03 22:46:48 +04:00
Ruben Daniels
c93c8d5d7f * Bugfix 2012-04-02 19:14:53 -07:00
Ruben Daniels
e216c44f01 * Performance tweak 2012-04-02 19:11:21 -07:00
Garen Torikian
fbff742540 Update build files 2012-04-02 19:02:39 -07:00
Garen Torikian
5ebed0aadb Merge branch 'feature/animscroll' of github.com:ajaxorg/ace into feature/animscroll 2012-04-02 18:53:55 -07:00
Garen Torikian
60d456e727 Add build files 2012-04-02 18:53:22 -07:00
Ruben Daniels
dbbacf7fc3 * Removed comment 2012-04-02 18:35:37 -07:00
Ruben Daniels
8ed101a062 * Added animation for scrolling for find and gotoline 2012-04-02 18:26:15 -07:00
William Candillon
ae085ef410 Add missing build files. 2012-04-02 10:44:38 +02:00
William Candillon
e794f71178 Merge branch 'master' of /Users/wcandillon/28msec/ace
Conflicts:
	build/kitchen-sink.html
2012-04-02 10:03:23 +02:00
William Candillon
08a604aad1 Add live XQuery syntax checking. 2012-04-02 10:01:52 +02:00
Garen Torikian
332d3d8857 Fix comments 2012-04-01 01:42:38 -07:00
Garen Torikian
d624c11acd Fix broken test 2012-04-01 01:36:05 -07:00
Garen Torikian
175f3ea06c Truly improve syntax highlighting for JS, CSS, XML/HTML 2012-03-31 23:56:47 -07:00
nightwing
a3f61f711a add some tests 2012-03-31 22:08:08 +04:00
nightwing
b546875c1d Merge remote-tracking branch 'remotes/upstream/master'
Conflicts:
	demo/kitchen-sink/demo.js
2012-03-31 20:39:26 +04:00
William Candillon
539b5fe556 Rebuild the kitchen sink. 2012-03-31 12:18:32 +02:00
William Candillon
bdb21ff646 Merge https://github.com/ajaxorg/ace
Conflicts:
	Makefile.dryice.js
	build/demo/kitchen-sink/kitchen-sink-uncompressed.js
	build/kitchen-sink.html
	build/src/ace-noconflict.js
	build/src/ace.js
	demo/kitchen-sink/demo.js
2012-03-31 10:00:21 +02:00
Garen Torikian
9b4f97565d Merge pull request #687 from ajaxorg/fix/build
Add new require dependencies
2012-03-30 14:55:43 -07:00
Garen Torikian
ad6e54ce2c Add new requires 2012-03-30 14:54:39 -07:00
Garen Torikian
78252c4cf6 Add dependencies 2012-03-30 14:52:29 -07:00
Fabian Jakobs
dd986d45e5 package 2012-03-30 18:09:11 +02:00
Fabian Jakobs
0fb6590f26 be smarter with mode and theme loading 2012-03-30 17:44:24 +02:00
William Candillon
d7015b1c08 Add xquery doc to the kitchen sink. 2012-03-30 16:18:54 +02:00
William Candillon
a84caa3600 Add XQuery mode to the kitchen sink. 2012-03-30 16:11:04 +02:00
William Candillon
06a85bd325 Update XQuery syntax highlighter. 2012-03-30 14:16:11 +02:00
danyaPostfactum
496c8d67fc Two minor fixes of gutter style 2012-03-30 17:44:07 +10:00
nightwing
98180d5b07 refactor 2012-03-30 00:09:19 +04:00
richo
66287085fd Hilight function definitions 2012-03-29 09:50:18 +11:00
richo
99702e7505 Amend language variable support 2012-03-28 23:52:43 +11:00
richo
d1303f41da Correctly hilight variables 2012-03-28 23:43:26 +11:00
richo
75b4948451 Add support for file descriptors 2012-03-28 23:16:34 +11:00
mikedeboer
19a5af9fe3 improved empty check 2012-03-27 17:19:01 +02:00
cloud9Deploy
4113f574a4 Merge pull request #658 from jrburke/patch-1
Call onLoad in the non-browser case.
2012-03-26 03:15:16 -07:00
cloud9Deploy
d7d8a164f1 Merge pull request #664 from ajaxorg/typo/placeholder
Typo followup: now handling both of ACE and Cloud9 worlds
2012-03-26 03:01:46 -07:00
cloud9Deploy
1340569415 Merge pull request #672 from ajaxorg/theme/update_monokai
Hella improve syntax highlighting for JS across all themes
2012-03-26 02:58:33 -07:00
cloud9Deploy
0b3fdb469c Merge pull request #674 from nightwing/pullreq
update jshint
2012-03-26 02:55:05 -07:00
Fabian Jakobs
50d0d87d5f package 2012-03-26 11:27:31 +02:00
richo
d6a21166fc Add sh editing mode based on the python mode 2012-03-26 11:26:10 +02:00
nightwing
2227a9bfea rename 2012-03-26 11:51:24 +04:00
nightwing
fdf9841ef9 keep option in demo across reloads 2012-03-26 11:49:54 +04:00
nightwing
d85e8b24f6 add some more commands 2012-03-25 22:16:28 +04:00
William Candillon
dd182bcee6 Add encoding XQuery keyword. 2012-03-25 17:45:59 +02:00
nightwing
fc500bb37a reset desiredColumn when needed instead of updating it all the time 2012-03-25 14:52:17 +04:00
nightwing
ec9ef6c843 fix handling of desiredcolumn 2012-03-25 12:15:33 +05:00
Garen Torikian
ab7fa1a78d Fix test I didn't know existed 2012-03-24 03:12:14 +01:00
Garen Torikian
5a02205fc8 Update to add param colors and more JS functions 2012-03-24 02:47:25 +01:00
nightwing
77fb2dc1f2 quick node script for updating dependencies 2012-03-23 21:00:48 +04:00
nightwing
9244fd0440 update dependencies 2012-03-23 21:00:47 +04:00
nightwing
bcf8430ec4 can edit text with multiple selections 2012-03-22 23:13:41 +04:00
Garen Torikian
0fb021b967 Fix failing test 2012-03-22 19:30:13 +01:00
Garen Torikian
ee667179b3 Add a few more JS styles for escaped chars & keywords, also tests 2012-03-22 18:17:01 +01:00
nightwing
c955e33e04 first draft of multicorsor (messy but mostly works) 2012-03-22 19:41:48 +04:00
nightwing
580ed00afa better handling of multiple cursors 2012-03-22 19:38:31 +04:00
nightwing
c2e1f8815d emit events on add/remove to range_list 2012-03-22 19:37:18 +04:00
nightwing
eb4a36fe7f fix hash_handler 2012-03-22 19:34:37 +04:00
Garen Torikian
a0038069b8 Include storage.type for JS definitions; fix various themes 2012-03-22 11:04:06 +01:00
Garen Torikian
c207da630e Merge master 2012-03-21 16:50:31 +01:00
Garen Torikian
e249ddd118 Continue documenting Ace API 2012-03-21 16:48:40 +01:00
Fabian Jakobs
0ff2e3540a more interesting demos 2012-03-21 12:56:31 +01:00
nightwing
6ec76596a3 cleanup 2012-03-21 11:45:27 +04:00
nightwing
107735560a do not require cursors to be sorted 2012-03-20 13:16:17 +04:00
nightwing
bd6ecd1b8b rearrange markers to bring selected_word behind selection 2012-03-20 00:00:38 +04:00
nightwing
37943f8df5 more work on range_list 2012-03-18 23:18:50 +04:00
nightwing
ce215714c3 fix multiline text markers and update comments to match actual functions 2012-03-18 17:20:37 +04:00
nightwing
43bfe515ed small cleanup 2012-03-18 17:16:10 +04:00
Fabian Jakobs
4d024f4975 package 2012-03-16 12:26:30 +01:00
Fabian Jakobs
413607a991 don't write to read only property in IE10
fixes #669
2012-03-16 12:24:49 +01:00
Fabian Jakobs
f711dadd63 package 2012-03-16 12:19:46 +01:00
Fabian Jakobs
9936be106d demot fix 2012-03-16 11:16:20 +00:00
nightwing
a4f82e70f6 add draft implementation of rangeList to test it's usefulness 2012-03-14 14:57:58 +04:00
nightwing
020cf5f39a improve inbrowser test runner 2012-03-14 14:55:56 +04:00
nightwing
1e4828e3d8 remove redundant clamping while converting between screen and document positions 2012-03-13 23:05:05 +04:00
nightwing
6381f3e048 make hash_handler more useful 2012-03-13 22:06:48 +04:00
nightwing
c431f6a550 add ability to draw show cursors 2012-03-13 22:04:45 +04:00
nightwing
7f39633a5e add a little more text to js doc for testing multicursor 2012-03-13 21:56:22 +04:00
Meg Sharkey
a7efe1293a Merge remote-tracking branch 'ace/master' 2012-03-12 16:57:25 -07:00
Meg Sharkey
f684fed674 added example for yaml 2012-03-12 16:39:06 -07:00
Meg Sharkey
8be362ab54 fixed reference 2012-03-12 16:03:12 -07:00
Meg Sharkey
889368019e fixed reference error 2012-03-12 15:53:00 -07:00
Meg Sharkey
9d33a06633 added yaml syntax highlighter 2012-03-12 15:47:01 -07:00
Mostafa Eweda
ec022c3abb Typo followup: now handling both of ACE and Cloud9 worlds 2012-03-12 17:33:17 +02:00
Christoph Dorn
eeeaf7d66b doc fix 2012-03-11 16:12:27 -07:00
Zef Hemel
5050cc10b8 Merge pull request #660 from ajaxorg/typo/placeholder
Fixed a typo in placeholder
2012-03-11 09:59:05 -07:00
Mostafa Eweda
0329c10031 Fixing typo followup, try fixing the corrupted tests 2012-03-09 00:52:20 +02:00
Mostafa Eweda
1283b11f0e Fixed a typo in placeholder that was stopping the cancel to work 2012-03-08 20:29:21 +02:00
James Burke
66adddf2f7 Call onLoad in the non-browser case. This allows the r.js optimizer to work when building projects that include ace from source. It should be done anyway, to indicate the load of the resource was successful. 2012-03-06 12:56:40 -08:00
Christoph Dorn
fdce161412 sourcemint loader detection fix 2012-03-05 15:54:19 -08:00
cadorn
3824403206 switch to incremental bundle rebuild on source change middleware 2012-03-05 10:52:42 -08:00
Fabian Jakobs
fcded20cbe package 2012-03-02 11:40:40 +01:00
Fabian Jakobs
099f1541fd add json worker 2012-03-02 11:40:25 +01:00
cadorn
65e56a5eaf docs 2012-02-29 16:07:23 -08:00
cadorn
1dd9d03de8 doc 2012-02-29 16:04:23 -08:00
cadorn
67abf80c4e sourcemint loader support 2012-02-29 16:03:18 -08:00
Fabian Jakobs
edaf0d0ce0 package 2012-02-29 15:09:08 +01:00
Fabian Jakobs
30bd07dd22 add worker_client to the main package 2012-02-29 15:07:55 +01:00
Garen Torikian
463fce04fe Update js files based on new conref format 2012-02-25 10:33:28 -08:00
Fabian Jakobs
1178b03f37 Merge pull request #651 from btelles/master
Fix for IE8 and jQuery 1.7.1 compatibility.
2012-02-25 07:25:03 -08:00
William Candillon
1f17c033a4 Add external keyword to the tokenizer. 2012-02-25 12:42:19 +01:00
Garen Torikian
a715d4f528 Update conref style 2012-02-24 17:23:20 -08:00
Bernie Telles
f05b5d9961 fix ie8 jquery 1.7.1 compatibility 2012-02-23 20:52:03 -08:00
Garen Torikian
d80ed19f65 Merge branch 'master' into doc/api 2012-02-23 13:15:05 -08:00
Fabian Jakobs
88fe362384 package 2012-02-22 12:14:53 +01:00
Fabian Jakobs
3b23a7ac1a also generate text mode 2012-02-22 12:14:42 +01:00
Fabian Jakobs
d7c823de0f add define.packaged 2012-02-22 12:14:29 +01:00
Fabian Jakobs
182ba8345e minor demo fix 2012-02-22 11:07:47 +01:00
Fabian Jakobs
0c258e615a package 2012-02-22 11:07:21 +01:00
Fabian Jakobs
483a7126e0 better integration with requirejs 2012-02-22 10:35:08 +01:00
Fabian Jakobs
77f347fb74 Merge pull request #650 from ajaxorg/hotfix/webkit_scrolling_update
Hotfix/webkit scrolling update
2012-02-22 01:20:26 -08:00
mikedeboer
4f93588763 removed scrolling threshold for older safari versions, cause it make working with apple mice less pleasant 2012-02-22 10:17:55 +01:00
mikedeboer
c549e3a17f removed scrolling threshold for older safari versions, cause it make working with apple mice less pleasant 2012-02-22 10:15:57 +01:00
Fabian Jakobs
aad7aada0d Merge pull request #639 from uniqu3/patch-1
Adding CMS Made Simple to Projects using Ace
2012-02-14 02:30:18 -08:00
Fabian Jakobs
8ffd661283 Merge pull request #644 from joewalker/master
Fix makefile
2012-02-14 02:30:00 -08:00
Fabian Jakobs
325bfbb786 Merge pull request #647 from adamjimenez/patch-9
BlueGriffon now uses CodeMirror instead:
2012-02-14 02:28:12 -08:00
Garen Torikian
870fe2c74e Merge branch 'master' into doc/api 2012-02-13 12:34:25 -08:00
William Candillon
40c3b74391 Fix namespaces. 2012-02-13 10:26:34 +01:00
William Candillon
240f68cd9a Minor improvements in the XQuery syntax highlighter. 2012-02-13 10:04:06 +01:00
William Candillon
9355bbeba5 Add xquery mode. 2012-02-13 10:03:33 +01:00
Adam Jimenez
ac30ce41df BlueGriffon now uses CodeMirror instead:
http://bluegriffon.org/post/2011/12/20/Progress-20111223
2012-02-09 10:55:00 +00:00
Garen Torikian
444d12f0f1 Fix parse error around conref 2012-02-07 16:23:13 -08:00
Garen Torikian
554b845bb9 Make some updates to doc 2012-02-07 16:22:22 -08:00
William Candillon
5adb50244c Add new keywords. 2012-02-07 16:31:05 +01:00
William Candillon
9bed0eee92 Add new keywords. 2012-02-07 16:26:14 +01:00
William Candillon
1bba5fb6d7 Add count keyword. 2012-02-07 16:11:06 +01:00
William Candillon
3571dc5944 Add the XQuery mode to the ace build. 2012-02-06 19:28:49 +01:00
Joe Walker
deffa824da Fix broken clone function 2012-02-06 14:12:26 +00:00
Joe Walker
eacb1e8691 Set dryice dependency to correct version 2012-02-06 14:12:02 +00:00
Joe Walker
71e6e8894b Use of copy.source.commonjs() is deprecated 2012-02-06 14:09:29 +00:00
William Candillon
517e88f2f0 Add XQuery support from eXide 2012-02-06 14:53:12 +01:00
Garen Torikian
f4842f566e Remove hacks, since ndoc is now fixed 2012-02-03 13:23:54 -08:00
Fabian Jakobs
21a07bd793 package 2012-02-03 15:43:07 +01:00
Fabian Jakobs
2814203c33 fix click offset bug 2012-02-03 15:42:59 +01:00
Garen Torikian
79886c3e07 First dump of doc stuff 2012-02-02 17:00:18 -08:00
uniqu3
e98801227c Update index.html 2012-02-02 15:05:55 +01:00
mikedeboer
67ba8f5f29 fixed horizontal scroll restore when browser and ACE are out of sync 2012-02-02 12:21:37 +01:00
Fabian Jakobs
2ca62bca00 package 2012-02-02 11:26:46 +01:00
Fabian Jakobs
dd55f74256 Merge remote-tracking branch 'nightwing/pullreq'
Conflicts:
	lib/ace/virtual_renderer.js
2012-02-02 11:25:34 +01:00
Fabian Jakobs
7263b07932 Merge branch 'master' of github.com:ajaxorg/ace 2012-02-02 11:24:24 +01:00
mikedeboer
0caee61b22 fixed font size flicker between show/hide of editor instances 2012-02-02 11:22:59 +01:00
Fabian Jakobs
3103915b0a Merge pull request #617 from rkettelerij/master
Minor fix in README file
2012-02-02 02:21:50 -08:00
Fabian Jakobs
dcf4ae0fab Merge pull request #636 from ajaxorg/bugfix/fix_spelling
Bugfix/fix spelling
2012-02-02 02:21:28 -08:00
Garen Torikian
987528bfe2 Fix spelling of 'orientation' 2012-02-01 12:12:15 -08:00
Garen Torikian
cd88f1ccfb Fix getScrollLeft to actually get scroll left 2012-02-01 12:09:46 -08:00
Fabian Jakobs
45e76fb176 dryice 0.4.x does not work currently 2012-01-30 13:04:50 +01:00
Fabian Jakobs
a7373e605a C9_PORT is deprecated 2012-01-30 10:48:31 +01:00
Fabian Jakobs
5b6e24dd09 Merge pull request #623 from adamjimenez/patch-8
Fix to work with Jsmin
2012-01-25 08:26:48 -08:00
Fabian Jakobs
006c712bc2 Merge pull request #629 from nightwing/tokenizer
fix for #618: Editor gets blocked when typing <style type="
2012-01-25 08:25:56 -08:00
nightwing
d46983aa5f fix for #618: Editor gets blocked when typing <style type="
happened when rule started with same prefix as embedded language name
2012-01-25 00:15:46 +04:00
nightwing
f065505bc3 use slightly lighter color for folds in textmate theme 2012-01-24 12:57:58 +04:00
nightwing
0fb16fdaf0 small css optimization. (based on output from chrome css profiler) 2012-01-24 12:57:34 +04:00
nightwing
5dee6a10c3 keep vertical scroll position if gutter size changes during setSession 2012-01-24 12:56:31 +04:00
nightwing
9f1d8af937 on CHANGE_LINES update gutter only if visible lines changed
otherwise it's impossible to click on foldwidget after typing at the start of big document
2012-01-24 12:56:03 +04:00
nightwing
9f2e504d67 fix horizontal scroll desynchronization on windows 2012-01-24 12:55:00 +04:00
Fabian Jakobs
4b3dd3073e package 2012-01-23 15:19:58 +01:00
Fabian Jakobs
6e0a9ce53d Merge commit '8b82f01'
Conflicts:
	build/kitchen-sink.html
	build/src/ace-noconflict.js
	build/src/ace.js
2012-01-23 15:05:49 +01:00
Fabian Jakobs
8b82f01cce package 2012-01-23 14:50:24 +01:00
Fabian Jakobs
fe8a9d0681 don't scroll cursor into view on change session 2012-01-23 14:48:43 +01:00
Fabian Jakobs
3bc79d6f2b Merge pull request #620 from ajaxorg/nicer-fonts2
Make sure that Ace looks good on Windows & Linux too
2012-01-19 03:55:11 -08:00
Adam Jimenez
52edab929d Fix to work with Jsmin 2012-01-19 10:54:36 +00:00
Jan Jongboom
dce1cda421 Make sure that Ace looks good on Windows & Linux too
Default monospace font on Windows is now Consolas, which is a great one, then remove Courier New, because monospace is better on Linux systems; and if there is no nice monospace font it'll fall back to Courier anyway.
2012-01-17 18:45:23 +01:00
Richard Kettelerij
a27c631290 Minor documentation fix, the node.js mini HTTP server requires mime to be installed 2012-01-15 15:20:58 +01:00
Fabian Jakobs
c824e608d8 package 2012-01-06 11:45:09 +01:00
Fabian Jakobs
cf6f4d88d3 Merge branch 'master' of https://github.com/desoi/ace into desoi-master
Conflicts:
	Makefile.dryice.js
2012-01-06 11:39:27 +01:00
John DeSoi
493824ca4d new mode for PostgreSQL - pgsql 2012-01-05 22:00:26 -05:00
Fabian Jakobs
c1a8d2a1dc Merge pull request #602 from nightwing/pullreq
bugfix
2012-01-02 10:04:49 -08:00
nightwing
496446ddfc on session with active placeholder setValue("") crashes the browser 2012-01-02 21:46:04 +04:00
nightwing
29246bf8d9 do not wait for pollSizeChanges to apply change after setFontSize 2012-01-02 21:46:04 +04:00
nightwing
9c30cf29c8 get rid of $desiredScrollLeft 2012-01-02 21:46:04 +04:00
nightwing
8d6facfdc7 fix typo 2012-01-02 21:46:04 +04:00
nightwing
35aecf42af fix scrollToLine for sessions containing folds 2012-01-02 21:46:04 +04:00
nightwing
57bb9f767c fix foldAll 2012-01-02 21:46:04 +04:00
nightwing
eebdf1360f jumptomatching should be enabled in readonly mode 2012-01-02 21:46:04 +04:00
Fabian Jakobs
73dd10abc7 Merge pull request #601 from nightwing/opera
fix for repeated keypress on opera
2012-01-02 08:37:58 -08:00
Fabian Jakobs
6433e4cf77 Merge branch 'master' of github.com:ajaxorg/ace 2012-01-02 17:33:26 +01:00
Fabian Jakobs
307b3884b5 update require.js 2012-01-02 17:33:01 +01:00
Fabian Jakobs
59acd23d2c r.js fix 2012-01-02 17:32:53 +01:00
nightwing
67eec84c69 fix for repeated keypress on opera 2012-01-02 18:04:49 +04:00
Fabian Jakobs
dcb387b761 add https://github.com/rocktronica/tmpltr to projects using ace 2012-01-02 11:37:12 +01:00
Zef Hemel
3d812115ed Merge pull request #597 from ajaxorg/code-snippets
Static highlighting fix for codesnippets
2011-12-29 02:40:48 -08:00
Jan Jongboom
f283d34790 Static highlighting fix for codesnippets 2011-12-29 10:36:22 +00:00
Zef Hemel
0fc5392cbe package 2011-12-22 22:23:28 +01:00
Zef Hemel
c1af717143 Fix cross-domain worker load issue. 2011-12-22 22:23:09 +01:00
Fabian Jakobs
c52d1b2030 package 2011-12-21 16:23:36 +01:00
Fabian Jakobs
d688278297 Merge branch 'master' of github.com:ajaxorg/ace 2011-12-21 16:22:43 +01:00
Fabian Jakobs
827490fedd fix scrolling issues 2011-12-21 16:16:19 +01:00
Zef Hemel
f2e1dfee50 Undoing the change that broke the firefox. onmessage is not a local variable, it's a global one. 2011-12-21 15:58:34 +01:00
okonomiyaki3000
68a812c69d each new variable gets its own 'var' statement. 2011-12-21 22:11:46 +09:00
okonomiyaki3000
f79c2d8ce2 replace and replaceAll will return the number of items replaced 2011-12-21 17:16:37 +09:00
Fabian Jakobs
cd19802f46 package 2011-12-20 16:37:17 +01:00
Fabian Jakobs
b3b1dcbbac fix typo 2011-12-20 16:36:29 +01:00
Fabian Jakobs
d0cfaca836 fix tests 2011-12-20 15:16:09 +01:00
Fabian Jakobs
9a5718433b package 2011-12-20 14:51:51 +01:00
Fabian Jakobs
26947b5ab1 Merge pull request #589 from ajaxorg/info-marker
"Info" icon for gutter was still missing.
2011-12-20 05:50:34 -08:00
Fabian Jakobs
495c27df57 package 2011-12-20 14:42:00 +01:00
Fabian Jakobs
ea23efaed2 scroll events are now on the edit session 2011-12-20 14:35:28 +01:00
Fabian Jakobs
ee123ab4a4 package 2011-12-20 14:31:59 +01:00
Fabian Jakobs
e766d70b07 move scroll top and scroll left into the edit_session
so they can be persisted when changing sessions.
2011-12-20 14:00:47 +01:00
Zef Hemel
1154cb8f71 "Info" icon for gutter was still missing. 2011-12-20 12:45:59 +01:00
Fabian Jakobs
26fb2ae0bb package 2011-12-20 12:20:13 +01:00
Fabian Jakobs
f3cd1d1f7e kitchen sink gets its own set of themes 2011-12-20 12:18:02 +01:00
Fabian Jakobs
3b7871ce0e fix flash of hidden textarea 2011-12-20 12:16:49 +01:00
Fabian Jakobs
ec7ac55a6b package 2011-12-19 15:30:56 +01:00
Fabian Jakobs
c08d09bfb4 use strict 2011-12-19 15:15:29 +01:00
Fabian Jakobs
65c0bd1213 cleanups 2011-12-19 15:15:17 +01:00
Fabian Jakobs
5b6872b702 fix tests 2011-12-19 13:29:16 +01:00
Fabian Jakobs
63e037f544 package 2011-12-19 13:22:23 +01:00
Fabian Jakobs
b8f15cb81b Merge branch 'master' of github.com:ajaxorg/ace 2011-12-19 13:21:18 +01:00
Fabian Jakobs
b4d9100a90 package 2011-12-19 13:21:11 +01:00
Fabian Jakobs
1f40a1d21d give kitchen sink its own build target 2011-12-19 13:18:44 +01:00
Fabian Jakobs
3771ae8545 completely refactor and cleanup build script 2011-12-19 13:05:34 +01:00
Fabian Jakobs
fcaeafb07d use no conflict version of ace for the demo 2011-12-19 13:04:17 +01:00
Fabian Jakobs
9e35b31e2d use nicer script name for bookmarklet 2011-12-19 13:02:38 +01:00
Fabian Jakobs
47aa0d88c9 mark modules as packaged 2011-12-19 13:02:10 +01:00
Fabian Jakobs
3e88268332 add jump to matching brace command 2011-12-19 12:04:22 +01:00
Fabian Jakobs
d2a783f824 use _emit iso _dispatchEvent 2011-12-19 12:03:57 +01:00
Fabian Jakobs
02f1447e2c emit scroll events 2011-12-19 12:02:42 +01:00
Fabian Jakobs
1c90af5612 Merge pull request #586 from nightwing/pullreq
coffee script folding + horizontal scroll fixes
2011-12-19 01:17:22 -08:00
nightwing
de9370ae92 fix marker sizing 2011-12-18 19:03:57 +04:00
nightwing
00bc66fd9a fix regression with horizontal scrolling 2011-12-18 19:03:09 +04:00
nightwing
a673864f38 coffescript folding improvements (fixes #582) 2011-12-18 18:15:35 +04:00
Fabian Jakobs
a40c6a9211 Cleanup build system
* create no conflict packed version of ace
* move text area code into the normal code base
* remote special cased code for textarea
2011-12-16 16:32:07 +01:00
Fabian Jakobs
512a82015f Merge pull request #580 from nightwing/pullreq
python folding tests + some bugfix
2011-12-16 03:01:35 -08:00
Fabian Jakobs
3bd7b0a59a Merge pull request #579 from okonomiyaki3000/master
Don't let $tokenizeRows return empty array. Rename variable 'char' as 'chr'
2011-12-16 00:12:35 -08:00
okonomiyaki3000
581668441a Changed 6 instances of 'char' to 'chr'. char is a reserved word in JavaScript and should not be used as a variable name. 2011-12-16 15:15:54 +09:00
okonomiyaki3000
2fd1c7565b Problem: It seems that, under circumstances I do not understand, some NaN value gets passed to getState and then on to $tokenizeRows which causes empty array to be returned. getState then tries to access element 0 of this array and ugly things start to happen.
Solution: never return empty array from $tokenizeRows
2011-12-16 15:05:22 +09:00
nightwing
7f8401ef07 cdata isn't a tag 2011-12-15 22:00:31 +04:00
nightwing
3f123b19a6 shift click should add subfolds until document end if foldWidgetRange is null 2011-12-15 21:48:15 +04:00
nightwing
41d8cfa4ef fixed exception in xml folding when tags are not balanced 2011-12-15 21:46:18 +04:00
nightwing
a424fb5da5 in html "style" and "script" should match only exact word 2011-12-15 21:38:00 +04:00
nightwing
ab4ad37e5a add missing variable declaration 2011-12-15 20:53:06 +04:00
nightwing
c491ec9a5b handle case when fold is on single line 2011-12-15 20:53:05 +04:00
nightwing
ac43a82c02 tweak python folding and add tests 2011-12-15 20:53:05 +04:00
nightwing
e24dab2ea1 rewriting bound function doesn't work 2011-12-15 20:53:05 +04:00
Fabian Jakobs
25400848f2 fix folding after html mode changes 2011-12-15 17:23:34 +01:00
Fabian Jakobs
eb021d957e package 2011-12-14 17:06:05 +01:00
Fabian Jakobs
6b80c3581e add dreamweaver theme to the build script 2011-12-14 17:04:51 +01:00
Adam Jimenez
3b647e1aa7 dragTimer renamed to dragDelay
Conflicts:

	lib/ace/mouse/mouse_handler.js
2011-12-14 17:00:25 +01:00
Adam Jimenez
50e6df7e15 code style improvements
Conflicts:

	lib/ace/virtual_renderer.js
2011-12-14 16:59:14 +01:00
Fabian Jakobs
9f3c7630db Merge commit 'e8c077e90d'
Conflicts:
	lib/ace/mouse/mouse_handler.js
2011-12-14 16:57:58 +01:00
Fabian Jakobs
b2162f0408 package 2011-12-14 16:50:14 +01:00
Fabian Jakobs
95537b4f4f cleanups 2011-12-14 16:50:04 +01:00
Fabian Jakobs
31ebc6ad3b fix unit test 2011-12-14 16:47:20 +01:00
Fabian Jakobs
b2334b036c Merge branch 'master' of github.com:ajaxorg/ace
Conflicts:
	lib/ace/virtual_renderer.js
2011-12-14 16:27:57 +01:00
Fabian Jakobs
337d7bc6e0 package 2011-12-14 16:08:55 +01:00
Fabian Jakobs
0a6b072079 add default gutter handler 2011-12-14 16:01:35 +01:00
Fabian Jakobs
680ae0e8a2 move gutter mouse event code to the mouse_handler 2011-12-14 15:30:20 +01:00
Fabian Jakobs
e8f80f9ca7 Merge pull request #568 from mwkaufmann/patch-1
fix: a minor typo in demo.js
2011-12-14 05:28:29 -08:00
Fabian Jakobs
ebbe67a01b Merge pull request #573 from nightwing/pullreq
more folding polish
2011-12-14 05:27:52 -08:00
Fabian Jakobs
653a88ff30 don't sélect on unfold 2011-12-14 13:28:02 +01:00
Fabian Jakobs
312dfe7ddf package 2011-12-13 18:06:00 +01:00
Fabian Jakobs
a2ed7d8b14 more theme updates 2011-12-13 18:03:56 +01:00
Fabian Jakobs
9ef05262f4 update themes 2011-12-13 17:57:58 +01:00
Fabian Jakobs
b6fbe5b6bb hide fold icons in manual mode 2011-12-13 16:48:13 +01:00
Fabian Jakobs
2bd85c163d automatically resize gutter for high line numbers 2011-12-13 16:19:28 +01:00
Fabian Jakobs
f7e7039bb5 typo 2011-12-13 14:18:08 +01:00
Fabian Jakobs
214aa85037 package 2011-12-13 14:06:33 +01:00
Fabian Jakobs
78d2e48ab2 when setting fold style to manual unfold all folds 2011-12-13 14:04:57 +01:00
Fabian Jakobs
57662cf8fa open folds with single click 2011-12-13 13:50:42 +01:00
Fabian Jakobs
e8f35d3cd2 cleanup 2011-12-13 13:50:28 +01:00
Fabian Jakobs
2d3ee456b6 package 2011-12-13 13:15:08 +01:00
Fabian Jakobs
a8bc832faa add some content to the animation demo 2011-12-13 13:14:53 +01:00
Fabian Jakobs
3b01eb9bac cleanups 2011-12-13 12:21:47 +01:00
Fabian Jakobs
c93d1e209a remove classList support 2011-12-13 12:21:30 +01:00
Fabian Jakobs
5200776c52 add animated folding experiment 2011-12-13 12:20:55 +01:00
nightwing
d10ea1fe0d show some feedback to user action, when fold can't be added 2011-12-13 09:31:14 +04:00
nightwing
0a9a997883 better folding for python and coffeeScript 2011-12-13 01:21:29 +04:00
nightwing
55198434a4 folds should respond only to click events (not dblclick) 2011-12-13 01:04:00 +04:00
Adam Jimenez
e8c077e90d Fixes highlighting of !doctype tag 2011-12-12 13:19:29 +00:00
Adam Jimenez
f9262f445e Different highlighting for specific HTML tags e.g. form tags / table tags 2011-12-12 13:19:08 +00:00
Adam Jimenez
6124b5576d setDragTimer - configure wait time when dragging 2011-12-12 13:17:56 +00:00
Adam Jimenez
dc32557f23 Highlight HTML in PHP mode 2011-12-12 13:17:03 +00:00
Adam Jimenez
4e2764dfdd dreamweaver theme 2011-12-12 13:15:00 +00:00
Fabian Jakobs
fcf3b7928f cleanups 2011-12-12 12:52:24 +01:00
mwkaufmann
57e77c590e fixed a typo 2011-12-10 00:39:51 +01:00
Fabian Jakobs
8bd16ba2ed remove fold styles from the theme (might have to be
added back later)
2011-12-09 17:19:09 +01:00
Fabian Jakobs
dac9d03944 more folding css tweaks 2011-12-09 17:18:46 +01:00
Fabian Jakobs
01af029c30 package 2011-12-09 16:52:25 +01:00
Fabian Jakobs
16abfcbe75 Revert "add scrollbar before scroller to not cover it"
This reverts commit decebfc552.
2011-12-09 16:49:27 +01:00
Fabian Jakobs
e1b21b0dc8 package 2011-12-09 16:45:19 +01:00
Fabian Jakobs
83065ec8f5 fix folding of comments 2011-12-09 16:37:00 +01:00
Fabian Jakobs
d0472db577 package 2011-12-09 15:59:56 +01:00
Fabian Jakobs
d12d7e3dc5 update folding styling 2011-12-09 15:56:39 +01:00
Fabian Jakobs
759384e4c8 package 2011-12-09 10:43:52 +01:00
Fabian Jakobs
a742993ffb Merge pull request #565 from nightwing/pullreq
small polish
2011-12-08 09:52:44 -08:00
Fabian Jakobs
5f03c6b48c package 2011-12-08 18:51:28 +01:00
Fabian Jakobs
9cb05c2e56 make move word right/left consistent with OSX behavior (XCode)
fix #542
2011-12-08 18:50:05 +01:00
nightwing
0d02902831 snap scrolling to edges
(it doesn't make sense to have editor scrolled by just one char)
2011-12-08 21:27:18 +04:00
nightwing
85e087f87d fix for jquery modal dialogs which doesn't break selection 2011-12-08 21:01:23 +04:00
nightwing
decebfc552 add scrollbar before scroller to not cover it 2011-12-08 20:54:54 +04:00
nightwing
e6a0c06575 fix size computations depending on renderer $padding 2011-12-08 20:54:15 +04:00
nightwing
b9515ddb01 keep existing macro if nothing new is recorded 2011-12-08 18:54:47 +04:00
Fabian Jakobs
96b6abb615 package 2011-12-07 10:56:09 +01:00
Fabian Jakobs
6a6c4c4c15 Merge branch 'master' of github.com:ajaxorg/ace 2011-12-07 10:54:35 +01:00
Fabian Jakobs
98f245e975 change navigate right unit test to match OSX
TextEdit behavior
2011-12-07 10:53:34 +01:00
Fabian Jakobs
855b43fdad add some more CSS properties to highlight 2011-12-07 10:52:38 +01:00
Fabian Jakobs
130429a611 fix getKeyboardHandler 2011-12-06 16:00:59 +01:00
Fabian Jakobs
23a48b23b4 cleanups 2011-12-06 16:00:10 +01:00
Fabian Jakobs
83d6732abe add chrome theme to the demo 2011-12-06 15:59:53 +01:00
Fabian Jakobs
50ecdb5e0d add wavemaker to projects using ace 2011-12-06 15:59:40 +01:00
Fabian Jakobs
bd9fad0b86 Merge pull request #561 from wildfireapp/jquery_modal_fix
Increase z-index of textarea so it works with jQuery dialogs with modal=...
2011-12-06 02:46:47 -08:00
Fabian Jakobs
5057b7be7b Merge pull request #559 from wildfireapp/add_chrome_theme
Add chrome theme.
2011-12-06 02:18:03 -08:00
Bernie Telles
8932ec3816 remove remnants of liquid 2011-12-05 11:36:41 -08:00
Bernie Telles
a32ade3300 Create chrome theme. 2011-12-05 11:29:51 -08:00
Bernie Telles
b229566f3c Add chrome theme to compile settings. 2011-12-05 11:29:43 -08:00
Bernie Telles
c43618f2cb Increase z-index of textarea so it works with jQuery dialogs with modal=true 2011-12-05 11:28:58 -08:00
Fabian Jakobs
aa08adc5ab Merge branch 'master' of github.com:ajaxorg/ace 2011-12-05 18:54:47 +01:00
Fabian Jakobs
633fbfdb31 package 2011-12-05 18:53:44 +01:00
Fabian Jakobs
d90cf5a31e fix mini require for the bookmarklet 2011-12-05 18:53:37 +01:00
Fabian Jakobs
b002aacf34 Merge pull request #547 from paulb777/patch-3
Point out that dryice is required to build.
2011-12-05 09:12:47 -08:00
Fabian Jakobs
1b58db895c Merge pull request #553 from nightwing/pullreq
some highlight rule fixes
2011-12-05 09:11:37 -08:00
Fabian Jakobs
3d89cadb36 package 2011-12-05 18:10:25 +01:00
Fabian Jakobs
e0c00a1840 Merge branch 'master' of github.com:ajaxorg/ace 2011-12-05 18:09:21 +01:00
Fabian Jakobs
29d00b160f package 2011-12-05 18:09:03 +01:00
Fabian Jakobs
6a9ef52fe8 don't use console without checks 2011-12-05 18:08:07 +01:00
Fabian Jakobs
bf263ff375 Merge pull request #556 from ajaxorg/select-undo
Added the ability to (temporarily) disable selection of undos
2011-12-05 09:04:04 -08:00
Fabian Jakobs
494a21d9e2 package 2011-12-05 16:02:58 +01:00
Fabian Jakobs
4ff215fb72 fix css sample 2011-12-05 16:01:41 +01:00
nightwing
8f20a8f557 add missing flag argument 2011-12-05 19:00:59 +04:00
Fabian Jakobs
82a930053b Merge remote-tracking branch 'nightwing/pullreq'
Conflicts:
	lib/ace/mode/folding/cstyle.js
2011-12-05 15:56:38 +01:00
Fabian Jakobs
d6e6a8ce97 package 2011-12-05 15:45:37 +01:00
Zef Hemel
bab7d58449 Added the ability to (temporarily) disable selection of undos. This messes up placeholder behavior. 2011-12-05 15:39:19 +01:00
Fabian Jakobs
9fee4b7d96 fix folding for self closing tags. fix #548 2011-12-05 15:36:05 +01:00
Fabian Jakobs
70cef75704 add setting to toggle fold mode 2011-12-05 15:11:36 +01:00
nightwing
f1c4eab550 cstyle folding throws if matching bracket isn't found 2011-12-04 21:03:58 +04:00
nightwing
c4bdcd8bad add ability to Tokenizer to use "i" flag for caseInsensitve languages 2011-12-04 20:55:25 +04:00
nightwing
ba334cae71 fix for broken paren matching in @keyframes rules 2011-12-04 20:40:46 +04:00
nightwing
5b08bf8e1e fix js regex highlighting
adds coloring for escaped entities \s
  and fixes highlighting regexps like /[]/g
2011-12-04 20:33:54 +04:00
Fabian Jakobs
da1a45f694 create separate html mode 2011-12-02 15:10:27 +01:00
Fabian Jakobs
8a6bfe2d24 package 2011-12-02 13:21:29 +01:00
Fabian Jakobs
829c24c780 add getAllFolds 2011-12-02 13:19:42 +01:00
Fabian Jakobs
a37f9562e3 add mixed mode folding rules 2011-12-02 13:19:36 +01:00
Fabian Jakobs
593d95f482 Merge branch 'master' of github.com:ajaxorg/ace 2011-12-02 11:10:16 +01:00
Fabian Jakobs
75f5d06362 Merge pull request #546 from nightwing/pullreq
a small followup for structured folding
2011-12-02 01:14:18 -08:00
Fabian Jakobs
e7ca90ffe0 some folding fixes and cleanups 2011-12-02 10:04:54 +01:00
Paul Beusterien
a2b20bae7a Point out that dryice is required to build. Also, I don't think git submodule update is needed any longer 2011-12-01 13:10:11 -08:00
nightwing
f02c04965b shift+click must fold all subfolds as well 2011-12-01 23:58:16 +04:00
nightwing
d9f3eff921 fix caching of foldWidgets 2011-12-01 23:19:42 +04:00
Fabian Jakobs
a82c478d6d Merge pull request #545 from ajaxorg/placeholder-cancel
Added ability to cancel (=undo) the placeholder changes
2011-12-01 09:51:27 -08:00
Fabian Jakobs
50ba6fa664 Merge pull request #539 from singjie/master
Fix contextMenu when accessing editor requires scrolling
2011-12-01 09:42:29 -08:00
Fabian Jakobs
bbcb00acc4 split mode specific code for structured folding
into separate files
2011-12-01 18:25:46 +01:00
Fabian Jakobs
d2eeb44016 package 2011-12-01 16:51:55 +01:00
Fabian Jakobs
5db6824f28 disable logging 2011-12-01 16:51:05 +01:00
Fabian Jakobs
285afeb4f2 handle void elements in html folding 2011-12-01 16:44:55 +01:00
Zef Hemel
3beed6da5b Added ability to cancel the placeholder related changes + test. 2011-12-01 16:29:27 +01:00
Fabian Jakobs
d8faf048bc package 2011-12-01 16:09:18 +01:00
Fabian Jakobs
0c14c86c94 fix unit tests 2011-12-01 16:08:31 +01:00
Fabian Jakobs
b9bbf22094 ignore 2011-12-01 15:46:32 +01:00
Fabian Jakobs
36b05a9bd4 package 2011-12-01 15:45:52 +01:00
Fabian Jakobs
0867c5ec40 enable folding in other modes 2011-12-01 15:43:33 +01:00
Fabian Jakobs
71d5f359fb add folding for xml style modes. Also refactor
html, svg and xml modes to reuse code
2011-12-01 15:39:02 +01:00
Fabian Jakobs
9a612cd2e5 align xml mode with html mode 2011-12-01 12:48:28 +01:00
Fabian Jakobs
64d8b93538 Merge branch 'master' of github.com:ajaxorg/ace 2011-12-01 12:07:22 +01:00
Fabian Jakobs
14a7b0e1e7 Merge pull request #513 from wildfireapp/master
Can we add open and close angle brackets to the list of items highlighted as a tag?
2011-12-01 03:05:42 -08:00
Fabian Jakobs
f45b4ed783 code folding cleanups 2011-12-01 11:27:26 +01:00
Fabian Jakobs
7f8235c0dd Merge remote-tracking branch 'nightwing/pullreq' 2011-12-01 11:02:48 +01:00
Fabian Jakobs
acf258ea8b cleanups 2011-12-01 11:02:22 +01:00
mikedeboer
6e40a7d210 check for delta.lines 2011-11-30 18:32:00 +01:00
Zef Hemel
0d56cbade3 Merge pull request #543 from ajaxorg/vim
Changes in Vim branch
2011-11-30 08:50:28 -08:00
Sergi Mansilla
ebd9356e7b Merge branch 'vim' of http://github.com/ajaxorg/ace into vim 2011-11-30 17:44:17 +01:00
Sergi Mansilla
e944fdde3b Small fixes in keybinding.js 2011-11-30 17:42:38 +01:00
Zef Hemel
c6dbb93167 Merge branch 'fix/remove-duplicate-annos' into vim 2011-11-30 11:57:07 +01:00
Zef Hemel
147709312c Avoids multiple duplicate messages in the gutter title. 2011-11-30 11:56:17 +01:00
John DeSoi
5347de55a6 Fix missing SQL sample file in demo.
Added sql.sql to the kitchen-sink demo.
2011-11-29 13:38:49 -05:00
Sergi Mansilla
d3013ad835 We are now passing along the original Keyboard event for keybindings
The original keyboard event is now passed on, and `$composeBuffer` is
returning with an extra property `keyIdentifier`, which contains the
Unicode id of the pressed keybinding.
2011-11-29 16:45:30 +01:00
Lee Sing Jie
92d1b7559b Fix contextMenu when editor require scrolling
When editor is not at the top of the page (requires scrolling), textarea
right-click context menu will fail to appear.

Use clientX and clientY which returns the relative coordinates instead
of pageX and pageY.
2011-11-29 21:25:25 +08:00
Fabian Jakobs
cd271f1a8b add failing unit test for #510 2011-11-28 17:38:58 +01:00
Fabian Jakobs
15f2ef3f80 package 2011-11-28 17:03:55 +01:00
Fabian Jakobs
af074250db fix demo 2011-11-28 17:03:48 +01:00
Fabian Jakobs
12f47849fb fix #533 2011-11-28 16:51:51 +01:00
Fabian Jakobs
5d38d47af0 fix #524 2011-11-28 16:25:03 +01:00
Fabian Jakobs
3cda6306c0 wiki 2011-11-28 16:20:35 +01:00
Fabian Jakobs
c4d3d68a19 don't autoindent in object literal. fix #508 2011-11-28 16:19:22 +01:00
Fabian Jakobs
09a04bdc32 use text mate keybindings for the macros. fix #534 2011-11-28 16:02:49 +01:00
nightwing
4677db58d8 add fold detection rules for python and c style languages 2011-11-28 18:09:39 +04:00
nightwing
aa9ff0d763 ctrl+dblClick must remove fold and it's subfolds 2011-11-28 01:21:23 +04:00
nightwing
2424261f7a use tokenIterator to find comment range 2011-11-28 00:57:40 +04:00
nightwing
77dfd0b29c addFold must not throw if new fold is inside the existing one 2011-11-28 00:24:37 +04:00
nightwing
3412f89007 add simple foldWidgets 2011-11-27 20:53:51 +04:00
nightwing
8c1d415bdd make text layer full length 2011-11-25 22:47:07 +04:00
Fabian Jakobs
ff2a87af7e package 2011-11-25 18:46:50 +01:00
Fabian Jakobs
1a42d8e2b0 fix kitchen sink loading 2011-11-25 18:45:43 +01:00
Fabian Jakobs
e0aaedaa0d xml highlighter fix #521 2011-11-25 18:45:23 +01:00
Fabian Jakobs
0b633711a0 package 2011-11-25 17:21:26 +01:00
Fabian Jakobs
d513838288 remove unused imports 2011-11-25 17:20:50 +01:00
Fabian Jakobs
d3ba5b8111 fix embedding multiple ace editors fix #492 2011-11-25 17:20:33 +01:00
Fabian Jakobs
2b4351ccd7 Merge branch 'master' of github.com:ajaxorg/ace
Conflicts:
	build/demo/kitchen-sink/kitchen-sink.js
	build/kitchen-sink.html
	build/src/ace.js
	build/textarea/src/ace.js
2011-11-25 16:22:22 +01:00
Sergi Mansilla
0ca443966e package 2011-11-25 11:30:31 +01:00
Zef Hemel
7e84cef35b Merge pull request #531 from ajaxorg/vim_methods
Added `getAWordRange` and `selectAWord` methods
2011-11-25 02:21:34 -08:00
Sergi Mansilla
5639aa971e Added tests for selectAWord 2011-11-24 23:22:49 +01:00
Fabian Jakobs
64ce049838 package 2011-11-24 18:26:33 +01:00
Fabian Jakobs
51d2a72933 Merge branch 'master' into keybinding_cleanup 2011-11-24 18:25:18 +01:00
Fabian Jakobs
59af119a42 revert d62c0aa0: "change windows shortcuts to match os conventions" 2011-11-24 18:25:08 +01:00
Sergi Mansilla
bb7fd9bb66 Added getAWordRange and selectAWord methods
These new methods are necessary to select a word along with its right
whitespace, which is a reasonably common scenario.
2011-11-24 18:18:01 +01:00
Fabian Jakobs
dbc4a35d38 package 2011-11-24 17:37:36 +01:00
Fabian Jakobs
219d337db3 workaround for cloud9 rendering bug 2011-11-24 17:36:25 +01:00
Zef Hemel
9d1c25eb1b Merge pull request #530 from adamjimenez/patch-4
fix for binding ctrl-;
2011-11-24 04:27:43 -08:00
Adam Jimenez
184ed6cee6 fix for binding ctrl-; 2011-11-24 11:18:31 +00:00
Zef Hemel
52adc20760 Merge pull request #529 from nightwing/pullreq
update themes and theme conversion tool
2011-11-24 03:16:42 -08:00
nightwing
448fde5d4b update themes and theme conversion tool to add missing styles for folds 2011-11-24 12:11:07 +04:00
Zef Hemel
b2dcbf9fa3 Build update. 2011-11-23 12:54:57 +01:00
Mike de Boer
8e7a4f61c4 Merge pull request #527 from ajaxorg/themes-dark-light-marker
Light/dark theme marker
2011-11-23 02:54:02 -08:00
Zef Hemel
b81138b937 Added space after 'if' 2011-11-23 11:46:57 +01:00
Zef Hemel
44db746f35 Adds a marker to every theme saying whether it is a dark or light theme. Based on that, it either attaches an "ace_dark" CSS selector to the root of the editor or not. Useful for styling. 2011-11-23 11:33:23 +01:00
nightwing
970dccdca4 better api for adding commands + unit tests 2011-11-22 12:16:44 +04:00
nightwing
c00341b444 add command_manager_test to browser tests, and fix failing test 2011-11-21 12:46:15 +04:00
nightwing
262df95a3d properly handle replay/toggleRecording while in replay mode 2011-11-21 12:14:09 +04:00
nightwing
52ea224893 hashHandler may return empty command 2011-11-21 12:14:09 +04:00
nightwing
c8906d4123 do not emit paste on indent 2011-11-21 12:14:09 +04:00
nightwing
0ba3333971 add simple keyboard macros 2011-11-21 12:14:09 +04:00
nightwing
d926ff88a9 move readOnly checks into commandManager 2011-11-21 12:13:44 +04:00
nightwing
97b00ea46b untangle keybinding.js 2011-11-21 12:13:44 +04:00
nightwing
d62c0aa08e change windows shortcuts to match os conventions 2011-11-21 12:13:44 +04:00
nightwing
3dbe128d10 fix: removeFolds splits foldLine incorrectly 2011-11-21 12:13:25 +04:00
nightwing
d8a8876254 find and goto must unfold desired locations 2011-11-21 12:13:16 +04:00
Zef Hemel
d1064ae0e1 Merge pull request #512 from nightwing/pullreq
fixed some bugs with wrapped foldlines
2011-11-21 00:01:39 -08:00
nightwing
13bb7725ff adapt move line test to new behaviour 2011-11-18 17:39:56 +04:00
nightwing
e2d47c6a60 fix clipping at the boundaries, and add more tests 2011-11-18 17:39:03 +04:00
Jan Jongboom
5e44199d36 Merge pull request #516 from ajaxorg/hotfix/theme_require_paths
fixed require paths for ace themes
2011-11-18 03:01:26 -08:00
mikedeboer
390f541769 fixed require paths for ace themes 2011-11-18 11:53:51 +01:00
Zef Hemel
ac324e8fb0 Merge remote-tracking branch 'nightwing/pullreq' into integration 2011-11-18 11:18:30 +01:00
Sergi Mansilla
aeb49e017c Merge pull request #515 from ajaxorg/hotfix/gutter-shiz
Hotfix/gutter shiz
2011-11-18 02:05:54 -08:00
Jan Jongboom
385b4cb932 ace-uncompressed build update 2011-11-18 10:58:58 +01:00
Jan Jongboom
5174c54a89 Fresh build 2011-11-18 10:38:14 +01:00
Jan Jongboom
314f756bfb Themes reverted 2011-11-18 10:36:37 +01:00
Bernie Telles
5d0bc99d99 Change HTML highlight rules to match chrome theme.
Conflicts:

	lib/ace/mode/html_highlight_rules.js
2011-11-17 18:41:45 -08:00
Fabian Jakobs
00d86c60ef Merge pull request #506 from ajaxorg/placeholders
Placeholders
2011-11-17 10:54:11 -08:00
nightwing
be8cacfcc3 useragent.js thinks firefox 11 is old :-) 2011-11-17 21:58:07 +04:00
nightwing
0d696cb258 allow Numpad\d keys in commands 2011-11-17 21:31:45 +04:00
nightwing
647c713325 do not lose cursor position while moving lines 2011-11-17 21:14:04 +04:00
nightwing
4a8a5bad59 Fixed: selectAll+removeLines corrupts undo history 2011-11-17 21:13:21 +04:00
nightwing
41a1913235 findPrevious finds same text again and again if selection isn't backwards 2011-11-17 21:13:02 +04:00
nightwing
a931d239d7 fix rendering of wrapped foldlines 2011-11-17 21:08:17 +04:00
Zef Hemel
7d50280a49 Unit tests for placeholder and bugfixes resulting from the test. 2011-11-17 10:39:42 +01:00
Zef Hemel
1fb9e0aea4 Merge pull request #507 from defunkt/upper-and-lower
Add editor.toUpperCase() and editor.toLowerCase()
2011-11-16 22:27:25 -08:00
Chris Wanstrath
351c1e75fb Add editor.toUpperCase() and editor.toLowerCase()
Also add Ctrl-U (uppercase) and Ctrl-Shift-U (lowercase) bindings.
2011-11-16 10:34:19 -08:00
Zef Hemel
8978ca7bb3 Merge remote-tracking branch 'origin/master' into placeholders 2011-11-16 17:00:24 +01:00
Zef Hemel
90928a61ae Removed default classes. 2011-11-16 16:48:58 +01:00
Zef Hemel
42d6cedf4d Minor tweaks. 2011-11-16 16:46:28 +01:00
mikedeboer
ba8574b9df added Travis status to Readme 2011-11-16 12:29:59 +01:00
mikedeboer
79c661aa53 added Travis config 2011-11-16 12:21:40 +01:00
Zef Hemel
ba4497e068 Merge remote-tracking branch 'origin/master' into placeholders 2011-11-16 11:08:54 +01:00
Zef Hemel
755ec7eeb2 First iteration of placeholders in ACE. 2011-11-16 11:07:20 +01:00
Fabian Jakobs
7dd3d5c576 package 2011-11-15 18:20:29 +01:00
Fabian Jakobs
be69263d31 fix #505 2011-11-15 18:11:00 +01:00
Fabian Jakobs
392a80d23c package 2011-11-15 11:43:00 +01:00
Fabian Jakobs
74beb8070d haxe mode 2011-11-15 11:41:45 +01:00
Fabian Jakobs
c97fc93a71 Merge branch 'haxesyntax'
Conflicts:
	demo/kitchen-sink/demo.js
2011-11-15 11:38:43 +01:00
Fabian Jakobs
6d06b3bbd0 cleanups to the haxe mode 2011-11-15 11:21:57 +01:00
Jason O'Neil
45d3c86da6 Changed to demo, because haxe.hx was renamed to Haxe.hx
Haxe files must be uppercase to be compile-able.
2011-11-15 11:15:41 +01:00
Jason O'Neil
8f0a86639a Renamed haxe file sample and changed class so that it is a valid file that compiles. 2011-11-15 11:15:41 +01:00
Jason O'Neil
0c4c0f8529 Changes to Textarea also 2011-11-15 11:15:41 +01:00
Fabian Jakobs
112c5e8959 package 2011-11-15 11:08:33 +01:00
Fabian Jakobs
a13ba68fa2 fix unit tests 2011-11-15 11:05:11 +01:00
Fabian Jakobs
c1082c648c Merge branch 'match-on-tokens' of https://github.com/dgeorge/ace into dgeorge-match-on-tokens
Conflicts:
	lib/ace/edit_session.js
	lib/ace/edit_session_test.js
	lib/ace/test/all_browser.js
2011-11-15 11:01:24 +01:00
Fabian Jakobs
d62c796785 package 2011-11-14 18:12:21 +01:00
Fabian Jakobs
32e90b2b8a Function.prototype.bind cannot be used in the loader
since ES5-shim is not there yet.
2011-11-14 18:12:15 +01:00
Fabian Jakobs
2d9382fb47 function.bind is not available in Safari 2011-11-14 09:19:53 +01:00
dgeorge
a4e1ab55f0 Changed the typeRe regular expression to be more strict. 2011-11-11 09:24:08 -08:00
Fabian Jakobs
3fcbaa4c7c package 2011-11-11 16:09:30 +01:00
Fabian Jakobs
328dbc312f sometimes "delete lines" did not update the active
line highlight
2011-11-11 15:56:55 +01:00
Fabian Jakobs
dcfecdc1a4 fix find next scroll into view 2011-11-11 15:50:56 +01:00
Fabian Jakobs
129ac7eb0a split off compat files as separate build file 2011-11-11 12:27:41 +01:00
Fabian Jakobs
c4bcb96b3a package 2011-11-11 12:27:16 +01:00
Fabian Jakobs
209887ad47 webkit hotfix 2011-11-11 12:27:00 +01:00
Fabian Jakobs
fc220d0363 more command manager tests 2011-11-11 12:26:46 +01:00
Fabian Jakobs
e910138acd add command_manager unit tests 2011-11-11 11:10:37 +01:00
Fabian Jakobs
25caf6b3bf package 2011-11-10 18:18:40 +01:00
Fabian Jakobs
c1ee54cae7 stupid chrome fix 2011-11-10 18:18:15 +01:00
Fabian Jakobs
09a52b8165 allow modules to return a module 2011-11-10 18:17:53 +01:00
Fabian Jakobs
0986187300 add canon to migration list 2011-11-10 17:16:08 +01:00
Fabian Jakobs
8f122465f9 compiled requireJS doesn't like relative text plugins 2011-11-10 17:15:49 +01:00
Fabian Jakobs
3036ce516b improve migration layer 2011-11-10 17:14:52 +01:00
Fabian Jakobs
44c019871c add removeCommand function 2011-11-10 17:14:17 +01:00
Fabian Jakobs
ea4d070bfd package 2011-11-10 10:35:43 +01:00
Fabian Jakobs
489659c86f some minor fixes 2011-11-10 10:35:32 +01:00
Fabian Jakobs
fa7ccc3473 fix browser tests 2011-11-09 17:56:27 +01:00
Fabian Jakobs
3df6def703 npm test 2011-11-09 17:08:48 +01:00
Fabian Jakobs
eeb499b173 update demo 2011-11-09 17:03:00 +01:00
Fabian Jakobs
625f70206c package 2011-11-09 16:55:48 +01:00
Fabian Jakobs
95b72633a0 Chrome doesn't like the uglified version 2011-11-09 16:54:43 +01:00
Fabian Jakobs
0b69b42ade more support for relative module ids 2011-11-09 16:51:35 +01:00
Fabian Jakobs
c043d14b8b use relative module ids to please node.js 2011-11-09 15:38:53 +01:00
Fabian Jakobs
1f6abc96b1 Merge branch 'master' of github.com:ajaxorg/ace
Conflicts:
	build/demo/kitchen-sink/kitchen-sink-uncompressed.js
	build/demo/kitchen-sink/kitchen-sink.js
	build/kitchen-sink.html
	build/src/ace-uncompressed.js
	build/src/ace.js
	build/src/keybinding-vim.js
	build/src/mode-c_cpp.js
	build/src/mode-clojure.js
	build/src/mode-coffee.js
	build/src/mode-coldfusion.js
	build/src/mode-csharp.js
	build/src/mode-css.js
	build/src/mode-groovy.js
	build/src/mode-html.js
	build/src/mode-java.js
	build/src/mode-javascript.js
	build/src/mode-json.js
	build/src/mode-markdown.js
	build/src/mode-ocaml.js
	build/src/mode-perl.js
	build/src/mode-php.js
	build/src/mode-powershell.js
	build/src/mode-python.js
	build/src/mode-ruby.js
	build/src/mode-scad.js
	build/src/mode-scala.js
	build/src/mode-scss.js
	build/src/mode-svg.js
	build/src/mode-textile.js
	build/src/worker-coffee.js
	build/src/worker-css.js
	build/src/worker-javascript.js
	build/textarea/src/ace-uncompressed.js
	build/textarea/src/ace.js
	build/textarea/src/mode-c_cpp.js
	build/textarea/src/mode-clojure.js
	build/textarea/src/mode-coffee.js
	build/textarea/src/mode-coldfusion.js
	build/textarea/src/mode-csharp.js
	build/textarea/src/mode-css.js
	build/textarea/src/mode-groovy.js
	build/textarea/src/mode-html.js
	build/textarea/src/mode-java.js
	build/textarea/src/mode-javascript.js
	build/textarea/src/mode-json.js
	build/textarea/src/mode-markdown.js
	build/textarea/src/mode-ocaml.js
	build/textarea/src/mode-perl.js
	build/textarea/src/mode-php.js
	build/textarea/src/mode-powershell.js
	build/textarea/src/mode-python.js
	build/textarea/src/mode-ruby.js
	build/textarea/src/mode-scad.js
	build/textarea/src/mode-scala.js
	build/textarea/src/mode-scss.js
	build/textarea/src/mode-svg.js
	build/textarea/src/mode-textile.js
2011-11-09 11:56:39 +01:00
Fabian Jakobs
610f4da758 package 2011-11-09 11:54:27 +01:00
Fabian Jakobs
b1f0c74a64 add pilot compatibility API 2011-11-09 11:34:50 +01:00
Fabian Jakobs
cc91bfd712 remove pilot references 2011-11-09 11:34:25 +01:00
Fabian Jakobs
688e669361 use dry ice from npm 2011-11-09 11:33:17 +01:00
mikedeboer
f78fb12086 updated build dir 2011-11-07 18:41:59 +01:00
mikedeboer
a53d984016 added a mouse event listener for the 'click' event 2011-11-07 18:41:59 +01:00
Matt
36cb2ba463 Added ubuntu's new font to the list of default fonts 2011-11-07 09:36:45 -08:00
Fabian Jakobs
3930d6da0f revert fix 2011-11-07 12:30:17 +01:00
Fabian Jakobs
99446c7759 add missing files 2011-11-07 12:30:10 +01:00
Jason O'Neil
3b589d0d85 Changes to Kitchen Sink demo to include haxe mode and document 2011-11-03 13:44:21 +08:00
Jason O'Neil
dbd5d3fa01 Added haxe mode to Makefile.dryice.js 2011-11-03 13:43:48 +08:00
Jason O'Neil
c1337be88f Added a sample file for haxe 2011-11-03 13:42:50 +08:00
Jason O'Neil
aac5a0e83a Added mode and highlight rules for haxe, based on C# 2011-11-03 13:05:11 +08:00
Sergi Mansilla
e02b43d9c0 Merge branch 'master' of http://github.com/ajaxorg/ace 2011-11-03 00:12:20 +01:00
Sergi Mansilla
12d125814b Fixed global variable 2011-11-03 00:09:51 +01:00
Fabian Jakobs
caac348e10 fix remove left 2011-11-02 18:26:52 +01:00
Fabian Jakobs
b063b96230 move pilot code back into Ace
Conflicts:

	.gitmodules
	Makefile.dryice.js
	build_support/editor_textarea.html
	demo/demo.js
	kitchen-sink.html
	lib/ace/edit_session_test.js
	lib/ace/mode/coffee.js
	lib/ace/mode/coffee_highlight_rules.js
	lib/ace/mode/css.js
	lib/ace/mode/javascript.js
	lib/ace/model/window.js
	lib/ace/mouse/default_handlers.js
	lib/ace/theme/clouds.js
	lib/ace/theme/clouds_midnight.js
	lib/ace/theme/cobalt.js
	lib/ace/theme/crimson_editor.js
	lib/ace/theme/dawn.js
	lib/ace/theme/eclipse.js
	lib/ace/theme/idle_fingers.js
	lib/ace/theme/kr_theme.js
	lib/ace/theme/merbivore.js
	lib/ace/theme/merbivore_soft.js
	lib/ace/theme/mono_industrial.js
	lib/ace/theme/monokai.js
	lib/ace/theme/pastel_on_dark.js
	lib/ace/theme/solarized_dark.js
	lib/ace/theme/solarized_light.js
	lib/ace/theme/textmate.js
	lib/ace/theme/twilight.js
	lib/ace/theme/vibrant_ink.js
	lib/ace/view/measure_text.js
	lib/ace/virtual_renderer.js
	package.json
	support/paths.js
2011-11-02 18:18:51 +01:00
Fabian Jakobs
c12cfb4788 package 2011-11-02 14:44:01 +01:00
Fabian Jakobs
62a3b4edf5 Merge commit '6808e3bb35'
Conflicts:
	.gitmodules
	Makefile.dryice.js
	demo/demo.js
	demo/kitchen-sink/boot.js
	kitchen-sink.html
	lib/ace/commands/default_commands.js
	lib/ace/test/tests.html
	package.json
	support/pilot
2011-11-02 14:43:00 +01:00
Fabian Jakobs
22274e4d4c Merge branch 'master' of github.com:ajaxorg/ace 2011-11-02 13:15:17 +01:00
Fabian Jakobs
2ecef49e39 move deps into node_modules and make better use
of npm
2011-11-02 13:15:04 +01:00
Fabian Jakobs
253d1621e0 package 2011-11-02 13:12:09 +01:00
Fabian Jakobs
45f351e819 Merge pull request #490 from ajaxorg/issues/489
Issues/489
2011-11-02 04:34:39 -07:00
Jan Jongboom
b9955714f1 new rule on behavior when doing keyboard navigation + tests 2011-11-02 11:23:09 +00:00
Jan Jongboom
125d9bfbfd Issue 489 2011-11-02 10:14:59 +00:00
Jan Jongboom
3451ab1b8f Issue 489 Initial 2011-11-02 10:14:52 +00:00
Jan Jongboom
7eb76db726 Revert "Issue 489"
This reverts commit bc599176e0.
2011-11-02 10:08:00 +00:00
Jan Jongboom
b74321928c Revert "Issue 489 Initial"
This reverts commit 271e24aba2.
2011-11-02 10:07:30 +00:00
Jan Jongboom
bc599176e0 Issue 489 2011-11-02 10:03:04 +00:00
Jan Jongboom
271e24aba2 Issue 489 Initial 2011-11-02 09:59:28 +00:00
dgeorge
ae26fe31a0 More unit tests. Clearer comments. Better variable names. 2011-11-01 17:09:43 -07:00
dgeorge
81411db28a Merge remote branch 'upstream/master' 2011-10-31 16:10:40 -07:00
dgeorge
017d6dc96e Added more unit tests. Changed the unit test code to be formatted with leading spaces instead of tabs. 2011-10-31 16:08:21 -07:00
dgeorge
5030abba97 Changed leading white space to use spaces instead of tabs (no actual code changes, just reformatting the code) 2011-10-31 16:05:52 -07:00
Fabian Jakobs
e89b18fcc3 Merge pull request #484 from nightwing/pullreq
fix infinite loop in $computeWrapSplits
2011-10-31 04:02:49 -07:00
nightwing
7ad4734e24 fix infinite loop in computeWrapSplits 2011-10-30 22:49:02 +04:00
dgeorge
bcabfcb2e2 Added unit tests for TokenIterator 2011-10-28 16:58:45 -07:00
dgeorge
16060483ac Merge remote branch 'origin/master' 2011-10-28 14:43:47 -07:00
dgeorge
dc84eac595 Merge remote branch 'upstream/master' 2011-10-28 14:38:30 -07:00
dgeorge
62a788c391 Merge remote branch 'upstream/master' 2011-10-28 14:27:16 -07:00
dgeorge
e0048b4967 EditSession.findMatchingBracket now uses tokens instead of a simple text search. Moved the bracket-matching code to a separate file edit_session/bracket_match.js. Added a TokenIterator helper class, which walks forward or backward through all tokens in the document. 2011-10-28 14:23:55 -07:00
Fabian Jakobs
e8914acd7b Merge pull request #479 from nightwing/pullreq
make wrapping friendlier to code:
2011-10-26 00:39:13 -07:00
Fabian Jakobs
933b4f9386 Merge pull request #480 from kernel1983/master
fix vim mode hjkl keys problem
2011-10-26 00:37:46 -07:00
Fabian Jakobs
2ad5f9a3a0 highlight "no" keyword in coffeescript. fixes #481 2011-10-26 10:30:11 +03:00
KJ
6b84933232 fix vim mode (h|left) and (l|right) key 2011-10-26 14:16:17 +08:00
nightwing
b8e934b1bf make wrapping friendlier to code:
- allow wrapping text at punctuation as well as space
 - do not search for wrap point too far away from the line end
2011-10-25 19:04:18 +05:00
Fabian Jakobs
b8d2d96387 Merge pull request #478 from rstudio/bugfix/no-paste-event-on-indent
Bugfix/no paste event on indent
2011-10-25 06:26:55 -07:00
Joe Cheng
e46d4201fe Don't emit Paste event on indent 2011-10-24 10:47:41 -07:00
Fabian Jakobs
cf4773176c Merge pull request #475 from nightwing/pullreq
double click with highlightAll on crashes browser
2011-10-24 03:41:40 -07:00
Fabian Jakobs
b139819575 add rubymonk. closes #477 2011-10-24 13:34:52 +03:00
nightwing
93237bd694 fix some more out of date tests 2011-10-21 21:32:09 +05:00
nightwing
e3000ae39d fix in browser tests 2011-10-21 20:59:41 +05:00
nightwing
245b27a4f7 using moveCursorTo in search.js isn't safe (triggers events) 2011-10-21 20:48:26 +05:00
Fabian Jakobs
18f5ca584f Merge pull request #423 from probablycorey/master
Search's FindAll has issues when cursor is in the middle of the line.
2011-10-21 02:43:12 -07:00
Fabian Jakobs
43df77ec80 Merge pull request #471 from paulb777/patch-2
Adding AppLaud Cloud - a toolset for developing mobile apps with PhoneGap
2011-10-21 02:02:18 -07:00
Fabian Jakobs
2715ec90a3 Merge pull request #472 from nightwing/pullreq
more bugfix, add togglefold to default commands
2011-10-21 01:23:51 -07:00
nightwing
7ade415f25 toggleFold must fold strings and comments as well 2011-10-21 11:09:10 +05:00
nightwing
92a3369bdb add togglefold to the list of default commands 2011-10-21 09:07:13 +05:00
nightwing
1a462d53de range.containsRange was returning result for "intersects" 2011-10-21 09:07:12 +05:00
nightwing
c5a53431e8 dragging when ctrl/alt is pressed must copy selection 2011-10-21 09:07:12 +05:00
nightwing
8a9488090d don't stop iteration if behaviour returns undefined 2011-10-21 09:07:12 +05:00
nightwing
70201ad6a7 small optimization + namechange for getNextFold->getNextFoldLine 2011-10-21 09:07:12 +05:00
Paul Beusterien
8674600cb1 Adding AppLaud Cloud - a toolset for developing mobile apps with PhoneGap, jQuery Mobile, weinre, Ripple, and, of course, Ace. 2011-10-19 18:47:44 -07:00
Fabian Jakobs
baaf719506 fixup themes 2011-10-18 16:52:51 +02:00
Fabian Jakobs
9ab8d986cd requestAnimationFrame cannot be used in Webkit
since it is not fired when the window is not
focused/visible.
2011-10-18 16:46:54 +02:00
Corey Johnson
f69bfe0360 Search's findAll has a bug when using regExp with $ or ^.
This fixes that bug and adds a test for it as
well.
2011-09-16 14:22:41 -07:00
1426 changed files with 296007 additions and 105951 deletions

23
.gitignore vendored
View file

@ -2,22 +2,21 @@
.DS_Store
*.swp
*.tmp
*~
# Project files that should not be in the repo
.project
.settings/
.settings.xml
.c9settings.xml
.settings.xml.old
.*
\#*
!/.gitignore
.*.gz
*.tmTheme.js
# A handy place to put stuff that git should ignore:
/ignore/
support/async/
support/node-htmlparser/
support/node-o3-xml/
support/requirejs/
node_modules/
jam/
* *
/node_modules
support/node-o3-xml-v4/
.git-ref
.git-ref
npm-debug.log
deps/

17
.gitmodules vendored
View file

@ -1,15 +1,6 @@
[submodule "support/cockpit"]
path = support/cockpit
url = git://github.com/ajaxorg/cockpit.git
[submodule "support/pilot"]
path = support/pilot
url = git://github.com/ajaxorg/pilot.git
[submodule "support/dryice"]
path = support/dryice
url = git://github.com/ajaxorg/dryice.git
[submodule "doc/wiki"]
path = doc/wiki
url = git://github.com/ajaxorg/ace.wiki.git
[submodule "support/jsdom"]
path = support/jsdom
url = git://github.com/ajaxorg/jsdom.git
url = https://github.com/ajaxorg/ace.wiki.git
[submodule "build"]
path = build
url = https://github.com/ajaxorg/ace-builds.git

1
.travis.yml Normal file
View file

@ -0,0 +1 @@
language: node_js

1
CNAME Normal file
View file

@ -0,0 +1 @@
ace.c9.io

15
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,15 @@
Contributing
------------
Ace is a community project and wouldn't be what it is without contributions! We actively encourage and support contributions. The Ace source code is released under the BSD License. This license is very simple, and is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings!
Feel free to fork and improve/enhance Ace any way you want. If you feel that the editor or the Ace community will benefit from your changes, please open a pull request. To protect the interests of the Ace contributors and users we require contributors to sign a Contributors License Agreement (CLA) before we pull the changes into the main repository. Our CLA is the simplest of agreements, requiring that the contributions you make to an ajax.org project are only those you're allowed to make. This helps us significantly reduce future legal risk for everyone involved. It is easy, helps everyone, takes ten minutes, and only needs to be completed once.
There are two versions of the agreement:
1. [The Individual CLA](https://docs.google.com/a/c9.io/forms/d/1MfmfrxqD_PNlNsuK0lC2KSelRLxGLGfh_wEcG0ijVvo/viewform): use this version if you're working on the Cloud9 SDK or open source projects in your spare time, or can clearly claim ownership of copyright in what you'll be submitting.
2. [The Corporate CLA](https://docs.google.com/a/c9.io/forms/d/1vFejn4111GdnCNuQ6BfnJDaxdsUEMD4KCo1ayovAfu0/viewform): have your corporate lawyer review and submit this if your company is going to be contributing to the Cloud9 SDK and/or open source projects.
If you want to contribute to the Cloud9 SDK and/or open source projects please go to the online form, fill it out and submit it.
Happy coding, Cloud9

View file

@ -1,3 +1,229 @@
Version 1.2.0-pre
* New Features
- Indented soft wrap (danyaPostfactum)
* API Changes
- unified delta types `{start, end, action, lines}` (Alden Daniels https://github.com/ajaxorg/ace/pull/1745)
- "change" event listeners on session and editor get delta objects directly
2015.04.03 Version 1.1.9
- Small Enhancements and Bugfixes
2014.11.08 Version 1.1.8
* API Changes
- `editor.commands.commandKeyBinding` now contains direct map from keys to commands instead of grouping them by hashid
* New Features
- Improved autoindent for html and php modes (Adam Jimenez)
- Find All from searchbox (Colton Voege)
* new language modes
- Elixir, Elm
2014.09.21 Version 1.1.7
* Bugfixes
- fix several bugs in autocompletion
- workaround for inaccurate getBoundingClientRect on chrome 37
2014.08.17 Version 1.1.6
* Bugfixes
- fix regression in double tap to highlight
- Improved Latex Mode (Daniel Felder)
* API Changes
- editor.destroy destroys editor.session too (call editor.setSession(null) to prevent that)
* new language modes
- Praat (José Joaquín Atria)
- Eiffel (Victorien Elvinger)
- G-code (Adam Joseph Cook)
2014.07.09 Version 1.1.5
* Bugfixes
- fix regression in autocomplete popup
* new language modes
- gitignore (Devon Carew)
2014.07.01 Version 1.1.4
* New Features
- Highlight matching tags (Adam Jimenez)
- Improved jump to matching command (Adam Jimenez)
* new language modes
- AppleScript (Yaogang Lian)
- Vala
2014.03.08 Version 1.1.3
* New Features
- Allow syntax checkers to be loaded from CDN (Derk-Jan Hartman)
- Add ColdFusion behavior (Abram Adams)
- add showLineNumbers option
- Add html syntax checker (danyaPostfactum)
* new language modes
- Gherkin (Patrick Nevels)
- Smarty
2013.12.02 Version 1.1.2
* New Features
- Accessibility Theme for Ace (Peter Xiao)
- use snipetManager for expanding emmet snippets
- update jshint to 2.1.4
- improve php syntax checker (jdalegonzalez)
- add option for autoresizing
- add option for autohiding vertical scrollbar
- improvements to highlighting of xml like languages (danyaPostfactum)
- add support for autocompletion and snippets (gjtorikyan danyaPostfactum and others)
- add option to merge similar changes in undo history
- add scrollPastEnd option
- use html5 dragndrop for text dragging (danyaPostfactum)
* API Changes
- fixed typo in HashHandler commmandManager
* new language modes
- Nix (Zef Hemel)
- Protobuf (Zef Hemel)
- Soy
- Handlebars
2013.06.04 Version 1.1.1
- Improved emacs keybindings (Robert Krahn)
- Added markClean, isClean methods to UndoManager (Joonsoo Jeon)
- Do not allow `Toggle comments` command to remove spaces from indentation
- Softer colors for indent guides in dark themes
* new language modes
- Ada
- Assembly_x86
- Cobol
- D
- ejs
- MATLAB
- MySQL
- Twig
- Verilog
2013.05.01, Version 1.1.0
* API Changes
- Default position of the editor container is changed to relative. Add `.ace_editor {position: absolute}` css rule to restore old behavior
- Changed default line-height to `normal` to not conflict with bootstrap. Use `line-height: inherit` for old behavior.
- Changed marker types accepted by session.addMarker. It now accepts "text"|"line"|"fullLine"|"screenLine"
- Internal classnames used by editor were made more consistent
- Introduced `editor.setOption/getOption/setOptions/getOptions` methods
- Introduced positionToIndex, indexToPosition methods
* New Features
- Improved emacs mode (chetstone)
with Incremental search and Occur modes (Robert Krahn)
- Improved ime handling
- Searchbox (Vlad Zinculescu)
- Added elastic tabstops lite extension (Garen Torikian)
- Added extension for whitespace manipulation
- Added extension for enabling spellchecking from contextmenu
- Added extension for displaying available keyboard shortcuts (Matthew Christopher Kastor-Inare III)
- Added extension for displaying options panel (Matthew Christopher Kastor-Inare III)
- Added modelist extension (Matthew Christopher Kastor-Inare III)
- Improved toggleCommentLines and added ToggleCommentBlock command
- `:;` pairing in CSS mode (danyaPostfactum)
- Added suppoert for Delete and SelectAll from context menu (danyaPostfactum)
- Make wrapping behavior optional
- Selective bracket insertion/skipping
- Added commands for increase/decrease numbers, sort lines (Vlad Zinculescu)
- Folding for Markdown, Lua, LaTeX
- Selective bracket insertion/skipping for C-like languages
* Many new languages
- Scheme (Mu Lei)
- Dot (edwardsp)
- FreeMarker (nguillaumin)
- Tiny Mushcode (h3rb)
- Velocity (Ryan Griffith)
- TOML (Garen Torikian)
- LSL (Nemurimasu Neiro, Builders Brewery)
- Curly (Libo Cannici)
- vbScript (Jan Jongboom)
- R (RStudio)
- ABAP
- Lucene (Graham Scott)
- Haml (Garen Torikian)
- Objective-C (Garen Torikian)
- Makefile (Garen Torikian)
- TypeScript (Garen Torikian)
- Lisp (Garen Torikian)
- Stylus (Garen Torikian)
- Dart (Garen Torikian)
* Live syntax checks
- PHP (danyaPostfactum)
- Lua
* New Themes
- Chaos
- Terminal
2012.09.17, Version 1.0.0
* New Features
- Multiple cursors and selections (https://c9.io/site/blog/2012/08/be-an-armenian-warrior-with-block-selection-on-steroids/)
- Fold buttons displayed in the gutter
- Indent Guides
- Completely reworked vim mode (Sergi Mansilla)
- Improved emacs keybindings
- Autoclosing of html tags (danyaPostfactum)
* 20 New language modes
- Coldfusion (Russ)
- Diff
- GLSL (Ed Mackey)
- Go (Davide Saurino)
- Haxe (Jason O'Neil)
- Jade (Garen Torikian)
- jsx (Syu Kato)
- LaTeX (James Allen)
- Less (John Roepke)
- Liquid (Bernie Telles)
- Lua (Lee Gao)
- LuaPage (Choonster)
- Markdown (Chris Spencer)
- PostgreSQL (John DeSoi)
- Powershell (John Kane)
- Sh (Richo Healey)
- SQL (Jonathan Camile)
- Tcl (Cristoph Hochreiner)
- XQuery (William Candillion)
- Yaml (Meg Sharkey)
* Live syntax checks
- for XQuery and JSON
* New Themes
- Ambiance (Irakli Gozalishvili)
- Dreamweaver (Adam Jimenez)
- Github (bootstraponline)
- Tommorrow themes (https://github.com/chriskempson/tomorrow-theme)
- XCode
* Many Small Enhancements and Bugfixes
2011.08.02, Version 0.2.0
* Split view (Julian Viereck)
@ -27,15 +253,14 @@
- SCAD (Jacob Hansson)
* Live syntax checks
- Lint for Css using CSS Lint <http://csslint.net/>
- Lint for CSS using CSS Lint <http://csslint.net/>
- CoffeeScript
* New Themes
- Crimson Editor (iebuggy)
- Merbivore (Michael Schwartz)
- Merbivore soft (Michael Schwartz)
- Solarized dark/light <http://ethanschoonover.com/solarized> (David Alan
Hjelle)
- Solarized dark/light <http://ethanschoonover.com/solarized> (David Alan Hjelle)
- Vibrant Ink (Michael Schwartz)
* Small Features/Enhancements
@ -48,10 +273,8 @@
highlight are not affected (Irakli Gozalishvili)
- Added setFontSize method
- Improved vi keybindings (Trent Ogren)
- When unfocused make cursor transparent instead of removing it (Harutyun
Amirjanyan)
- Support for matching groups in tokenizer with arrays of tokens (Chris
Spencer)
- When unfocused make cursor transparent instead of removing it (Harutyun Amirjanyan)
- Support for matching groups in tokenizer with arrays of tokens (Chris Spencer)
* Bug fixes
- Add support for the new OSX scroll bars
@ -59,8 +282,7 @@
- Proper handling of unicode characters in JavaScript identifiers
- Fix remove lines command on last line (Harutyun Amirjanyan)
- Fix scroll wheel sluggishness in Safari
- Make keyboard infrastructure route keys like []^$ the right way (Julian
Viereck)
- Make keyboard infrastructure route keys like []^$ the right way (Julian Viereck)
2011.02.14, Version 0.1.6
@ -113,4 +335,4 @@
* Add Ruby mode contributed by Shlomo Zalman Heigh
* Add Java mode contributed by Tom Tasche
* Fix annotation bug
* Changing a document added a new empty line at the end
* Changing a document added a new empty line at the end

500
LICENSE
View file

@ -1,476 +1,24 @@
Licensed under the tri-license MPL/LGPL/GPL.
MOZILLA PUBLIC LICENSE
Version 1.1
---------------
1. Definitions.
1.0.1. "Commercial Use" means distribution or otherwise making the
Covered Code available to a third party.
1.1. "Contributor" means each entity that creates or contributes to
the creation of Modifications.
1.2. "Contributor Version" means the combination of the Original
Code, prior Modifications used by a Contributor, and the Modifications
made by that particular Contributor.
1.3. "Covered Code" means the Original Code or Modifications or the
combination of the Original Code and Modifications, in each case
including portions thereof.
1.4. "Electronic Distribution Mechanism" means a mechanism generally
accepted in the software development community for the electronic
transfer of data.
1.5. "Executable" means Covered Code in any form other than Source
Code.
1.6. "Initial Developer" means the individual or entity identified
as the Initial Developer in the Source Code notice required by Exhibit
A.
1.7. "Larger Work" means a work which combines Covered Code or
portions thereof with code not governed by the terms of this License.
1.8. "License" means this document.
1.8.1. "Licensable" means having the right to grant, to the maximum
extent possible, whether at the time of the initial grant or
subsequently acquired, any and all of the rights conveyed herein.
1.9. "Modifications" means any addition to or deletion from the
substance or structure of either the Original Code or any previous
Modifications. When Covered Code is released as a series of files, a
Modification is:
A. Any addition to or deletion from the contents of a file
containing Original Code or previous Modifications.
B. Any new file that contains any part of the Original Code or
previous Modifications.
1.10. "Original Code" means Source Code of computer software code
which is described in the Source Code notice required by Exhibit A as
Original Code, and which, at the time of its release under this
License is not already Covered Code governed by this License.
1.10.1. "Patent Claims" means any patent claim(s), now owned or
hereafter acquired, including without limitation, method, process,
and apparatus claims, in any patent Licensable by grantor.
1.11. "Source Code" means the preferred form of the Covered Code for
making modifications to it, including all modules it contains, plus
any associated interface definition files, scripts used to control
compilation and installation of an Executable, or source code
differential comparisons against either the Original Code or another
well known, available Covered Code of the Contributor's choice. The
Source Code can be in a compressed or archival form, provided the
appropriate decompression or de-archiving software is widely available
for no charge.
1.12. "You" (or "Your") means an individual or a legal entity
exercising rights under, and complying with all of the terms of, this
License or a future version of this License issued under Section 6.1.
For legal entities, "You" includes any entity which controls, is
controlled by, or is under common control with You. For purposes of
this definition, "control" means (a) the power, direct or indirect,
to cause the direction or management of such entity, whether by
contract or otherwise, or (b) ownership of more than fifty percent
(50%) of the outstanding shares or beneficial ownership of such
entity.
2. Source Code License.
2.1. The Initial Developer Grant.
The Initial Developer hereby grants You a world-wide, royalty-free,
non-exclusive license, subject to third party intellectual property
claims:
(a) under intellectual property rights (other than patent or
trademark) Licensable by Initial Developer to use, reproduce,
modify, display, perform, sublicense and distribute the Original
Code (or portions thereof) with or without Modifications, and/or
as part of a Larger Work; and
(b) under Patents Claims infringed by the making, using or
selling of Original Code, to make, have made, use, practice,
sell, and offer for sale, and/or otherwise dispose of the
Original Code (or portions thereof).
(c) the licenses granted in this Section 2.1(a) and (b) are
effective on the date Initial Developer first distributes
Original Code under the terms of this License.
(d) Notwithstanding Section 2.1(b) above, no patent license is
granted: 1) for code that You delete from the Original Code; 2)
separate from the Original Code; or 3) for infringements caused
by: i) the modification of the Original Code or ii) the
combination of the Original Code with other software or devices.
2.2. Contributor Grant.
Subject to third party intellectual property claims, each Contributor
hereby grants You a world-wide, royalty-free, non-exclusive license
(a) under intellectual property rights (other than patent or
trademark) Licensable by Contributor, to use, reproduce, modify,
display, perform, sublicense and distribute the Modifications
created by such Contributor (or portions thereof) either on an
unmodified basis, with other Modifications, as Covered Code
and/or as part of a Larger Work; and
(b) under Patent Claims infringed by the making, using, or
selling of Modifications made by that Contributor either alone
and/or in combination with its Contributor Version (or portions
of such combination), to make, use, sell, offer for sale, have
made, and/or otherwise dispose of: 1) Modifications made by that
Contributor (or portions thereof); and 2) the combination of
Modifications made by that Contributor with its Contributor
Version (or portions of such combination).
(c) the licenses granted in Sections 2.2(a) and 2.2(b) are
effective on the date Contributor first makes Commercial Use of
the Covered Code.
(d) Notwithstanding Section 2.2(b) above, no patent license is
granted: 1) for any code that Contributor has deleted from the
Contributor Version; 2) separate from the Contributor Version;
3) for infringements caused by: i) third party modifications of
Contributor Version or ii) the combination of Modifications made
by that Contributor with other software (except as part of the
Contributor Version) or other devices; or 4) under Patent Claims
infringed by Covered Code in the absence of Modifications made by
that Contributor.
3. Distribution Obligations.
3.1. Application of License.
The Modifications which You create or to which You contribute are
governed by the terms of this License, including without limitation
Section 2.2. The Source Code version of Covered Code may be
distributed only under the terms of this License or a future version
of this License released under Section 6.1, and You must include a
copy of this License with every copy of the Source Code You
distribute. You may not offer or impose any terms on any Source Code
version that alters or restricts the applicable version of this
License or the recipients' rights hereunder. However, You may include
an additional document offering the additional rights described in
Section 3.5.
3.2. Availability of Source Code.
Any Modification which You create or to which You contribute must be
made available in Source Code form under the terms of this License
either on the same media as an Executable version or via an accepted
Electronic Distribution Mechanism to anyone to whom you made an
Executable version available; and if made available via Electronic
Distribution Mechanism, must remain available for at least twelve (12)
months after the date it initially became available, or at least six
(6) months after a subsequent version of that particular Modification
has been made available to such recipients. You are responsible for
ensuring that the Source Code version remains available even if the
Electronic Distribution Mechanism is maintained by a third party.
3.3. Description of Modifications.
You must cause all Covered Code to which You contribute to contain a
file documenting the changes You made to create that Covered Code and
the date of any change. You must include a prominent statement that
the Modification is derived, directly or indirectly, from Original
Code provided by the Initial Developer and including the name of the
Initial Developer in (a) the Source Code, and (b) in any notice in an
Executable version or related documentation in which You describe the
origin or ownership of the Covered Code.
3.4. Intellectual Property Matters
(a) Third Party Claims.
If Contributor has knowledge that a license under a third party's
intellectual property rights is required to exercise the rights
granted by such Contributor under Sections 2.1 or 2.2,
Contributor must include a text file with the Source Code
distribution titled "LEGAL" which describes the claim and the
party making the claim in sufficient detail that a recipient will
know whom to contact. If Contributor obtains such knowledge after
the Modification is made available as described in Section 3.2,
Contributor shall promptly modify the LEGAL file in all copies
Contributor makes available thereafter and shall take other steps
(such as notifying appropriate mailing lists or newsgroups)
reasonably calculated to inform those who received the Covered
Code that new knowledge has been obtained.
(b) Contributor APIs.
If Contributor's Modifications include an application programming
interface and Contributor has knowledge of patent licenses which
are reasonably necessary to implement that API, Contributor must
also include this information in the LEGAL file.
(c) Representations.
Contributor represents that, except as disclosed pursuant to
Section 3.4(a) above, Contributor believes that Contributor's
Modifications are Contributor's original creation(s) and/or
Contributor has sufficient rights to grant the rights conveyed by
this License.
3.5. Required Notices.
You must duplicate the notice in Exhibit A in each file of the Source
Code. If it is not possible to put such notice in a particular Source
Code file due to its structure, then You must include such notice in a
location (such as a relevant directory) where a user would be likely
to look for such a notice. If You created one or more Modification(s)
You may add your name as a Contributor to the notice described in
Exhibit A. You must also duplicate this License in any documentation
for the Source Code where You describe recipients' rights or ownership
rights relating to Covered Code. You may choose to offer, and to
charge a fee for, warranty, support, indemnity or liability
obligations to one or more recipients of Covered Code. However, You
may do so only on Your own behalf, and not on behalf of the Initial
Developer or any Contributor. You must make it absolutely clear than
any such warranty, support, indemnity or liability obligation is
offered by You alone, and You hereby agree to indemnify the Initial
Developer and every Contributor for any liability incurred by the
Initial Developer or such Contributor as a result of warranty,
support, indemnity or liability terms You offer.
3.6. Distribution of Executable Versions.
You may distribute Covered Code in Executable form only if the
requirements of Section 3.1-3.5 have been met for that Covered Code,
and if You include a notice stating that the Source Code version of
the Covered Code is available under the terms of this License,
including a description of how and where You have fulfilled the
obligations of Section 3.2. The notice must be conspicuously included
in any notice in an Executable version, related documentation or
collateral in which You describe recipients' rights relating to the
Covered Code. You may distribute the Executable version of Covered
Code or ownership rights under a license of Your choice, which may
contain terms different from this License, provided that You are in
compliance with the terms of this License and that the license for the
Executable version does not attempt to limit or alter the recipient's
rights in the Source Code version from the rights set forth in this
License. If You distribute the Executable version under a different
license You must make it absolutely clear that any terms which differ
from this License are offered by You alone, not by the Initial
Developer or any Contributor. You hereby agree to indemnify the
Initial Developer and every Contributor for any liability incurred by
the Initial Developer or such Contributor as a result of any such
terms You offer.
3.7. Larger Works.
You may create a Larger Work by combining Covered Code with other code
not governed by the terms of this License and distribute the Larger
Work as a single product. In such a case, You must make sure the
requirements of this License are fulfilled for the Covered Code.
4. Inability to Comply Due to Statute or Regulation.
If it is impossible for You to comply with any of the terms of this
License with respect to some or all of the Covered Code due to
statute, judicial order, or regulation then You must: (a) comply with
the terms of this License to the maximum extent possible; and (b)
describe the limitations and the code they affect. Such description
must be included in the LEGAL file described in Section 3.4 and must
be included with all distributions of the Source Code. Except to the
extent prohibited by statute or regulation, such description must be
sufficiently detailed for a recipient of ordinary skill to be able to
understand it.
5. Application of this License.
This License applies to code to which the Initial Developer has
attached the notice in Exhibit A and to related Covered Code.
6. Versions of the License.
6.1. New Versions.
Netscape Communications Corporation ("Netscape") may publish revised
and/or new versions of the License from time to time. Each version
will be given a distinguishing version number.
6.2. Effect of New Versions.
Once Covered Code has been published under a particular version of the
License, You may always continue to use it under the terms of that
version. You may also choose to use such Covered Code under the terms
of any subsequent version of the License published by Netscape. No one
other than Netscape has the right to modify the terms applicable to
Covered Code created under this License.
6.3. Derivative Works.
If You create or use a modified version of this License (which you may
only do in order to apply it to code which is not already Covered Code
governed by this License), You must (a) rename Your license so that
the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
"MPL", "NPL" or any confusingly similar phrase do not appear in your
license (except to note that your license differs from this License)
and (b) otherwise make it clear that Your version of the license
contains terms which differ from the Mozilla Public License and
Netscape Public License. (Filling in the name of the Initial
Developer, Original Code or Contributor in the notice described in
Exhibit A shall not of themselves be deemed to be modifications of
this License.)
7. DISCLAIMER OF WARRANTY.
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
8. TERMINATION.
8.1. This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to cure
such breach within 30 days of becoming aware of the breach. All
sublicenses to the Covered Code which are properly granted shall
survive any termination of this License. Provisions which, by their
nature, must remain in effect beyond the termination of this License
shall survive.
8.2. If You initiate litigation by asserting a patent infringement
claim (excluding declatory judgment actions) against Initial Developer
or a Contributor (the Initial Developer or Contributor against whom
You file such action is referred to as "Participant") alleging that:
(a) such Participant's Contributor Version directly or indirectly
infringes any patent, then any and all rights granted by such
Participant to You under Sections 2.1 and/or 2.2 of this License
shall, upon 60 days notice from Participant terminate prospectively,
unless if within 60 days after receipt of notice You either: (i)
agree in writing to pay Participant a mutually agreeable reasonable
royalty for Your past and future use of Modifications made by such
Participant, or (ii) withdraw Your litigation claim with respect to
the Contributor Version against such Participant. If within 60 days
of notice, a reasonable royalty and payment arrangement are not
mutually agreed upon in writing by the parties or the litigation claim
is not withdrawn, the rights granted by Participant to You under
Sections 2.1 and/or 2.2 automatically terminate at the expiration of
the 60 day notice period specified above.
(b) any software, hardware, or device, other than such Participant's
Contributor Version, directly or indirectly infringes any patent, then
any rights granted to You by such Participant under Sections 2.1(b)
and 2.2(b) are revoked effective as of the date You first made, used,
sold, distributed, or had made, Modifications made by that
Participant.
8.3. If You assert a patent infringement claim against Participant
alleging that such Participant's Contributor Version directly or
indirectly infringes any patent where such claim is resolved (such as
by license or settlement) prior to the initiation of patent
infringement litigation, then the reasonable value of the licenses
granted by such Participant under Sections 2.1 or 2.2 shall be taken
into account in determining the amount or value of any payment or
license.
8.4. In the event of termination under Sections 8.1 or 8.2 above,
all end user license agreements (excluding distributors and resellers)
which have been validly granted by You or any distributor hereunder
prior to termination shall survive termination.
9. LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
10. U.S. GOVERNMENT END USERS.
The Covered Code is a "commercial item," as that term is defined in
48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
software" and "commercial computer software documentation," as such
terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
all U.S. Government End Users acquire Covered Code with only those
rights set forth herein.
11. MISCELLANEOUS.
This License represents the complete agreement concerning subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. This License shall be governed by
California law provisions (except to the extent applicable law, if
any, provides otherwise), excluding its conflict-of-law provisions.
With respect to disputes in which at least one party is a citizen of,
or an entity chartered or registered to do business in the United
States of America, any litigation relating to this License shall be
subject to the jurisdiction of the Federal Courts of the Northern
District of California, with venue lying in Santa Clara County,
California, with the losing party responsible for costs, including
without limitation, court costs and reasonable attorneys' fees and
expenses. The application of the United Nations Convention on
Contracts for the International Sale of Goods is expressly excluded.
Any law or regulation which provides that the language of a contract
shall be construed against the drafter shall not apply to this
License.
12. RESPONSIBILITY FOR CLAIMS.
As between Initial Developer and the Contributors, each party is
responsible for claims and damages arising, directly or indirectly,
out of its utilization of rights under this License and You agree to
work with Initial Developer and Contributors to distribute such
responsibility on an equitable basis. Nothing herein is intended or
shall be deemed to constitute any admission of liability.
13. MULTIPLE-LICENSED CODE.
Initial Developer may designate portions of the Covered Code as
"Multiple-Licensed". "Multiple-Licensed" means that the Initial
Developer permits you to utilize portions of the Covered Code under
Your choice of the NPL or the alternative licenses, if any, specified
by the Initial Developer in the file described in Exhibit A.
EXHIBIT A -Mozilla Public License.
``The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.
The Original Code is ______________________________________.
The Initial Developer of the Original Code is ________________________.
Portions created by ______________________ are Copyright (C) ______
_______________________. All Rights Reserved.
Contributor(s): ______________________________________.
Alternatively, the contents of this file may be used under the terms
of the _____ license (the "[___] License"), in which case the
provisions of [______] License are applicable instead of those
above. If you wish to allow use of your version of this file only
under the terms of the [____] License and not to allow others to use
your version of this file under the MPL, indicate your decision by
deleting the provisions above and replace them with the notice and
other provisions required by the [___] License. If you do not delete
the provisions above, a recipient may use your version of this file
under either the MPL or the [___] License."
[NOTE: The text of this Exhibit A may differ slightly from the text of
the notices in the Source Code files of the Original Code. You should
use the text of this Exhibit A rather than the text found in the
Original Code Source Code for Your Modifications.]
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (c) 2010, Ajax.org B.V.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Ajax.org B.V. nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -1,4 +1,6 @@
build:
.PHONY : doc build clean dist
pre_build:
git rev-parse HEAD > .git-ref
mkdir -p build/src
mkdir -p build/demo/kitchen-sink
@ -6,9 +8,27 @@ build:
cp -r demo/kitchen-sink/styles.css build/demo/kitchen-sink/styles.css
cp demo/kitchen-sink/logo.png build/demo/kitchen-sink/logo.png
cp -r doc/site/images build/textarea
build: pre_build
./Makefile.dryice.js normal
./Makefile.dryice.js bm
./Makefile.dryice.js demo
# Minimal build: call Makefile.dryice.js only if our sources changed
basic: build/src/ace.js
build/src/ace.js : ${wildcard lib/*} \
${wildcard lib/*/*} \
${wildcard lib/*/*/*} \
${wildcard lib/*/*/*/*} \
${wildcard lib/*/*/*/*/*} \
${wildcard lib/*/*/*/*/*/*}
./Makefile.dryice.js
doc:
cd doc;\
(test -d node_modules && npm update) || npm install;\
node build.js
clean:
rm -rf build

View file

@ -1,385 +1,571 @@
#!/usr/bin/env node
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
* Distributed under the BSD license:
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of Ajax.org B.V. nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* The Original Code is Ajax.org Code Editor (ACE).
*
* The Initial Developer of the Original Code is
* Ajax.org B.V.
* Portions created by the Initial Developer are Copyright (C) 2010
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Fabian Jakobs <fabian AT ajax DOT org>
* Julian Viereck <julian.viereck@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* ***** END LICENSE BLOCK ***** */
var fs = require("fs");
var path = require("path");
var copy = require('architect-build/copy');
var build = require('architect-build/build');
var args = process.argv;
var target = null;
var targetDir = null;
if (args.length == 3) {
target = args[2];
// Check if 'target' contains some allowed value.
if (target != "normal" && target != "bm") {
target = null;
var ACE_HOME = __dirname;
var BUILD_DIR = ACE_HOME + "/build";
var CACHE = {};
function main(args) {
if (args.indexOf("updateModes") !== -1) {
return updateModes();
}
}
var type = "minimal";
args = args.map(function(x) {
if (x[0] == "-" && x[1] != "-")
return "-" + x;
return x;
}).filter(Boolean);
try {
var version = JSON.parse(fs.readFileSync(__dirname + "/package.json")).version;
var ref = fs.readFileSync(__dirname + "/.git-ref").toString();
} catch(e) {
ref = "";
version = "";
}
if (args[2] && (args[2][0] != "-" || args[2].indexOf("h") != -1))
type = args[2];
if (!target) {
console.log("--- Ace Dryice Build Tool ---");
console.log("");
console.log("Options:");
console.log(" normal Runs embedded build of Ace");
console.log(" bm Runs bookmarklet build of Ace");
process.exit(0);
} else {
if (target == "normal") {
targetDir = "build";
} else {
targetDir = "build/textarea";
function shadow(input) {
if (typeof input !== 'string') {
input = input.toString();
}
var i = args.indexOf("--target");
if (i != -1 && args[i+1])
BUILD_DIR = args[i+1];
return input.replace(/define\(/g, "__ace_shadowed__.define(");
if (args.indexOf("--h") == -1) {
if (type == "minimal") {
buildAce({
compress: args.indexOf("--m") != -1,
noconflict: args.indexOf("--nc") != -1,
shrinkwrap: args.indexOf("--s") != -1
});
} else if (type == "normal") {
ace();
} else if (type == "demo") {
demo();
} else if (type == "full") {
ace();
demo();
} else if (type == "highlighter") {
// TODO
}
}
}
console.log("using targetDir '", targetDir, "'");
function showHelp(type) {
console.log("--- Ace Dryice Build Tool ---");
console.log("");
console.log("Options:");
console.log(" minimal Places necessary Ace files out in build dir; uses configuration flags below [default]");
console.log(" normal Runs four Ace builds--minimal, minimal-noconflict, minimal-min, and minimal-noconflict-min");
console.log(" demo Runs demo build of Ace");
console.log(" full all of above");
console.log(" highlighter ");
console.log("args:");
console.log(" --target ./path path to build folder");
console.log("flags:");
console.log(" --h print this help");
console.log(" --m minify");
console.log(" --nc namespace require");
console.log(" --s shrinkwrap (combines all output files into one)");
console.log("");
if (type)
console.log(" output for " + type + " generated in " + BUILD_DIR);
}
var copy = require('./support/dryice/lib/dryice').copy;
function ace() {
console.log('# ace License | Readme | Changelog ---------');
var aceHome = __dirname;
console.log('# ace ---------');
var aceProject = [
aceHome + '/support/pilot/lib',
aceHome + '/lib',
aceHome
];
if (target == "normal") {
//aceProject.push(aceHome + '/demo');
copy({
source: "build_support/editor.html",
dest: targetDir + '/editor.html'
});
copy.file(ACE_HOME + "/build_support/editor.html", BUILD_DIR + "/editor.html");
copy.file(ACE_HOME + "/LICENSE", BUILD_DIR + "/LICENSE");
copy.file(ACE_HOME + "/ChangeLog.txt", BUILD_DIR + "/ChangeLog.txt");
demo();
} else if(target == "bm") {
copy({
source: "build_support/editor_textarea.html",
dest: targetDir + '/editor.html'
});
copy({
source: "build_support/style.css",
dest: targetDir + '/style.css'
});
console.log('# ace ---------');
for (var i = 0; i < 4; i++)
buildAce({compress: i & 2, noconflict: i & 1});
}
var project = copy.createCommonJsProject(aceProject);
function filterTextPlugin(text) {
return text.replace(/(['"])ace\/requirejs\/text\!/g, "$1text!");
}
var ace = copy.createDataObject();
copy({
source: [
target == "normal"
? 'build_support/mini_require.js'
: 'build_support/mini_require_textarea.js'
],
dest: ace
});
copy({
source: [
copy.source.commonjs({
project: project,
require: [
"pilot/fixoldbrowsers",
"ace/ace"
]
})
],
filter: [ copy.filter.moduleDefines ],
dest: ace
});
copy({
source: {
root: project,
include: /.*\.css$/,
exclude: /tests?\//
},
filter: [ copy.filter.addDefines ],
dest: ace
});
copy({
source: [
target == "normal"
? 'build_support/boot.js'
: 'build_support/boot_textarea.js'
],
dest: ace
});
if (target == "normal") {
// Create the compressed and uncompressed output files
copy({
source: ace,
filter: [copy.filter.uglifyjs, filterTextPlugin],
dest: targetDir + '/src/ace.js'
});
copy({
source: ace,
filter: [filterTextPlugin],
dest: targetDir + '/src/ace-uncompressed.js'
});
} else if (target == "bm") {
copy({
source: ace,
filter: [
shadow,
copy.filter.uglifyjs
],
dest: targetDir + '/src/ace.js'
});
copy({
source: ace,
filter: [
filterTextPlugin,
shadow
],
dest: targetDir + '/src/ace-uncompressed.js'
});
}
var modeThemeFilters;
if (target == "normal") {
modeThemeFilters = [
copy.filter.moduleDefines,
copy.filter.uglifyjs,
filterTextPlugin
];
} else if (target == "bm") {
modeThemeFilters = [
copy.filter.moduleDefines,
shadow,
copy.filter.uglifyjs
];
}
console.log('# ace modes ---------');
project.assumeAllFilesLoaded();
[
"css", "html", "javascript", "php", "coldfusion", "python", "lua", "xml", "ruby", "java", "c_cpp",
"coffee", "perl", "csharp", "svg", "clojure", "scss", "json", "groovy",
"ocaml", "scala", "textile", "scad", "markdown", "latex", "powershell", "sql"
].forEach(function(mode) {
console.log("mode " + mode);
copy({
source: [
copy.source.commonjs({
project: project.clone(),
require: [ 'ace/mode/' + mode ]
})
],
filter: modeThemeFilters,
dest: targetDir + "/src/mode-" + mode + ".js"
});
});
console.log('# ace themes ---------');
[
"clouds", "clouds_midnight", "cobalt", "crimson_editor", "dawn", "eclipse",
"idle_fingers", "kr_theme", "merbivore", "merbivore_soft",
"mono_industrial", "monokai", "pastel_on_dark", "solarized_dark",
"solarized_light", "textmate", "tomorrow", "tomorrow_night",
"tomorrow_night_blue", "tomorrow_night_bright", "tomorrow_night_eighties",
"twilight", "vibrant_ink"
].forEach(function(theme) {
copy({
source: [{
root: aceHome + '/lib',
include: "ace/theme/" + theme + ".js"
}],
filter: modeThemeFilters,
dest: targetDir + "/src/theme-" + theme + ".js"
});
});
console.log('# ace License | Readme | Changelog ---------');
copy({
source: aceHome + "/LICENSE",
dest: targetDir + '/LICENSE'
});
copy({
source: aceHome + "/Readme.md",
dest: targetDir + '/Readme.md'
});
copy({
source: aceHome + "/ChangeLog.txt",
dest: targetDir + '/ChangeLog.txt'
});
// For the bookmarklet build, we are done.
if (target == "bm") {
process.exit(0);
}
console.log('# ace worker ---------');
["javascript", "coffee", "css"].forEach(function(mode) {
console.log("worker for " + mode + " mode");
var worker = copy.createDataObject();
var workerProject = copy.createCommonJsProject([
aceHome + '/support/pilot/lib',
aceHome + '/lib'
]);
copy({
source: [
copy.source.commonjs({
project: workerProject,
require: [
'pilot/fixoldbrowsers',
'pilot/event_emitter',
'pilot/oop',
'ace/mode/' + mode + '_worker'
]
})
],
filter: [ copy.filter.moduleDefines],
dest: worker
});
copy({
source: [
aceHome + "/lib/ace/worker/worker.js",
worker
],
filter: [ copy.filter.uglifyjs, filterTextPlugin ],
dest: "build/src/worker-" + mode + ".js"
});
});
console.log('# ace key bindings ---------');
// copy key bindings
project.assumeAllFilesLoaded();
["vim", "emacs"].forEach(function(keybinding) {
copy({
source: [
copy.source.commonjs({
project: project.clone(),
require: [ 'ace/keyboard/keybinding/' + keybinding ]
})
],
filter: [ copy.filter.moduleDefines, copy.filter.uglifyjs, filterTextPlugin ],
dest: "build/src/keybinding-" + keybinding + ".js"
});
});
function demo() {
console.log('# kitchen sink ---------');
copy({
source: "kitchen-sink.html",
dest: "build/kitchen-sink.html",
filter: [ function(data) {
return (data
.replace("DEVEL-->", "")
.replace("<!--DEVEL", "")
.replace("PACKAGE-->", "")
.replace("<!--PACKAGE", "")
.replace("%version%", version)
.replace("%commit%", ref)
);
}]
});
var version = "", ref = "";
try {
version = JSON.parse(fs.readFileSync(ACE_HOME + "/package.json")).version;
ref = fs.readFileSync(ACE_HOME + "/.git-ref").toString();
} catch(e) {}
var project = copy.createCommonJsProject(aceProject);
var demo = copy.createDataObject();
copy({
source: [
'build_support/mini_require.js'
],
dest: demo
});
copy({
source: [
copy.source.commonjs({
project: project,
require: [ "pilot/index", "ace/defaults", "demo/kitchen-sink/boot" ]
})
],
filter: [ copy.filter.moduleDefines ],
dest: demo
});
copy({
source: {
root: project,
include: /demo\/kitchen-sink\/docs\/.*$/,
},
filter: [ copy.filter.addDefines ],
dest: demo
});
copy({
source: {
root: project,
include: /ace\/.*\.css$/,
},
filter: [ copy.filter.addDefines ],
dest: demo
});
function changeComments(data) {
return (data
.replace("doc/site/images/ace-logo.png", "demo/kitchen-sink/ace-logo.png")
.replace(/<!\-\-DEVEL[\d\D]*?DEVEL\-\->/g, "")
.replace(/PACKAGE\-\->|<!\-\-PACKAGE/g, "")
.replace(/\/\*DEVEL[\d\D]*?DEVEL\*\//g, "")
.replace(/PACKAGE\*\/|\/\*PACKAGE/g, "")
.replace("%version%", version)
.replace("%commit%", ref)
);
}
copy(ACE_HOME +"/demo/kitchen-sink/docs/", BUILD_DIR + "/demo/kitchen-sink/docs/");
copy.file(ACE_HOME + "/demo/kitchen-sink/logo.png", BUILD_DIR + "/demo/kitchen-sink/logo.png");
copy.file(ACE_HOME + "/demo/kitchen-sink/styles.css", BUILD_DIR + "/demo/kitchen-sink/styles.css");
copy.file(ACE_HOME + "/kitchen-sink.html", BUILD_DIR + "/kitchen-sink.html", changeComments);
copy({
source: demo,
filter: [ filterTextPlugin ],
dest: 'build/demo/kitchen-sink/kitchen-sink-uncompressed.js'
});
copy({
source: demo,
filter: [ copy.filter.uglifyjs, filterTextPlugin ],
dest: 'build/demo/kitchen-sink/kitchen-sink.js'
buildSubmodule({}, {
require: ["kitchen-sink/demo"],
projectType: "demo"
}, BUILD_DIR + "/demo/kitchen-sink/demo");
copy(ACE_HOME + "/demo/", BUILD_DIR + "/demo/", {
shallow: true,
exclude: /\s|requirejs/,
include: /\.(js|html)$/,
replace: function(source) {
if (!/^\s*</.test(source))
return source;
var removeRequireJS;
source = source.replace(/<script src="kitchen-sink\/require.js"[\s\S]+?require\(\[([^\]]+).*/, function(e, m) {
removeRequireJS = true;
var scripts = m.split(/,\s*/);
var result = [];
function comment(str) {result.push("<!-- " + str + " -->")}
function script(str) {result.push('<script src="../src/' + str + '.js"></script>')}
scripts.forEach(function(s) {
s = s.replace(/"/g, "");
if (s == "ace/ace") {
comment("load ace");
script("ace");
} else {
var extName = s.match(/[^/]*$/)[0];
comment("load ace " + extName + " extension");
script("ext-" + extName);
}
});
result.push("<script>");
return result.join("\n");
});
if (removeRequireJS)
source = source.replace(/\s*\}\);?\s*(<\/script>)/, "\n$1");
source = source.replace(/"\.\.\/build\//g, function(e) {
console.log(e); return '"../';
});
return source;
}
});
}
function jsFileList(path, filter) {
path = ACE_HOME + "/" + path;
if (!filter)
filter = /_test/;
return fs.readdirSync(path).map(function(x) {
if (x.slice(-3) == ".js" && !filter.test(x) && !/\s|BASE|(\b|_)dummy(\b|_)/.test(x))
return x.slice(0, -3);
}).filter(Boolean);
}
function workers(path) {
return jsFileList(path).map(function(x) {
if (x.slice(-7) == "_worker")
return x.slice(0, -7);
}).filter(function(x) { return !!x; });
}
function modeList() {
return jsFileList("lib/ace/mode", /_highlight_rules|_test|_worker|xml_util|_outdent|behaviour|completions/);
}
function buildAceModule(opts, callback) {
// calling buildAceModuleInternal many times in parallel is slow, so we use queue
if (!buildAceModule.queue) {
buildAceModule.queue = [];
buildAceModule.dequeue = function() {
if (buildAceModule.running) return;
var call = buildAceModule.queue.shift();
buildAceModule.running = call;
if (call)
buildAceModuleInternal.apply(null, call);
};
}
buildAceModule.queue.push([opts, function(err, result) {
callback && callback(err, result);
buildAceModule.running = null;
buildAceModule.dequeue();
}]);
if (!buildAceModule.running) {
buildAceModule.dequeue();
} else {
process.nextTick(buildAceModule.dequeue);
}
}
function buildAceModuleInternal(opts, callback) {
var cache = opts.cache == undefined ? CACHE : opts.cache;
var key = opts.require + "|" + opts.projectType;
if (cache && cache.configs && cache.configs[key])
return write(null, cache.configs[key]);
var pathConfig = {
paths: {
ace: ACE_HOME + "/lib/ace",
"kitchen-sink": ACE_HOME + "/demo/kitchen-sink",
build_support: ACE_HOME + "/build_support",
},
root: ACE_HOME
};
function write(err, result) {
if (cache && key && !(cache.configs && cache.configs[key])) {
cache.configs = cache.configs || Object.create(null);
cache.configs[key] = result;
result.sources = result.sources.map(function(pkg) {
return {deps: pkg.deps};
});
}
if (!opts.outputFile)
return callback(err, result);
var code = result.code;
if (opts.compress) {
if (!result.codeMin)
result.codeMin = compress(result.code);
code = result.codeMin;
}
var targetDir = BUILD_DIR + "/src";
if (opts.compress)
targetDir += "-min";
if (opts.noconflict)
targetDir += "-noconflict";
var to = /^([\\/]|\w:)/.test(opts.outputFile)
? opts.outputFile
: path.join(opts.outputFolder || targetDir, opts.outputFile);
var filters = [];
var ns = opts.ns || "ace";
if (opts.filters)
filters = filters.concat(opts.filters);
if (opts.noconflict)
filters.push(namespace(ns));
var projectType = opts.projectType;
if (projectType == "main" || projectType == "ext") {
filters.push(exportAce(ns, opts.require[0],
opts.noconflict ? ns : "", projectType == "ext"));
}
filters.forEach(function(f) { code = f(code); });
build.writeToFile({code: code}, {
outputFolder: path.dirname(to),
outputFile: path.basename(to),
}, function() {});
callback && callback(err, result);
}
build(opts.require, {
cache: cache,
quiet: opts.quiet,
pathConfig: pathConfig,
additional: opts.additional,
enableBrowser: true,
keepDepArrays: "all",
noArchitect: true,
compress: false,
ignore: opts.ignore || [],
withRequire: false,
basepath: ACE_HOME,
transforms: [normalizeLineEndings],
afterRead: [optimizeTextModules]
}, write);
}
function buildCore(options, extra, callback) {
options = extend(extra, options);
options.additional = [{
id: "build_support/mini_require",
order: -1000,
literal: true
}];
options.require =["ace/ace"];
options.projectType = "main";
options.ns = "ace";
buildAceModule(options, callback);
}
function buildSubmodule(options, extra, file, callback) {
options = extend(extra, options);
getLoadedFileList(options, function(coreFiles) {
options.outputFile = file + ".js";
options.ignore = options.ignore || coreFiles;
options.quiet = true;
buildAceModule(options, callback);
});
}
function buildAce(options) {
var snippetFiles = jsFileList("lib/ace/snippets");
var modeNames = modeList();
buildCore(options, {outputFile: "ace.js"}),
// modes
modeNames.forEach(function(name) {
buildSubmodule(options, {
projectType: "mode",
require: ["ace/mode/" + name]
}, "mode-" + name);
});
// snippets
modeNames.forEach(function(name) {
if (snippetFiles.indexOf(name + ".js") == -1)
addSnippetFile(name);
buildSubmodule(options, {
require: ["ace/snippets/" + name],
}, "snippets/" + name);
});
// themes
jsFileList("lib/ace/theme").forEach(function(name) {
buildSubmodule(options, {
projectType: "theme",
require: ["ace/theme/" + name]
}, "theme-" + name);
});
// keybindings
["vim", "emacs"].forEach(function(name) {
buildSubmodule(options, {
projectType: "keybinding",
require: ["ace/keyboard/" + name ]
}, "keybinding-" + name);
});
// extensions
jsFileList("lib/ace/ext").forEach(function(name) {
buildSubmodule(options, {
projectType: "ext",
require: ["ace/ext/" + name]
}, "ext-" + name);
});
// workers
workers("lib/ace/mode").forEach(function(name) {
buildSubmodule(options, {
projectType: "worker",
require: ["ace/mode/" + name + "_worker"],
ignore: [],
additional: [{
id: "ace/worker/worker",
transforms: [],
order: -1000
}],
}, "worker-" + name);
});
}
function getLoadedFileList(options, callback, result) {
if (!result) {
return buildCore({}, {}, function(e, result) {
getLoadedFileList(options, callback, result);
});
}
var deps = Object.create(null);
result.sources.forEach(function(pkg) {
pkg.deps && pkg.deps.forEach(function(p) {
if (!deps[p]) deps[p] = 1;
});
});
delete deps["ace/theme/textmate"];
callback(Object.keys(deps));
}
function normalizeLineEndings(module) {
module.source = module.source.replace(/\r\n/g, "\n");
}
function optimizeTextModules(sources) {
var textModules = {};
return sources.filter(function(pkg) {
if (!pkg.id) {
return true;
}
else if (pkg.id.indexOf("text!") > -1) {
detectTextModules(pkg);
return false;
}
else {
pkg.source = rewriteTextImports(pkg.source, pkg.deps);
return true;
}
}).map(function(pkg) {
if (pkg && pkg.deps) {
pkg.deps = pkg.deps && pkg.deps.filter(function(p) {
return p.indexOf("text!") == -1;
});
}
return pkg;
});
function rewriteTextImports(text, deps) {
return text.replace(/ require\(['"](?:ace|[.\/]+)\/requirejs\/text!(.*?)['"]\)/g, function(_, call) {
if (call) {
var dep;
deps.some(function(d) {
if (d.split("/").pop() == call.split("/").pop()) {
dep = d;
return true;
}
});
call = textModules[dep];
if (call)
return " " + call;
}
});
}
function detectTextModules(pkg) {
var input = pkg.source.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
if (/\.css$/.test(pkg.id)) {
// remove unnecessary whitespace from css
input = input.replace(/\n\s+/g, "\n");
input = '"' + input.replace(/\n/g, '\\\n') + '"';
} else {
// but don't break other files!
input = '"' + input.replace(/\n/g, '\\n\\\n') + '"';
}
textModules[pkg.id] = input;
}
}
function namespace(ns) {
return function(text) {
text = text
.toString()
.replace(/ACE_NAMESPACE\s*=\s*""/, 'ACE_NAMESPACE = "' + ns +'"')
.replace(/(\.define)|\bdefine\(/g, function(_, a) {
return a || ns + ".define(";
});
return text;
};
}
function exportAce(ns, modules, requireBase, extModules) {
requireBase = requireBase || "window";
return function(text) {
/*globals REQUIRE_NS, MODULES, NS*/
var template = function() {
(function() {
REQUIRE_NS.require(MODULES, function(a) {
a && a.config.init(true);
if (!window.NS)
window.NS = a;
for (var key in a) if (a.hasOwnProperty(key))
window.NS[key] = a[key];
});
})();
};
if (extModules) {
template = function() {
(function() {
REQUIRE_NS.require(MODULES, function() {});
})();
};
}
text = text.replace(/function init\(packaged\) {/, "init(true);$&\n");
if (typeof modules == "string")
modules = [modules];
return (text.replace(/;\s*$/, "") + ";" + template
.toString()
.replace(/MODULES/g, JSON.stringify(modules))
.replace(/REQUIRE_NS/g, requireBase)
.replace(/NS/g, ns)
.slice(13, -1)
);
};
}
function updateModes() {
modeList().forEach(function(m) {
var filepath = __dirname + "/lib/ace/mode/" + m + ".js";
var source = fs.readFileSync(filepath, "utf8");
if (!/this.\$id\s*=\s*"/.test(source))
source = source.replace(/\n([ \t]*)(\}\).call\(\w*Mode.prototype\))/, '\n$1 this.$id = "";\n$1$2');
source = source.replace(/(this.\$id\s*=\s*)"[^"]*"/, '$1"ace/mode/' + m + '"');
fs.writeFileSync(filepath, source, "utf8");
});
}
function generateThemesModule(themes) {
var themelist = [
'define(function(require, exports, module) {',
'\n\nmodule.exports.themes = ' + JSON.stringify(themes, null, ' '),
';\n\n});'
].join('');
fs.writeFileSync(__dirname + '/lib/ace/ext/themelist_utils/themes.js', themelist, 'utf8');
}
function addSnippetFile(modeName) {
var snippetFilePath = ACE_HOME + "/lib/ace/snippets/" + modeName;
if (!fs.existsSync(snippetFilePath + ".js")) {
copy.file(ACE_HOME + "/tool/templates/snippets.js", snippetFilePath + ".js", function(t) {
return t.replace(/%modeName%/g, modeName);
});
}
if (!fs.existsSync(snippetFilePath + ".snippets")) {
fs.writeFileSync(snippetFilePath + ".snippets", "");
}
}
function compress(text) {
var ujs = require("dryice").copy.filter.uglifyjs;
ujs.options.mangle_toplevel = {except: ["ACE_NAMESPACE", "requirejs"]};
ujs.options.beautify = {ascii_only: true, inline_script: true}
return ujs(text);
}
function extend(base, extra) {
Object.keys(extra).forEach(function(k) {
base[k] = extra[k];
});
return base;
}
if (!module.parent)
main(process.argv);
else
exports.buildAce = buildAce;

114
Readme.md
View file

@ -1,53 +1,42 @@
Ace (Ajax.org Cloud9 Editor)
============================
Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application. Ace is developed as the primary editor for [Cloud9 IDE](http://www.cloud9ide.com/) and the successor of the Mozilla Skywriter (Bespin) Project.
_Note_: The new site at http://ace.c9.io contains all the info below along with an embedding guide and all the other resources you need to get started with Ace.
Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application. Ace is developed as the primary editor for [Cloud9 IDE](https://c9.io/) and the successor of the Mozilla Skywriter (Bespin) Project.
Features
--------
* Syntax highlighting
* Syntax highlighting for over 110 languages (TextMate/Sublime/_.tmlanguage_ files can be imported)
* Over 20 themes (TextMate/Sublime/_.tmtheme_ files can be imported)
* Automatic indent and outdent
* An optional command line
* Handles huge documents (100,000 lines and more are no problem)
* Fully customizable key bindings including VI and Emacs modes
* Themes (TextMate themes can be imported)
* Handles huge documents (at last check, 4,000,000 lines is the upper limit)
* Fully customizable key bindings including vim and Emacs modes
* Search and replace with regular expressions
* Highlight matching parentheses
* Toggle between soft tabs and real tabs
* Displays hidden characters
* Drag and drop text using the mouse
* Line wrapping
* Unstructured / user code folding
* Live syntax checker (currently JavaScript/CoffeeScript)
* Code folding
* Multiple cursors and selections
* Live syntax checker (currently JavaScript/CoffeeScript/CSS/XQuery)
* Cut, copy, and paste functionality
Take Ace for a spin!
--------------------
Check out the Ace live [demo](http://ajaxorg.github.com/ace/) or get a [Cloud9 IDE account](http://run.cloud9ide.com) to experience Ace while editing one of your own GitHub projects.
Check out the Ace live [demo](http://ace.c9.io/build/kitchen-sink.html) or get a [Cloud9 IDE account](https://c9.io/) to experience Ace while editing one of your own GitHub projects.
If you want, you can use Ace as a textarea replacement thanks to the [Ace Bookmarklet](http://ajaxorg.github.com/ace/build/textarea/editor.html).
History
-------
Previously known as “Bespin” and “Skywriter” its now known as Ace (Ajax.org Cloud9 Editor)! Bespin and Ace started as two independent projects, both aiming to build a no-compromise code editor component for the web. Bespin started as part of Mozilla Labs and was based on the canvas tag, while Ace is the Editor component of the Cloud9 IDE and is using the DOM for rendering. After the release of Ace at JSConf.eu 2010 in Berlin the Skywriter team decided to merge Ace with a simplified version of Skywriter's plugin system and some of Skywriter's extensibility points. All these changes have been merged back to Ace. Both Ajax.org and Mozilla are actively developing and maintaining Ace.
Getting the code
----------------
Ace is a community project. We actively encourage and support contributions. The Ace source code is hosted on GitHub. It is released under the Mozilla tri-license (MPL/GPL/LGPL), the same license used by Firefox. This license is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings!
```bash
git clone git://github.com/ajaxorg/ace.git
cd ace
git submodule update --init --recursive
```
If you want, you can use Ace as a textarea replacement thanks to the [Ace Bookmarklet](http://ajaxorg.github.io/ace/build/demo/bookmarklet/index.html).
Embedding Ace
-------------
Ace can be easily embedded into any existing web page. The Ace git repository ships with a pre-packaged version of Ace inside of the `build` directory. The same packaged files are also available as a separate [download](https://github.com/ajaxorg/ace/downloads). Simply copy the contents of the `src` subdirectory somewhere into your project and take a look at the included demos of how to use Ace.
Ace can be easily embedded into any existing web page. You can either use one of pre-packaged versions of [ace](https://github.com/ajaxorg/ace-builds/) (just copy one of `src*` subdirectories somewhere into your project), or use requireJS to load contents of [lib/ace](https://github.com/ajaxorg/ace/tree/master/lib/ace) as `ace`
The easiest version is simply:
@ -55,9 +44,7 @@ The easiest version is simply:
<div id="editor">some text</div>
<script src="src/ace.js" type="text/javascript" charset="utf-8"></script>
<script>
window.onload = function() {
var editor = ace.edit("editor");
};
</script>
```
@ -89,26 +76,28 @@ By default the editor only supports plain text mode; many other languages are av
<script src="src/mode-javascript.js" type="text/javascript" charset="utf-8"></script>
```
Then the mode can be used like this:
The mode can then be used like this:
```javascript
var JavaScriptMode = require("ace/mode/javascript").Mode;
var JavaScriptMode = ace.require("ace/mode/javascript").Mode;
editor.getSession().setMode(new JavaScriptMode());
```
Documentation
-------------
You find a lot more sample code in the [demo app](https://github.com/ajaxorg/ace/blob/master/demo/demo.js).
Additional usage information, including events to listen to and extending syntax highlighters, can be found [on the main Ace website](http://ace.c9.io).
There is also some documentation on the [wiki page](https://github.com/ajaxorg/ace/wiki).
You can also find API documentation at [http://ace.c9.io/#nav=api](http://ace.c9.io/#nav=api).
If you still need help, feel free to drop a mail on the [ace mailing list](http://groups.google.com/group/ace-discuss).
Also check out the sample code for the kitchen sink [demo app](https://github.com/ajaxorg/ace/blob/master/demo/kitchen-sink/demo.js).
If you still need help, feel free to drop a mail on the [ace mailing list](http://groups.google.com/group/ace-discuss), or at `irc.freenode.net#ace`.
Running Ace
-----------
After the checkout Ace works out of the box. No build step is required. Open 'editor.html' in any browser except Google Chrome. Google Chrome doesn't allow XMLHTTPRequests from files loaded from disc (i.e. with a file:/// URL). To open Ace in Chrome simply start the bundled mini HTTP server:
After the checkout Ace works out of the box. No build step is required. To try it out, simply start the bundled mini HTTP server:
```bash
./static.py
@ -117,44 +106,41 @@ After the checkout Ace works out of the box. No build step is required. Open 'ed
Or using Node.JS
```bash
./static.js
npm install mime
node ./static.js
```
The editor can then be opened at http://localhost:8888/index.html.
The editor can then be opened at http://localhost:8888/kitchen-sink.html.
Package Ace
To open the editor with a file:/// URL see [the wiki](https://github.com/ajaxorg/ace/wiki/Running-Ace-from-file).
Building Ace
-----------
To package Ace we use the dryice build tool developed by the Mozilla Skywriter team. Before you can build you need to make sure that the submodules are up to date.
You do not generally need to build ACE. The [ace-builds repository](https://github.com/ajaxorg/ace-builds/) endeavours to maintain the latest build, and you can just copy one of _src*_ subdirectories somewhere into your project.
However, all you need is Node.js and npm installed to package ACE. Just run `npm install` in the ace folder to install dependencies:
```bash
git submodule update --init --recursive
npm install
node ./Makefile.dryice.js
```
Afterwards Ace can be built by calling
To package Ace, we use the dryice build tool developed by the Mozilla Skywriter team. Call `node Makefile.dryice.js` on the command-line to start the packing. This build script accepts the following options
```bash
./Makefile.dryice.js normal
-m minify build files with uglify-js
-nc namespace require and define calls with "ace"
-bm builds the bookmarklet version
--target ./path specify relative path for output folder (default value is "./build")
```
The packaged Ace will be put in the 'build' folder.
To build the bookmarklet version execute
```bash
./Makefile.dryice.js bm
```
To generate all the files in the ace-builds repository, run `node Makefile.dryice.js full --target ../ace-builds`
Running the Unit Tests
----------------------
The Ace unit tests run on node.js. Before the first run a couple of node modules have to be installed. The easiest way to do this is by using the node package manager (npm). In the Ace base directory simply call
```bash
npm link .
```
To run the tests call:
The Ace unit tests can run on node.js. Assuming you have already done `npm install`, just call:
```bash
node lib/ace/test/all.js
@ -167,20 +153,16 @@ You can also run the tests in your browser by serving:
This makes debugging failing tests way more easier.
Contributing
------------
-----------------------------
Ace wouldn't be what it is without contributions! Feel free to fork and improve/enhance Ace any way you want. If you feel that the editor or the Ace community will benefit from your changes, please open a pull request. To protect the interests of the Ace contributors and users we require contributors to sign a Contributors License Agreement (CLA) before we pull the changes into the main repository. Our CLA is the simplest of agreements, requiring that the contributions you make to an ajax.org project are only those you're allowed to make. This helps us significantly reduce future legal risk for everyone involved. It is easy, helps everyone, takes ten minutes, and only needs to be completed once. There are two versions of the agreement:
Ace is a community project and wouldn't be what it is without contributions! We actively encourage and support contributions. The Ace source code is released under the BSD License. This license is very simple, and is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings!
1. [The Individual CLA](https://github.com/ajaxorg/ace/raw/master/doc/Contributor_License_Agreement-v2.pdf): use this version if you're working on an ajax.org in your spare time, or can clearly claim ownership of copyright in what you'll be submitting.
2. [The Corporate CLA](https://github.com/ajaxorg/ace/raw/master/doc/Corporate_Contributor_License_Agreement-v2.pdf): have your corporate lawyer review and submit this if your company is going to be contributing to ajax.org projects
Feel free to fork and improve/enhance Ace any way you want. If you feel that the editor or the Ace community will benefit from your changes, please open a pull request. For more information on our contributing guidelines, see [CONTRIBUTING.md](https://github.com/ajaxorg/ace/blob/master/CONTRIBUTING.md).
If you want to contribute to an ajax.org project please print the CLA and fill it out and sign it. Then either send it by snail mail or fax to us or send it back scanned (or as a photo) by email.
Continuous Integration status
-----------------------------
Email: fabian.jakobs@web.de
This project is tested with [Travis CI](http://travis-ci.org)
[![Build Status](https://secure.travis-ci.org/ajaxorg/ace.png?branch=master)](http://travis-ci.org/ajaxorg/ace)
Fax: +31 (0) 206388953
Address: Ajax.org B.V.
Keizersgracht 241
1016 EA, Amsterdam
the Netherlands

149
api/ace.html Normal file
View file

@ -0,0 +1,149 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">Ace</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (3)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Ace.createEditSession" data-id="Ace.createEditSession" class="memberLink"><a href="#Ace.createEditSession" class="" title="Ace.createEditSession (class method)" data-id="Ace.createEditSession">createEditSession</a>
</li>
<li id="dropdown_Ace.edit" data-id="Ace.edit" class="memberLink"><a href="#Ace.edit" class="" title="Ace.edit (class method)" data-id="Ace.edit">edit</a>
</li>
<li id="dropdown_Ace.require" data-id="Ace.require" class="memberLink"><a href="#Ace.require" class="" title="Ace.require (class method)" data-id="Ace.require">require</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="Ace" data-title="Ace (class)" class="article">
<div class="section description">
<div class="memberContent"><p>The main class required to set up an Ace instance in the browser.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="Ace.createEditSession" data-title="Ace.createEditSession (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Ace.createEditSession" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Ace.createEditSession" class="member-name methodClicker"><span class="sigClassName">Ace.</span><span class="sigMemberName">createEditSession</span></span>(<span class="sigArgList"><a href="document.html" class="argument methodClicker" title="Document (class)" data-id="Document">Document</a> | <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text, <a href="https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/text.js" class="argument methodClicker" title="TextMode" data-id="TextMode">TextMode</a> mode</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Ace.createEditSession" class="ellipsis_description"><p>Creates a new <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a>, and returns the associated <a href="document.html" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a>.</p>
</div>
<div class="description"><p>Creates a new <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a>, and returns the associated <a href="document.html" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="document.html" class="" title="Document (class)" data-id="Document">Document</a> | <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. If <code>text</code> is a <code>Document</code>, it associates the <code>EditSession</code> with it. Otherwise, a new <code>Document</code> is created, with the initial text</p>
</td></tr><tr class="argumentRow "><td class="argName ">mode</td><td class="argType" "><a href="https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/text.js" class="" title="TextMode" data-id="TextMode">TextMode</a></td><td class="argDescription "><p>Required. The inital language mode to use for the document</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Ace.edit" data-title="Ace.edit (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Ace.edit" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Ace.edit" class="member-name methodClicker"><span class="sigClassName">Ace.</span><span class="sigMemberName">edit</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> | <a href="https://developer.mozilla.org/en/DOM/element" class="argument methodClicker" title="DOMElement" data-id="DOMElement">DOMElement</a> el</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Ace.edit" class="ellipsis_description"><p>Embeds the Ace editor into the DOM, at the element provided by <code>el</code>.</p>
</div>
<div class="description"><p>Embeds the Ace editor into the DOM, at the element provided by <code>el</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">el</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a> | <a href="https://developer.mozilla.org/en/DOM/element" class="" title="DOMElement" data-id="DOMElement">DOMElement</a></td><td class="argDescription "><p>Required. Either the id of an element, or the element itself</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Ace.require" data-title="Ace.require (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Ace.require" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Ace.require" class="member-name methodClicker"><span class="sigClassName">Ace.</span><span class="sigMemberName">require</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> moduleName</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Ace.require" class="ellipsis_description"><p>Provides access to require in packed noconflict mode</p>
</div>
<div class="description"><p>Provides access to require in packed noconflict mode</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">moduleName</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. </p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

272
api/anchor.html Normal file
View file

@ -0,0 +1,272 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">Anchor</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Events (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Anchor.event.change" data-id="Anchor.event.change" class="memberLink"><a href="#Anchor.event.change" class="" title="Anchor.event.change (event)" data-id="Anchor.event.change">change</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Anchor.new" data-id="Anchor.new" class="memberLink"><a href="#Anchor.new" class="" title="Anchor.new (constructor)" data-id="Anchor.new">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (6)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Anchor.detach" data-id="Anchor.detach" class="memberLink"><a href="#Anchor.detach" class="" title="Anchor.detach (class method)" data-id="Anchor.detach">detach</a>
</li>
<li id="dropdown_Anchor.getDocument" data-id="Anchor.getDocument" class="memberLink"><a href="#Anchor.getDocument" class="" title="Anchor.getDocument (class method)" data-id="Anchor.getDocument">getDocument</a>
</li>
<li id="dropdown_Anchor.getPosition" data-id="Anchor.getPosition" class="memberLink"><a href="#Anchor.getPosition" class="" title="Anchor.getPosition (class method)" data-id="Anchor.getPosition">getPosition</a>
</li>
<li id="dropdown_Anchor.onChange" data-id="Anchor.onChange" class="memberLink"><a href="#Anchor.onChange" class="" title="Anchor.onChange (class method)" data-id="Anchor.onChange">onChange</a>
</li>
<li id="dropdown_Anchor.setPosition" data-id="Anchor.setPosition" class="memberLink"><a href="#Anchor.setPosition" class="" title="Anchor.setPosition (class method)" data-id="Anchor.setPosition">setPosition</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="Anchor" data-title="Anchor (class)" class="article">
<div class="section description">
<div class="memberContent"><p>Defines the floating pointer in the document. Whenever text is inserted or deleted before the cursor, the position of the cursor is updated.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="Anchor.new" data-title="Anchor.new (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Anchor.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Anchor.new" class="member-name methodClicker">Anchor</span>(<span class="sigArgList"><a href="document.html" class="argument methodClicker" title="Document (class)" data-id="Document">Document</a> doc, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Anchor.new" class="ellipsis_description"><p>Creates a new <code>Anchor</code> and associates it with a document.</p>
</div>
<div class="description"><p>Creates a new <code>Anchor</code> and associates it with a document.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">doc</td><td class="argType" "><a href="document.html" class="" title="Document (class)" data-id="Document">Document</a></td><td class="argDescription "><p>Required. The document to associate with the anchor</p>
</td></tr><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting row position</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting column position</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Events</h3>
<article id="Anchor.event.change" data-title="Anchor.event.change (event)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Anchor.event.change" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="eventObjName">Anchor</span><span class="eventListenerStart">.on("</span><span id="Anchor.event.change" class="member-name eventMember methodClicker">change</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> e<span class="eventFunctionClose">))</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Anchor.event.change" class="ellipsis_description"><p>Fires whenever the anchor position changes.</p>
</div>
<div class="description"><p>Fires whenever the anchor position changes.</p>
<p>Both of these objects have a <code>row</code> and <code>column</code> property corresponding to the position.</p>
<p>Events that can trigger this function include <a href="#Anchor.setPosition" class="link-short" title="Anchor.setPosition (class method)" data-id="Anchor.setPosition"><code>setPosition()</code></a>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">e</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. An object containing information about the anchor position. It has two properties: </p>
<ul>
<li><code>old</code>: An object describing the old Anchor position</li>
<li><code>value</code>: An object describing the new Anchor position</li>
</ul>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="Anchor.detach" data-title="Anchor.detach (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Anchor.detach" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Anchor.detach" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">detach</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Anchor.detach" class="ellipsis_description"><p>When called, the <code>&#39;change&#39;</code> event listener is removed.</p>
</div>
<div class="description"><p>When called, the <code>&#39;change&#39;</code> event listener is removed.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Anchor.getDocument" data-title="Anchor.getDocument (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Anchor.getDocument" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Anchor.getDocument" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">getDocument</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="document.html" class="returnType " title="Document (class)" data-id="Document">Document</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Anchor.getDocument" class="ellipsis_description"><p>Returns the current document.</p>
</div>
<div class="description"><p>Returns the current document.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Anchor.getPosition" data-title="Anchor.getPosition (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Anchor.getPosition" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Anchor.getPosition" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">getPosition</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Anchor.getPosition" class="ellipsis_description"><p>Returns an object identifying the <code>row</code> and <code>column</code> position of the current anchor.</p>
</div>
<div class="description"><p>Returns an object identifying the <code>row</code> and <code>column</code> position of the current anchor.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Anchor.onChange" data-title="Anchor.onChange (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Anchor.onChange" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Anchor.onChange" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">onChange</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Anchor.onChange" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="Anchor.setPosition" data-title="Anchor.setPosition (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Anchor.setPosition" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Anchor.setPosition" class="member-name methodClicker"><span class="sigClassName">Anchor.</span><span class="sigMemberName">setPosition</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> noClip</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Anchor.setPosition" class="ellipsis_description"><p>Sets the anchor position to the specified row and column. If <code>noClip</code> is <code>true</code>, the position is not clipped.</p>
</div>
<div class="description"><p>Sets the anchor position to the specified row and column. If <code>noClip</code> is <code>true</code>, the position is not clipped.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row index to move the anchor to</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column index to move the anchor to</p>
</td></tr><tr class="argumentRow "><td class="argName ">noClip</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. Identifies if you want the position to be clipped</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

View file

@ -0,0 +1,320 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">BackgroundTokenizer</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Events (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_BackgroundTokenizer.event.update" data-id="BackgroundTokenizer.event.update" class="memberLink"><a href="#BackgroundTokenizer.event.update" class="" title="BackgroundTokenizer.event.update (event)" data-id="BackgroundTokenizer.event.update">update</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_BackgroundTokenizer.new" data-id="BackgroundTokenizer.new" class="memberLink"><a href="#BackgroundTokenizer.new" class="" title="BackgroundTokenizer.new (constructor)" data-id="BackgroundTokenizer.new">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (7)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_BackgroundTokenizer.fireUpdateEvent" data-id="BackgroundTokenizer.fireUpdateEvent" class="memberLink"><a href="#BackgroundTokenizer.fireUpdateEvent" class="" title="BackgroundTokenizer.fireUpdateEvent (class method)" data-id="BackgroundTokenizer.fireUpdateEvent">fireUpdateEvent</a>
</li>
<li id="dropdown_BackgroundTokenizer.getState" data-id="BackgroundTokenizer.getState" class="memberLink"><a href="#BackgroundTokenizer.getState" class="" title="BackgroundTokenizer.getState (class method)" data-id="BackgroundTokenizer.getState">getState</a>
</li>
<li id="dropdown_BackgroundTokenizer.getTokens" data-id="BackgroundTokenizer.getTokens" class="memberLink"><a href="#BackgroundTokenizer.getTokens" class="" title="BackgroundTokenizer.getTokens (class method)" data-id="BackgroundTokenizer.getTokens">getTokens</a>
</li>
<li id="dropdown_BackgroundTokenizer.setDocument" data-id="BackgroundTokenizer.setDocument" class="memberLink"><a href="#BackgroundTokenizer.setDocument" class="" title="BackgroundTokenizer.setDocument (class method)" data-id="BackgroundTokenizer.setDocument">setDocument</a>
</li>
<li id="dropdown_BackgroundTokenizer.setTokenizer" data-id="BackgroundTokenizer.setTokenizer" class="memberLink"><a href="#BackgroundTokenizer.setTokenizer" class="" title="BackgroundTokenizer.setTokenizer (class method)" data-id="BackgroundTokenizer.setTokenizer">setTokenizer</a>
</li>
<li id="dropdown_BackgroundTokenizer.start" data-id="BackgroundTokenizer.start" class="memberLink"><a href="#BackgroundTokenizer.start" class="" title="BackgroundTokenizer.start (class method)" data-id="BackgroundTokenizer.start">start</a>
</li>
<li id="dropdown_BackgroundTokenizer.stop" data-id="BackgroundTokenizer.stop" class="memberLink"><a href="#BackgroundTokenizer.stop" class="" title="BackgroundTokenizer.stop (class method)" data-id="BackgroundTokenizer.stop">stop</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="BackgroundTokenizer" data-title="BackgroundTokenizer (class)" class="article">
<div class="section description">
<div class="memberContent"><p>Tokenizes the current <a href="document.html" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a> in the background, and caches the tokenized rows for future use. </p>
<p>If a certain row is changed, everything below that row is re-tokenized.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="BackgroundTokenizer.new" data-title="BackgroundTokenizer.new (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="BackgroundTokenizer.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="BackgroundTokenizer.new" class="member-name methodClicker">BackgroundTokenizer</span>(<span class="sigArgList"><a href="tokenizer.html" class="argument methodClicker" title="Tokenizer (class)" data-id="Tokenizer">Tokenizer</a> tokenizer, <a href="editor.html" class="argument methodClicker" title="Editor (class)" data-id="Editor">Editor</a> editor</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_BackgroundTokenizer.new" class="ellipsis_description"><p>Creates a new <code>BackgroundTokenizer</code> object.</p>
</div>
<div class="description"><p>Creates a new <code>BackgroundTokenizer</code> object.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">tokenizer</td><td class="argType" "><a href="tokenizer.html" class="" title="Tokenizer (class)" data-id="Tokenizer">Tokenizer</a></td><td class="argDescription "><p>Required. The tokenizer to use</p>
</td></tr><tr class="argumentRow "><td class="argName ">editor</td><td class="argType" "><a href="editor.html" class="" title="Editor (class)" data-id="Editor">Editor</a></td><td class="argDescription "><p>Required. The editor to associate with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Events</h3>
<article id="BackgroundTokenizer.event.update" data-title="BackgroundTokenizer.event.update (event)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="BackgroundTokenizer.event.update" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="eventObjName">BackgroundTokenizer</span><span class="eventListenerStart">.on("</span><span id="BackgroundTokenizer.event.update" class="member-name eventMember methodClicker">update</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> e<span class="eventFunctionClose">))</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_BackgroundTokenizer.event.update" class="ellipsis_description"><p>Fires whenever the background tokeniziers between a range of rows are going to be updated.</p>
</div>
<div class="description"><p>Fires whenever the background tokeniziers between a range of rows are going to be updated.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">e</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. An object containing two properties, <code>first</code> and <code>last</code>, which indicate the rows of the region being updated.</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="BackgroundTokenizer.fireUpdateEvent" data-title="BackgroundTokenizer.fireUpdateEvent (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="BackgroundTokenizer.fireUpdateEvent" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="BackgroundTokenizer.fireUpdateEvent" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">fireUpdateEvent</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_BackgroundTokenizer.fireUpdateEvent" class="ellipsis_description"><p>Emits the <code>&#39;update&#39;</code> event. <code>firstRow</code> and <code>lastRow</code> are used to define the boundaries of the region to be updated.</p>
</div>
<div class="description"><p>Emits the <code>&#39;update&#39;</code> event. <code>firstRow</code> and <code>lastRow</code> are used to define the boundaries of the region to be updated.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting row region</p>
</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The final row region</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="BackgroundTokenizer.getState" data-title="BackgroundTokenizer.getState (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="BackgroundTokenizer.getState" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="BackgroundTokenizer.getState" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">getState</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_BackgroundTokenizer.getState" class="ellipsis_description"><p>Returns the state of tokenization at the end of a row.</p>
</div>
<div class="description"><p>Returns the state of tokenization at the end of a row.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to get state at</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="BackgroundTokenizer.getTokens" data-title="BackgroundTokenizer.getTokens (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="BackgroundTokenizer.getTokens" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="BackgroundTokenizer.getTokens" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">getTokens</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_BackgroundTokenizer.getTokens" class="ellipsis_description"><p>Gives list of tokens of the row. (tokens are cached)</p>
</div>
<div class="description"><p>Gives list of tokens of the row. (tokens are cached)</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to get tokens at</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="BackgroundTokenizer.setDocument" data-title="BackgroundTokenizer.setDocument (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="BackgroundTokenizer.setDocument" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="BackgroundTokenizer.setDocument" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">setDocument</span></span>(<span class="sigArgList"><a href="document.html" class="argument methodClicker" title="Document (class)" data-id="Document">Document</a> doc</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_BackgroundTokenizer.setDocument" class="ellipsis_description"><p>Sets a new document to associate with this object.</p>
</div>
<div class="description"><p>Sets a new document to associate with this object.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">doc</td><td class="argType" "><a href="document.html" class="" title="Document (class)" data-id="Document">Document</a></td><td class="argDescription "><p>Required. The new document to associate with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="BackgroundTokenizer.setTokenizer" data-title="BackgroundTokenizer.setTokenizer (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="BackgroundTokenizer.setTokenizer" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="BackgroundTokenizer.setTokenizer" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">setTokenizer</span></span>(<span class="sigArgList"><a href="tokenizer.html" class="argument methodClicker" title="Tokenizer (class)" data-id="Tokenizer">Tokenizer</a> tokenizer</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_BackgroundTokenizer.setTokenizer" class="ellipsis_description"><p>Sets a new tokenizer for this object.</p>
</div>
<div class="description"><p>Sets a new tokenizer for this object.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">tokenizer</td><td class="argType" "><a href="tokenizer.html" class="" title="Tokenizer (class)" data-id="Tokenizer">Tokenizer</a></td><td class="argDescription "><p>Required. The new tokenizer to use</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="BackgroundTokenizer.start" data-title="BackgroundTokenizer.start (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="BackgroundTokenizer.start" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="BackgroundTokenizer.start" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">start</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startRow</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_BackgroundTokenizer.start" class="ellipsis_description"><p>Starts tokenizing at the row indicated.</p>
</div>
<div class="description"><p>Starts tokenizing at the row indicated.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">startRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to start at</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="BackgroundTokenizer.stop" data-title="BackgroundTokenizer.stop (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="BackgroundTokenizer.stop" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="BackgroundTokenizer.stop" class="member-name methodClicker"><span class="sigClassName">BackgroundTokenizer.</span><span class="sigMemberName">stop</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_BackgroundTokenizer.stop" class="ellipsis_description"><p>Stops tokenizing.</p>
</div>
<div class="description"><p>Stops tokenizing.</p>
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

55
api/command_manager.html Normal file
View file

@ -0,0 +1,55 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">CommandManager</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="CommandManager" data-title="CommandManager (class)" class="article">
<div class="section description">
<div class="memberContent"><p>new CommandManager(platform, commands)</p>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

927
api/document.html Normal file
View file

@ -0,0 +1,927 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">Document</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Events (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Document.event.change" data-id="Document.event.change" class="memberLink"><a href="#Document.event.change" class="" title="Document.event.change (event)" data-id="Document.event.change">change</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Document.new" data-id="Document.new" class="memberLink"><a href="#Document.new" class="" title="Document.new (constructor)" data-id="Document.new">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (26)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Document.applyDeltas" data-id="Document.applyDeltas" class="memberLink"><a href="#Document.applyDeltas" class="" title="Document.applyDeltas (class method)" data-id="Document.applyDeltas">applyDeltas</a>
</li>
<li id="dropdown_Document.createAnchor" data-id="Document.createAnchor" class="memberLink"><a href="#Document.createAnchor" class="" title="Document.createAnchor (class method)" data-id="Document.createAnchor">createAnchor</a>
</li>
<li id="dropdown_Document.getAllLines" data-id="Document.getAllLines" class="memberLink"><a href="#Document.getAllLines" class="" title="Document.getAllLines (class method)" data-id="Document.getAllLines">getAllLines</a>
</li>
<li id="dropdown_Document.getLength" data-id="Document.getLength" class="memberLink"><a href="#Document.getLength" class="" title="Document.getLength (class method)" data-id="Document.getLength">getLength</a>
</li>
<li id="dropdown_Document.getLine" data-id="Document.getLine" class="memberLink"><a href="#Document.getLine" class="" title="Document.getLine (class method)" data-id="Document.getLine">getLine</a>
</li>
<li id="dropdown_Document.getLines" data-id="Document.getLines" class="memberLink"><a href="#Document.getLines" class="" title="Document.getLines (class method)" data-id="Document.getLines">getLines</a>
</li>
<li id="dropdown_Document.getNewLineCharacter" data-id="Document.getNewLineCharacter" class="memberLink"><a href="#Document.getNewLineCharacter" class="" title="Document.getNewLineCharacter (class method)" data-id="Document.getNewLineCharacter">getNewLineCharacter</a>
</li>
<li id="dropdown_Document.getNewLineMode" data-id="Document.getNewLineMode" class="memberLink"><a href="#Document.getNewLineMode" class="" title="Document.getNewLineMode (class method)" data-id="Document.getNewLineMode">getNewLineMode</a>
</li>
<li id="dropdown_Document.getTextRange" data-id="Document.getTextRange" class="memberLink"><a href="#Document.getTextRange" class="" title="Document.getTextRange (class method)" data-id="Document.getTextRange">getTextRange</a>
</li>
<li id="dropdown_Document.getValue" data-id="Document.getValue" class="memberLink"><a href="#Document.getValue" class="" title="Document.getValue (class method)" data-id="Document.getValue">getValue</a>
</li>
<li id="dropdown_Document.indexToPosition" data-id="Document.indexToPosition" class="memberLink"><a href="#Document.indexToPosition" class="" title="Document.indexToPosition (class method)" data-id="Document.indexToPosition">indexToPosition</a>
</li>
<li id="dropdown_Document.insert" data-id="Document.insert" class="memberLink"><a href="#Document.insert" class="" title="Document.insert (class method)" data-id="Document.insert">insert</a>
</li>
<li id="dropdown_Document.insertInLine" data-id="Document.insertInLine" class="memberLink"><a href="#Document.insertInLine" class="" title="Document.insertInLine (class method)" data-id="Document.insertInLine">insertInLine</a>
</li>
<li id="dropdown_Document.insertLines" data-id="Document.insertLines" class="memberLink"><a href="#Document.insertLines" class="" title="Document.insertLines (class method)" data-id="Document.insertLines">insertLines</a>
</li>
<li id="dropdown_Document.insertNewLine" data-id="Document.insertNewLine" class="memberLink"><a href="#Document.insertNewLine" class="" title="Document.insertNewLine (class method)" data-id="Document.insertNewLine">insertNewLine</a>
</li>
<li id="dropdown_Document.isNewLine" data-id="Document.isNewLine" class="memberLink"><a href="#Document.isNewLine" class="" title="Document.isNewLine (class method)" data-id="Document.isNewLine">isNewLine</a>
</li>
<li id="dropdown_Document.positionToIndex" data-id="Document.positionToIndex" class="memberLink"><a href="#Document.positionToIndex" class="" title="Document.positionToIndex (class method)" data-id="Document.positionToIndex">positionToIndex</a>
</li>
<li id="dropdown_Document.remove" data-id="Document.remove" class="memberLink"><a href="#Document.remove" class="" title="Document.remove (class method)" data-id="Document.remove">remove</a>
</li>
<li id="dropdown_Document.removeInLine" data-id="Document.removeInLine" class="memberLink"><a href="#Document.removeInLine" class="" title="Document.removeInLine (class method)" data-id="Document.removeInLine">removeInLine</a>
</li>
<li id="dropdown_Document.removeLines" data-id="Document.removeLines" class="memberLink"><a href="#Document.removeLines" class="" title="Document.removeLines (class method)" data-id="Document.removeLines">removeLines</a>
</li>
<li id="dropdown_Document.removeNewLine" data-id="Document.removeNewLine" class="memberLink"><a href="#Document.removeNewLine" class="" title="Document.removeNewLine (class method)" data-id="Document.removeNewLine">removeNewLine</a>
</li>
<li id="dropdown_Document.replace" data-id="Document.replace" class="memberLink"><a href="#Document.replace" class="" title="Document.replace (class method)" data-id="Document.replace">replace</a>
</li>
<li id="dropdown_Document.revertDeltas" data-id="Document.revertDeltas" class="memberLink"><a href="#Document.revertDeltas" class="" title="Document.revertDeltas (class method)" data-id="Document.revertDeltas">revertDeltas</a>
</li>
<li id="dropdown_Document.setNewLineMode" data-id="Document.setNewLineMode" class="memberLink"><a href="#Document.setNewLineMode" class="" title="Document.setNewLineMode (class method)" data-id="Document.setNewLineMode">setNewLineMode</a>
</li>
<li id="dropdown_Document.setValue" data-id="Document.setValue" class="memberLink"><a href="#Document.setValue" class="" title="Document.setValue (class method)" data-id="Document.setValue">setValue</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="Document" data-title="Document (class)" class="article">
<div class="section description">
<div class="memberContent"><p>Contains the text of the document. Document can be attached to several <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a>s. </p>
<p>At its core, <code>Document</code>s are just an array of strings, with each row in the document matching up to the array index.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="Document.new" data-title="Document.new (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Document.new" class="member-name methodClicker">Document</span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> | <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="argument methodClicker" title="Array" data-id="Array">Array</a> text</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.new" class="ellipsis_description"><p>Creates a new <code>Document</code>. If <code>text</code> is included, the <code>Document</code> contains those strings; otherwise, it&#39;s empty.</p>
</div>
<div class="description"><p>Creates a new <code>Document</code>. If <code>text</code> is included, the <code>Document</code> contains those strings; otherwise, it&#39;s empty.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a> | <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="" title="Array" data-id="Array">Array</a></td><td class="argDescription "><p>Required. The starting text</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Events</h3>
<article id="Document.event.change" data-title="Document.event.change (event)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.event.change" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="eventObjName">Document</span><span class="eventListenerStart">.on("</span><span id="Document.event.change" class="member-name eventMember methodClicker">change</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> e<span class="eventFunctionClose">))</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.event.change" class="ellipsis_description"><p>Fires whenever the document changes.</p>
</div>
<div class="description"><p>Fires whenever the document changes.</p>
<p>Several methods trigger different <code>&quot;change&quot;</code> events. Below is a list of each action type, followed by each property that&#39;s also available:</p>
<ul>
<li><code>&quot;insertLines&quot;</code> (emitted by <a href="#Document.insertLines" class="link-short" title="Document.insertLines (class method)" data-id="Document.insertLines"><code>Document.insertLines()</code></a>)</li>
<li><code>range</code>: the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> of the change within the document</li>
<li><code>lines</code>: the lines in the document that are changing</li>
<li><code>&quot;insertText&quot;</code> (emitted by <a href="#Document.insertNewLine" class="link-short" title="Document.insertNewLine (class method)" data-id="Document.insertNewLine"><code>Document.insertNewLine()</code></a>)</li>
<li><code>range</code>: the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> of the change within the document</li>
<li><code>text</code>: the text that&#39;s being added</li>
<li><code>&quot;removeLines&quot;</code> (emitted by <a href="#Document.insertLines" class="link-short" title="Document.insertLines (class method)" data-id="Document.insertLines"><code>Document.insertLines()</code></a>)</li>
<li><code>range</code>: the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> of the change within the document</li>
<li><code>lines</code>: the lines in the document that were removed</li>
<li><code>nl</code>: the new line character (as defined by <a href="#Document.getNewLineCharacter" class="link-short" title="Document.getNewLineCharacter (class method)" data-id="Document.getNewLineCharacter"><code>Document.getNewLineCharacter()</code></a>)</li>
<li><code>&quot;removeText&quot;</code> (emitted by <a href="#Document.removeInLine" class="link-short" title="Document.removeInLine (class method)" data-id="Document.removeInLine"><code>Document.removeInLine()</code></a> and <a href="#Document.removeNewLine" class="link-short" title="Document.removeNewLine (class method)" data-id="Document.removeNewLine"><code>Document.removeNewLine()</code></a>)</li>
<li><code>range</code>: the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> of the change within the document</li>
<li><code>text</code>: the text that&#39;s being removed</li>
</ul>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">e</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. Contains at least one property called <code>&quot;action&quot;</code>. <code>&quot;action&quot;</code> indicates the action that triggered the change. Each action also has a set of additional properties.</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="Document.applyDeltas" data-title="Document.applyDeltas (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.applyDeltas" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.applyDeltas" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">applyDeltas</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> deltas</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.applyDeltas" class="ellipsis_description"><p>Applies all the changes previously accumulated. These can be either <code>&#39;includeText&#39;</code>, <code>&#39;insertLines&#39;</code>, <code>&#39;removeText&#39;</code>, and <code>&#39;removeLines&#39;</code>.</p>
</div>
<div class="description"><p>Applies all the changes previously accumulated. These can be either <code>&#39;includeText&#39;</code>, <code>&#39;insertLines&#39;</code>, <code>&#39;removeText&#39;</code>, and <code>&#39;removeLines&#39;</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">deltas</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.createAnchor" data-title="Document.createAnchor (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.createAnchor" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.createAnchor" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">createAnchor</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.createAnchor" class="ellipsis_description"><p>Creates a new <code>Anchor</code> to define a floating point in the document.</p>
</div>
<div class="description"><p>Creates a new <code>Anchor</code> to define a floating point in the document.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row number to use</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column number to use</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.getAllLines" data-title="Document.getAllLines (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.getAllLines" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.getAllLines" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getAllLines</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.getAllLines" class="ellipsis_description"><p>Returns all lines in the document as string array.</p>
</div>
<div class="description"><p>Returns all lines in the document as string array. Warning: The caller should not modify this array!</p>
</div>
</div>
</div>
</div>
</article>
<article id="Document.getLength" data-title="Document.getLength (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.getLength" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.getLength" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getLength</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.getLength" class="ellipsis_description"><p>Returns the number of rows in the document.</p>
</div>
<div class="description"><p>Returns the number of rows in the document.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Document.getLine" data-title="Document.getLine (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.getLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.getLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.getLine" class="ellipsis_description"><p>Returns a verbatim copy of the given line as it is in the document</p>
</div>
<div class="description"><p>Returns a verbatim copy of the given line as it is in the document</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row index to retrieve</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.getLines" data-title="Document.getLines (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.getLines" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.getLines" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getLines</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.getLines" class="ellipsis_description"><p>Returns an array of strings of the rows between <code>firstRow</code> and <code>lastRow</code>. This function is inclusive of <code>lastRow</code>.</p>
</div>
<div class="description"><p>Returns an array of strings of the rows between <code>firstRow</code> and <code>lastRow</code>. This function is inclusive of <code>lastRow</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The first row index to retrieve</p>
</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The final row index to retrieve</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.getNewLineCharacter" data-title="Document.getNewLineCharacter (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.getNewLineCharacter" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.getNewLineCharacter" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getNewLineCharacter</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.getNewLineCharacter" class="ellipsis_description"><p>Returns the newline character that&#39;s being used, depending on the value of <code>newLineMode</code>.</p>
</div>
<div class="description"><p>Returns the newline character that&#39;s being used, depending on the value of <code>newLineMode</code>.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Document.getNewLineMode" data-title="Document.getNewLineMode (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.getNewLineMode" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.getNewLineMode" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getNewLineMode</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.getNewLineMode" class="ellipsis_description"><p>Returns the type of newlines being used; either <code>windows</code>, <code>unix</code>, or <code>auto</code></p>
</div>
<div class="description"><p>Returns the type of newlines being used; either <code>windows</code>, <code>unix</code>, or <code>auto</code></p>
</div>
</div>
</div>
</div>
</article>
<article id="Document.getTextRange" data-title="Document.getTextRange (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.getTextRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.getTextRange" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getTextRange</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.getTextRange" class="ellipsis_description"><p>Given a range within the document, this function returns all the text within that range as a single string.</p>
</div>
<div class="description"><p>Given a range within the document, this function returns all the text within that range as a single string.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. The range to work with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.getValue" data-title="Document.getValue (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.getValue" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.getValue" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">getValue</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.getValue" class="ellipsis_description"><p>Returns all the lines in the document as a single string, split by the new line character.</p>
</div>
<div class="description"><p>Returns all the lines in the document as a single string, split by the new line character.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Document.indexToPosition" data-title="Document.indexToPosition (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.indexToPosition" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.indexToPosition" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">indexToPosition</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> index, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startRow</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.indexToPosition" class="ellipsis_description"><p>Converts an index position in a document to a <code>{row, column}</code> object.</p>
</div>
<div class="description"><p>Converts an index position in a document to a <code>{row, column}</code> object.</p>
<p>Index refers to the &quot;absolute position&quot; of a character in the document. For example:</p>
<pre><code class="language-javascript"><span class="keyword">var</span> x = <span class="number">0</span>; <span class="comment">// 10 characters, plus one for newline</span>
<span class="keyword">var</span> y = -<span class="number">1</span>;</code></pre>
<p>Here, <code>y</code> is an index 15: 11 characters for the first row, and 5 characters until <code>y</code> in the second.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">index</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. An index to convert</p>
</td></tr><tr class="argumentRow "><td class="argName ">startRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. =0 The row from which to start the conversion</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.insert" data-title="Document.insert (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.insert" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.insert" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insert</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> position, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.insert" class="ellipsis_description"><p>Inserts a block of <code>text</code> and the indicated <code>position</code>.</p>
</div>
<div class="description"><p>Inserts a block of <code>text</code> and the indicated <code>position</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position to start inserting at</p>
</td></tr><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. A chunk of text to insert</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.insertInLine" data-title="Document.insertInLine (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.insertInLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.insertInLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insertInLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> position, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.insertInLine" class="ellipsis_description"><p>Inserts <code>text</code> into the <code>position</code> at the current row. This method also triggers the <code>&#39;change&#39;</code> event.</p>
</div>
<div class="description"><p>Inserts <code>text</code> into the <code>position</code> at the current row. This method also triggers the <code>&#39;change&#39;</code> event.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position to insert at</p>
</td></tr><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. A chunk of text</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.insertLines" data-title="Document.insertLines (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.insertLines" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.insertLines" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insertLines</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="argument methodClicker" title="Array" data-id="Array">Array</a> lines</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.insertLines" class="ellipsis_description"><p>Inserts the elements in <code>lines</code> into the document, starting at the row index given by <code>row</code>. This method also triggers the <code>&#39;change&#39;</code> event.</p>
</div>
<div class="description"><p>Inserts the elements in <code>lines</code> into the document, starting at the row index given by <code>row</code>. This method also triggers the <code>&#39;change&#39;</code> event.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The index of the row to insert at</p>
</td></tr><tr class="argumentRow "><td class="argName ">lines</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="" title="Array" data-id="Array">Array</a></td><td class="argDescription "><p>Required. An array of strings</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.insertNewLine" data-title="Document.insertNewLine (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.insertNewLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.insertNewLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">insertNewLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> position</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.insertNewLine" class="ellipsis_description"><p>Inserts a new line into the document at the current row&#39;s <code>position</code>. This method also triggers the <code>&#39;change&#39;</code> event.</p>
</div>
<div class="description"><p>Inserts a new line into the document at the current row&#39;s <code>position</code>. This method also triggers the <code>&#39;change&#39;</code> event.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">position</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The position to insert at</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.isNewLine" data-title="Document.isNewLine (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.isNewLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.isNewLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">isNewLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.isNewLine" class="ellipsis_description"><p>Returns <code>true</code> if <code>text</code> is a newline character (either <code>\r\n</code>, <code>\r</code>, or <code>\n</code>).</p>
</div>
<div class="description"><p>Returns <code>true</code> if <code>text</code> is a newline character (either <code>\r\n</code>, <code>\r</code>, or <code>\n</code>).</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The text to check</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.positionToIndex" data-title="Document.positionToIndex (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.positionToIndex" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.positionToIndex" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">positionToIndex</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> pos, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startRow</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.positionToIndex" class="ellipsis_description"><p>Converts the <code>{row, column}</code> position in a document to the character&#39;s index.</p>
</div>
<div class="description"><p>Converts the <code>{row, column}</code> position in a document to the character&#39;s index.</p>
<p>Index refers to the &quot;absolute position&quot; of a character in the document. For example:</p>
<pre><code class="language-javascript"><span class="keyword">var</span> x = <span class="number">0</span>; <span class="comment">// 10 characters, plus one for newline</span>
<span class="keyword">var</span> y = -<span class="number">1</span>;</code></pre>
<p>Here, <code>y</code> is an index 15: 11 characters for the first row, and 5 characters until <code>y</code> in the second.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">pos</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The <code>{row, column}</code> to convert</p>
</td></tr><tr class="argumentRow "><td class="argName ">startRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. =0 The row from which to start the conversion</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.remove" data-title="Document.remove (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.remove" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.remove" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">remove</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.remove" class="ellipsis_description"><p>Removes the <code>range</code> from the document.</p>
</div>
<div class="description"><p>Removes the <code>range</code> from the document.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A specified Range to remove</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.removeInLine" data-title="Document.removeInLine (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.removeInLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.removeInLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">removeInLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startColumn, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> endColumn</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.removeInLine" class="ellipsis_description"><p>Removes the specified columns from the <code>row</code>. This method also triggers the <code>&#39;change&#39;</code> event.</p>
</div>
<div class="description"><p>Removes the specified columns from the <code>row</code>. This method also triggers the <code>&#39;change&#39;</code> event.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to remove from</p>
</td></tr><tr class="argumentRow "><td class="argName ">startColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column to start removing at</p>
</td></tr><tr class="argumentRow "><td class="argName ">endColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column to stop removing at</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.removeLines" data-title="Document.removeLines (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.removeLines" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.removeLines" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">removeLines</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.removeLines" class="ellipsis_description"><p>Removes a range of full lines. This method also triggers the <code>&#39;change&#39;</code> event.</p>
</div>
<div class="description"><p>Removes a range of full lines. This method also triggers the <code>&#39;change&#39;</code> event.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The first row to be removed</p>
</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The last row to be removed</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.removeNewLine" data-title="Document.removeNewLine (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.removeNewLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.removeNewLine" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">removeNewLine</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.removeNewLine" class="ellipsis_description"><p>Removes the new line between <code>row</code> and the row immediately following it. This method also triggers the <code>&#39;change&#39;</code> event.</p>
</div>
<div class="description"><p>Removes the new line between <code>row</code> and the row immediately following it. This method also triggers the <code>&#39;change&#39;</code> event.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to check</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.replace" data-title="Document.replace (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.replace" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.replace" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">replace</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.replace" class="ellipsis_description"><p>Replaces a range in the document with the new <code>text</code>.</p>
</div>
<div class="description"><p>Replaces a range in the document with the new <code>text</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A specified Range to replace</p>
</td></tr><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The new text to use as a replacement</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.revertDeltas" data-title="Document.revertDeltas (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.revertDeltas" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.revertDeltas" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">revertDeltas</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> deltas</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.revertDeltas" class="ellipsis_description"><p>Reverts any changes previously applied. These can be either <code>&#39;includeText&#39;</code>, <code>&#39;insertLines&#39;</code>, <code>&#39;removeText&#39;</code>, and <code>&#39;removeLines&#39;</code>.</p>
</div>
<div class="description"><p>Reverts any changes previously applied. These can be either <code>&#39;includeText&#39;</code>, <code>&#39;insertLines&#39;</code>, <code>&#39;removeText&#39;</code>, and <code>&#39;removeLines&#39;</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">deltas</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.setNewLineMode" data-title="Document.setNewLineMode (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.setNewLineMode" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.setNewLineMode" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">setNewLineMode</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> newLineMode</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.setNewLineMode" class="ellipsis_description"><p>Sets the new line mode.</p>
</div>
<div class="description"><p>Sets the new line mode.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">newLineMode</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The newline mode to use; can be either <code>windows</code>, <code>unix</code>, or <code>auto</code></p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Document.setValue" data-title="Document.setValue (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Document.setValue" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Document.setValue" class="member-name methodClicker"><span class="sigClassName">Document.</span><span class="sigMemberName">setValue</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> text</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Document.setValue" class="ellipsis_description"><p>Replaces all the lines in the current <code>Document</code> with the value of <code>text</code>.</p>
</div>
<div class="description"><p>Replaces all the lines in the current <code>Document</code> with the value of <code>text</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">text</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The text to use</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

3235
api/edit_session.html Normal file

File diff suppressed because it is too large Load diff

4689
api/editor.html Normal file

File diff suppressed because it is too large Load diff

12
api/index.html Normal file
View file

@ -0,0 +1,12 @@
<div id="documentation" class="span9"><h1>Ace API Reference</h1>
<p>Welcome to the Ace API Reference Guide. Ace is a standalone code editor written in JavaScript that you can embed onto any website. We&#39;re used in a bunch of places already, like GitHub, Google, and Facebook.</p>
<p>On the left, you&#39;ll find a list of all of our currently documented classes. There are plenty more to do, but these represent the &quot;core&quot; set. For more information on how to work with Ace, check out the <a href="http://ace.ajax.org">main Ace website</a>.</p>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

293
api/placeholder.html Normal file
View file

@ -0,0 +1,293 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">PlaceHolder</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_PlaceHolder.new" data-id="PlaceHolder.new" class="memberLink"><a href="#PlaceHolder.new" class="" title="PlaceHolder.new (constructor)" data-id="PlaceHolder.new">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (7)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_PlaceHolder.cancel" data-id="PlaceHolder.cancel" class="memberLink"><a href="#PlaceHolder.cancel" class="" title="PlaceHolder.cancel (class method)" data-id="PlaceHolder.cancel">cancel</a>
</li>
<li id="dropdown_PlaceHolder.detach" data-id="PlaceHolder.detach" class="memberLink"><a href="#PlaceHolder.detach" class="" title="PlaceHolder.detach (class method)" data-id="PlaceHolder.detach">detach</a>
</li>
<li id="dropdown_PlaceHolder.hideOtherMarkers" data-id="PlaceHolder.hideOtherMarkers" class="memberLink"><a href="#PlaceHolder.hideOtherMarkers" class="" title="PlaceHolder.hideOtherMarkers (class method)" data-id="PlaceHolder.hideOtherMarkers">hideOtherMarkers</a>
</li>
<li id="dropdown_PlaceHolder.onCursorChange" data-id="PlaceHolder.onCursorChange" class="memberLink"><a href="#PlaceHolder.onCursorChange" class="" title="PlaceHolder.onCursorChange (class method)" data-id="PlaceHolder.onCursorChange">onCursorChange</a>
</li>
<li id="dropdown_PlaceHolder.onUpdate" data-id="PlaceHolder.onUpdate" class="memberLink"><a href="#PlaceHolder.onUpdate" class="" title="PlaceHolder.onUpdate (class method)" data-id="PlaceHolder.onUpdate">onUpdate</a>
</li>
<li id="dropdown_PlaceHolder.setup" data-id="PlaceHolder.setup" class="memberLink"><a href="#PlaceHolder.setup" class="" title="PlaceHolder.setup (class method)" data-id="PlaceHolder.setup">setup</a>
</li>
<li id="dropdown_PlaceHolder.showOtherMarkers" data-id="PlaceHolder.showOtherMarkers" class="memberLink"><a href="#PlaceHolder.showOtherMarkers" class="" title="PlaceHolder.showOtherMarkers (class method)" data-id="PlaceHolder.showOtherMarkers">showOtherMarkers</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="PlaceHolder" data-title="PlaceHolder (class)" class="article">
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="PlaceHolder.new" data-title="PlaceHolder.new (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="PlaceHolder.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="PlaceHolder.new" class="member-name methodClicker">PlaceHolder</span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_PlaceHolder.new" class="ellipsis_description"><ul>
<li>session (Document): The document to associate with the anchor</li>
<li>length (Number): The starting row position</li>
<li>pos (Number): The starting column position</li>
<li>others (String):</li>
<li>mainClass (String):</li>
<li>othersClass (String):</li>
</ul>
</div>
<div class="description"><ul>
<li>session (Document): The document to associate with the anchor</li>
<li>length (Number): The starting row position</li>
<li>pos (Number): The starting column position</li>
<li>others (String):</li>
<li>mainClass (String):</li>
<li>othersClass (String):</li>
</ul>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="PlaceHolder.cancel" data-title="PlaceHolder.cancel (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="PlaceHolder.cancel" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="PlaceHolder.cancel" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">cancel</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_PlaceHolder.cancel" class="ellipsis_description"><p>PlaceHolder.cancel()</p>
</div>
<div class="description"><p>PlaceHolder.cancel()</p>
<p>TODO</p>
</div>
</div>
</div>
</div>
</article>
<article id="PlaceHolder.detach" data-title="PlaceHolder.detach (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="PlaceHolder.detach" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="PlaceHolder.detach" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">detach</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_PlaceHolder.detach" class="ellipsis_description"><p>PlaceHolder.detach()</p>
</div>
<div class="description"><p>PlaceHolder.detach()</p>
<p>TODO</p>
</div>
</div>
</div>
</div>
</article>
<article id="PlaceHolder.hideOtherMarkers" data-title="PlaceHolder.hideOtherMarkers (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="PlaceHolder.hideOtherMarkers" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="PlaceHolder.hideOtherMarkers" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">hideOtherMarkers</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_PlaceHolder.hideOtherMarkers" class="ellipsis_description"><p>PlaceHolder.hideOtherMarkers()</p>
</div>
<div class="description"><p>PlaceHolder.hideOtherMarkers()</p>
<p>Hides all over markers in the <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a> that are not the currently selected one.</p>
</div>
</div>
</div>
</div>
</article>
<article id="PlaceHolder.onCursorChange" data-title="PlaceHolder.onCursorChange (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="PlaceHolder.onCursorChange" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="PlaceHolder.onCursorChange" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">onCursorChange</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> event</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_PlaceHolder.onCursorChange" class="ellipsis_description"><p>PlaceHolder@onCursorChange(e)</p>
</div>
<div class="description"><p>PlaceHolder@onCursorChange(e)</p>
<p>Emitted when the cursor changes.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">event</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="PlaceHolder.onUpdate" data-title="PlaceHolder.onUpdate (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="PlaceHolder.onUpdate" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="PlaceHolder.onUpdate" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">onUpdate</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> event</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_PlaceHolder.onUpdate" class="ellipsis_description"><p>PlaceHolder@onUpdate(e)</p>
</div>
<div class="description"><p>PlaceHolder@onUpdate(e)</p>
<p>Emitted when the place holder updates.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">event</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="PlaceHolder.setup" data-title="PlaceHolder.setup (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="PlaceHolder.setup" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="PlaceHolder.setup" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">setup</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_PlaceHolder.setup" class="ellipsis_description"><p>PlaceHolder.setup()</p>
</div>
<div class="description"><p>PlaceHolder.setup()</p>
<p>TODO</p>
</div>
</div>
</div>
</div>
</article>
<article id="PlaceHolder.showOtherMarkers" data-title="PlaceHolder.showOtherMarkers (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="PlaceHolder.showOtherMarkers" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="PlaceHolder.showOtherMarkers" class="member-name methodClicker"><span class="sigClassName">PlaceHolder.</span><span class="sigMemberName">showOtherMarkers</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_PlaceHolder.showOtherMarkers" class="ellipsis_description"><p>PlaceHolder.showOtherMarkers()</p>
</div>
<div class="description"><p>PlaceHolder.showOtherMarkers()</p>
<p>TODO</p>
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

968
api/range.html Normal file
View file

@ -0,0 +1,968 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">Range</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Range.new" data-id="Range.new" class="memberLink"><a href="#Range.new" class="" title="Range.new (constructor)" data-id="Range.new">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (26)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Range.clipRows" data-id="Range.clipRows" class="memberLink"><a href="#Range.clipRows" class="" title="Range.clipRows (class method)" data-id="Range.clipRows">clipRows</a>
</li>
<li id="dropdown_Range.clone" data-id="Range.clone" class="memberLink"><a href="#Range.clone" class="" title="Range.clone (class method)" data-id="Range.clone">clone</a>
</li>
<li id="dropdown_Range.collapseRows" data-id="Range.collapseRows" class="memberLink"><a href="#Range.collapseRows" class="" title="Range.collapseRows (class method)" data-id="Range.collapseRows">collapseRows</a>
</li>
<li id="dropdown_Range.compare" data-id="Range.compare" class="memberLink"><a href="#Range.compare" class="" title="Range.compare (class method)" data-id="Range.compare">compare</a>
</li>
<li id="dropdown_Range.compareEnd" data-id="Range.compareEnd" class="memberLink"><a href="#Range.compareEnd" class="" title="Range.compareEnd (class method)" data-id="Range.compareEnd">compareEnd</a>
</li>
<li id="dropdown_Range.compareInside" data-id="Range.compareInside" class="memberLink"><a href="#Range.compareInside" class="" title="Range.compareInside (class method)" data-id="Range.compareInside">compareInside</a>
</li>
<li id="dropdown_Range.comparePoint" data-id="Range.comparePoint" class="memberLink"><a href="#Range.comparePoint" class="" title="Range.comparePoint (class method)" data-id="Range.comparePoint">comparePoint</a>
</li>
<li id="dropdown_Range.compareRange" data-id="Range.compareRange" class="memberLink"><a href="#Range.compareRange" class="" title="Range.compareRange (class method)" data-id="Range.compareRange">compareRange</a>
</li>
<li id="dropdown_Range.compareStart" data-id="Range.compareStart" class="memberLink"><a href="#Range.compareStart" class="" title="Range.compareStart (class method)" data-id="Range.compareStart">compareStart</a>
</li>
<li id="dropdown_Range.contains" data-id="Range.contains" class="memberLink"><a href="#Range.contains" class="" title="Range.contains (class method)" data-id="Range.contains">contains</a>
</li>
<li id="dropdown_Range.containsRange" data-id="Range.containsRange" class="memberLink"><a href="#Range.containsRange" class="" title="Range.containsRange (class method)" data-id="Range.containsRange">containsRange</a>
</li>
<li id="dropdown_Range.extend" data-id="Range.extend" class="memberLink"><a href="#Range.extend" class="" title="Range.extend (class method)" data-id="Range.extend">extend</a>
</li>
<li id="dropdown_Range.fromPoints" data-id="Range.fromPoints" class="memberLink"><a href="#Range.fromPoints" class="" title="Range.fromPoints (class method)" data-id="Range.fromPoints">fromPoints</a>
</li>
<li id="dropdown_Range.inside" data-id="Range.inside" class="memberLink"><a href="#Range.inside" class="" title="Range.inside (class method)" data-id="Range.inside">inside</a>
</li>
<li id="dropdown_Range.insideEnd" data-id="Range.insideEnd" class="memberLink"><a href="#Range.insideEnd" class="" title="Range.insideEnd (class method)" data-id="Range.insideEnd">insideEnd</a>
</li>
<li id="dropdown_Range.insideStart" data-id="Range.insideStart" class="memberLink"><a href="#Range.insideStart" class="" title="Range.insideStart (class method)" data-id="Range.insideStart">insideStart</a>
</li>
<li id="dropdown_Range.intersects" data-id="Range.intersects" class="memberLink"><a href="#Range.intersects" class="" title="Range.intersects (class method)" data-id="Range.intersects">intersects</a>
</li>
<li id="dropdown_Range.isEmpty" data-id="Range.isEmpty" class="memberLink"><a href="#Range.isEmpty" class="" title="Range.isEmpty (class method)" data-id="Range.isEmpty">isEmpty</a>
</li>
<li id="dropdown_Range.isEnd" data-id="Range.isEnd" class="memberLink"><a href="#Range.isEnd" class="" title="Range.isEnd (class method)" data-id="Range.isEnd">isEnd</a>
</li>
<li id="dropdown_Range.isEqual" data-id="Range.isEqual" class="memberLink"><a href="#Range.isEqual" class="" title="Range.isEqual (class method)" data-id="Range.isEqual">isEqual</a>
</li>
<li id="dropdown_Range.isMultiLine" data-id="Range.isMultiLine" class="memberLink"><a href="#Range.isMultiLine" class="" title="Range.isMultiLine (class method)" data-id="Range.isMultiLine">isMultiLine</a>
</li>
<li id="dropdown_Range.isStart" data-id="Range.isStart" class="memberLink"><a href="#Range.isStart" class="" title="Range.isStart (class method)" data-id="Range.isStart">isStart</a>
</li>
<li id="dropdown_Range.setEnd" data-id="Range.setEnd" class="memberLink"><a href="#Range.setEnd" class="" title="Range.setEnd (class method)" data-id="Range.setEnd">setEnd</a>
</li>
<li id="dropdown_Range.setStart" data-id="Range.setStart" class="memberLink"><a href="#Range.setStart" class="" title="Range.setStart (class method)" data-id="Range.setStart">setStart</a>
</li>
<li id="dropdown_Range.toScreenRange" data-id="Range.toScreenRange" class="memberLink"><a href="#Range.toScreenRange" class="" title="Range.toScreenRange (class method)" data-id="Range.toScreenRange">toScreenRange</a>
</li>
<li id="dropdown_Range.toString" data-id="Range.toString" class="memberLink"><a href="#Range.toString" class="" title="Range.toString (class method)" data-id="Range.toString">toString</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="Range" data-title="Range (class)" class="article">
<div class="section description">
<div class="memberContent"><p>This object is used in various places to indicate a region within the editor. To better visualize how this works, imagine a rectangle. Each quadrant of the rectangle is analogus to a range, as ranges contain a starting row and starting column, and an ending row, and ending column.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="Range.new" data-title="Range.new (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Range.new" class="member-name methodClicker">Range</span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> startColumn, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> endRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> endColumn</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.new" class="ellipsis_description"><p>Creates a new <code>Range</code> object with the given starting and ending row and column points.</p>
</div>
<div class="description"><p>Creates a new <code>Range</code> object with the given starting and ending row and column points.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">startRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting row</p>
</td></tr><tr class="argumentRow "><td class="argName ">startColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting column</p>
</td></tr><tr class="argumentRow "><td class="argName ">endRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The ending row</p>
</td></tr><tr class="argumentRow "><td class="argName ">endColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The ending column</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="Range.clipRows" data-title="Range.clipRows (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.clipRows" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.clipRows" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">clipRows</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> firstRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> lastRow</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.clipRows" class="ellipsis_description"><p>Returns the part of the current <code>Range</code> that occurs within the boundaries of <code>firstRow</code> and <code>lastRow</code> as a new <code>Range</code> object.</p>
</div>
<div class="description"><p>Returns the part of the current <code>Range</code> that occurs within the boundaries of <code>firstRow</code> and <code>lastRow</code> as a new <code>Range</code> object.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">firstRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The starting row</p>
</td></tr><tr class="argumentRow "><td class="argName ">lastRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The ending row</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.clone" data-title="Range.clone (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.clone" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.clone" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">clone</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.clone" class="ellipsis_description"><p>Returns a duplicate of the calling range.</p>
</div>
<div class="description"><p>Returns a duplicate of the calling range.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Range.collapseRows" data-title="Range.collapseRows (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.collapseRows" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.collapseRows" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">collapseRows</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.collapseRows" class="ellipsis_description"><p>Returns a range containing the starting and ending rows of the original range, but with a column value of <code>0</code>.</p>
</div>
<div class="description"><p>Returns a range containing the starting and ending rows of the original range, but with a column value of <code>0</code>.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Range.compare" data-title="Range.compare (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.compare" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.compare" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">compare</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.compare" class="ellipsis_description"><p>Checks the row and column points with the row and column points of the calling range.</p>
</div>
<div class="description"><p>Checks the row and column points with the row and column points of the calling range.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.compareEnd" data-title="Range.compareEnd (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.compareEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.compareEnd" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">compareEnd</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.compareEnd" class="ellipsis_description"><p>Checks the row and column points with the row and column points of the calling range.</p>
</div>
<div class="description"><p>Checks the row and column points with the row and column points of the calling range.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.compareInside" data-title="Range.compareInside (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.compareInside" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.compareInside" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">compareInside</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.compareInside" class="ellipsis_description"><p>Checks the row and column points with the row and column points of the calling range.</p>
</div>
<div class="description"><p>Checks the row and column points with the row and column points of the calling range.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.comparePoint" data-title="Range.comparePoint (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.comparePoint" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.comparePoint" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">comparePoint</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> p</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.comparePoint" class="ellipsis_description"><p>Checks the row and column points of <code>p</code> with the row and column points of the calling range.</p>
</div>
<div class="description"><p>Checks the row and column points of <code>p</code> with the row and column points of the calling range.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">p</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A point to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.compareRange" data-title="Range.compareRange (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.compareRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.compareRange" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">compareRange</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.compareRange" class="ellipsis_description"><p>Compares <code>this</code> range (A) with another range (B).</p>
</div>
<div class="description"><p>Compares <code>this</code> range (A) with another range (B).</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A range to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.compareStart" data-title="Range.compareStart (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.compareStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.compareStart" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">compareStart</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.compareStart" class="ellipsis_description"><p>Checks the row and column points with the row and column points of the calling range.</p>
</div>
<div class="description"><p>Checks the row and column points with the row and column points of the calling range.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.contains" data-title="Range.contains (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.contains" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.contains" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">contains</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.contains" class="ellipsis_description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> provided are within the given range. This can better be expressed as returning <code>true</code> if:</p>
<pre><code class="language-javascript"> <span class="keyword">this</span>.start.row &lt;= row &lt;= <span class="keyword">this</span>.end.row &amp;&amp;
<span class="keyword">this</span>.start.column &lt;= column &lt;= <span class="keyword">this</span>.end.column</code></pre>
</div>
<div class="description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> provided are within the given range. This can better be expressed as returning <code>true</code> if:</p>
<pre><code class="language-javascript"> <span class="keyword">this</span>.start.row &lt;= row &lt;= <span class="keyword">this</span>.end.row &amp;&amp;
<span class="keyword">this</span>.start.column &lt;= column &lt;= <span class="keyword">this</span>.end.column</code></pre>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row to check for</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column to check for</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.containsRange" data-title="Range.containsRange (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.containsRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.containsRange" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">containsRange</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.containsRange" class="ellipsis_description"><p>Checks the start and end points of <code>range</code> and compares them to the calling range. Returns <code>true</code> if the <code>range</code> is contained within the caller&#39;s range.</p>
</div>
<div class="description"><p>Checks the start and end points of <code>range</code> and compares them to the calling range. Returns <code>true</code> if the <code>range</code> is contained within the caller&#39;s range.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A range to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.extend" data-title="Range.extend (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.extend" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.extend" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">extend</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.extend" class="ellipsis_description"><p>Changes the row and column points for the calling range for both the starting and ending points.</p>
</div>
<div class="description"><p>Changes the row and column points for the calling range for both the starting and ending points.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A new row to extend to</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A new column to extend to</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.fromPoints" data-title="Range.fromPoints (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.fromPoints" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.fromPoints" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">fromPoints</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> start, <a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> end</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.fromPoints" class="ellipsis_description"><p>Creates and returns a new <code>Range</code> based on the row and column of the given parameters.</p>
</div>
<div class="description"><p>Creates and returns a new <code>Range</code> based on the row and column of the given parameters.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">start</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A starting point to use</p>
</td></tr><tr class="argumentRow "><td class="argName ">end</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. An ending point to use</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.inside" data-title="Range.inside (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.inside" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.inside" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">inside</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.inside" class="ellipsis_description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range.</p>
</div>
<div class="description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.insideEnd" data-title="Range.insideEnd (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.insideEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.insideEnd" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">insideEnd</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.insideEnd" class="ellipsis_description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range&#39;s ending points.</p>
</div>
<div class="description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range&#39;s ending points.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.insideStart" data-title="Range.insideStart (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.insideStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.insideStart" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">insideStart</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.insideStart" class="ellipsis_description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range&#39;s starting points.</p>
</div>
<div class="description"><p>Returns <code>true</code> if the <code>row</code> and <code>column</code> are within the given range&#39;s starting points.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.intersects" data-title="Range.intersects (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.intersects" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.intersects" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">intersects</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.intersects" class="ellipsis_description"><p>Returns <code>true</code> if passed in <code>range</code> intersects with the one calling this method.</p>
</div>
<div class="description"><p>Returns <code>true</code> if passed in <code>range</code> intersects with the one calling this method.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A range to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.isEmpty" data-title="Range.isEmpty (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.isEmpty" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.isEmpty" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isEmpty</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.isEmpty" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="Range.isEnd" data-title="Range.isEnd (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.isEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.isEnd" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isEnd</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.isEnd" class="ellipsis_description"><p>Returns <code>true</code> if the caller&#39;s ending row point is the same as <code>row</code>, and if the caller&#39;s ending column is the same as <code>column</code>.</p>
</div>
<div class="description"><p>Returns <code>true</code> if the caller&#39;s ending row point is the same as <code>row</code>, and if the caller&#39;s ending column is the same as <code>column</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.isEqual" data-title="Range.isEqual (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.isEqual" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.isEqual" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isEqual</span></span>(<span class="sigArgList"><a href="range.html" class="argument methodClicker" title="Range (class)" data-id="Range">Range</a> range</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.isEqual" class="ellipsis_description"><p>Returns <code>true</code> if and only if the starting row and column, and ending row and column, are equivalent to those given by <code>range</code>.</p>
</div>
<div class="description"><p>Returns <code>true</code> if and only if the starting row and column, and ending row and column, are equivalent to those given by <code>range</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">range</td><td class="argType" "><a href="range.html" class="" title="Range (class)" data-id="Range">Range</a></td><td class="argDescription "><p>Required. A range to check against</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.isMultiLine" data-title="Range.isMultiLine (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.isMultiLine" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.isMultiLine" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isMultiLine</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.isMultiLine" class="ellipsis_description"><p>Returns <code>true</code> if the range spans across multiple lines.</p>
</div>
<div class="description"><p>Returns <code>true</code> if the range spans across multiple lines.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Range.isStart" data-title="Range.isStart (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.isStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.isStart" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">isStart</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.isStart" class="ellipsis_description"><p>Returns <code>true</code> if the caller&#39;s starting row point is the same as <code>row</code>, and if the caller&#39;s starting column is the same as <code>column</code>.</p>
</div>
<div class="description"><p>Returns <code>true</code> if the caller&#39;s starting row point is the same as <code>row</code>, and if the caller&#39;s starting column is the same as <code>column</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to compare with</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to compare with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.setEnd" data-title="Range.setEnd (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.setEnd" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.setEnd" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">setEnd</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.setEnd" class="ellipsis_description"><p>Sets the starting row and column for the range.</p>
</div>
<div class="description"><p>Sets the starting row and column for the range.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to set</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to set</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.setStart" data-title="Range.setStart (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.setStart" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.setStart" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">setStart</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> row, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> column</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.setStart" class="ellipsis_description"><p>Sets the starting row and column for the range.</p>
</div>
<div class="description"><p>Sets the starting row and column for the range.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">row</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A row point to set</p>
</td></tr><tr class="argumentRow "><td class="argName ">column</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. A column point to set</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.toScreenRange" data-title="Range.toScreenRange (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.toScreenRange" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.toScreenRange" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">toScreenRange</span></span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.toScreenRange" class="ellipsis_description"><p>Given the current <code>Range</code>, this function converts those starting and ending points into screen positions, and then returns a new <code>Range</code> object.</p>
</div>
<div class="description"><p>Given the current <code>Range</code>, this function converts those starting and ending points into screen positions, and then returns a new <code>Range</code> object.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The <code>EditSession</code> to retrieve coordinates from</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Range.toString" data-title="Range.toString (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Range.toString" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Range.toString" class="member-name methodClicker"><span class="sigClassName">Range.</span><span class="sigMemberName">toString</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Range.toString" class="ellipsis_description"><p>Returns a string containing the range&#39;s row and column information, given like this:</p>
<pre><code> [<span class="operator"><span class="keyword">start</span>.row/<span class="keyword">start</span>.<span class="keyword">column</span>] -&gt; [<span class="keyword">end</span>.row/<span class="keyword">end</span>.<span class="keyword">column</span>]</code></pre>
</div>
<div class="description"><p>Returns a string containing the range&#39;s row and column information, given like this:</p>
<pre><code> [<span class="operator"><span class="keyword">start</span>.row/<span class="keyword">start</span>.<span class="keyword">column</span>] -&gt; [<span class="keyword">end</span>.row/<span class="keyword">end</span>.<span class="keyword">column</span>]</code></pre>
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

55
api/renderloop.html Normal file
View file

@ -0,0 +1,55 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">RenderLoop</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="RenderLoop" data-title="RenderLoop (class)" class="article">
<div class="section description">
<div class="memberContent"><p>Batches changes (that force something to be redrawn) in the background.</p>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

View file

@ -0,0 +1,912 @@
/*
Generic "affects everything" stuff
*/
#wrapper .content .column2 {
float: none;
}
#documentation ul {
font-size: 13px;
}
#documentation li {
color: black;
}
pre {
background-color: #FFFFFF;
}
code {
font-size: 12px;
line-height: 16px;
font-family: 'Ubuntu Mono',Monaco,Consolas,monospace !important;
background-color: #F9F9F9;
border-radius: 3px 3px 3px 3px;
display: inline-block;
padding: 0 4px;
margin: 2px 1px;
color: inherit;
}
#documentation pre {
margin-top: 10px;
border-radius: none;
box-shadow: none;
background : white;
/*background : #f5f5f5;
border: 0;*/
-webkit-border-radius: 6px 6px 0 0;
-moz-border-radius: 6px 6px 0 0;
border-radius: 6px 6px 0 0;
padding: 5px;
}
.method pre, .event pre, .property pre {
background : white;
}
#documentation pre code {
background-color: transparent;
border-radius: none;
box-shadow: none;
}
#documentation a code {
color: #00438a;
}
#documentation h2 {
font-size: 26px;
}
#documentation p {
font-size: 13px;
}
#documentation li p:last-child {
margin-bottom : 5px;
}
#documentation blockquote p{
font-size: 14px;
font-weight: 500;
line-height: 23px;
font-style: italic;
}
.alert-message{
margin-bottom : 13px;
}
/*
Header and shoulders
*/
.navbar .nav > li {
float:none;
display:inline-block;
*display:inline; /* ie7 fix */
zoom:1; /* hasLayout ie7 trigger */
}
.navbar .nav > li > a {
padding: 10px 15px 11px;
}
.navbar {
text-align:center;
}
#topSection {
width: 1000px;
}
.small_win #topSection {
width: 100%;
}
.small_win #topSection .dropdown {
margin-right: 40%;
}
.navbar .brand {
margin-left: 0px;
}
.brand {
background: transparent url(../images/ace_logo_menu.png) no-repeat 33px 5px;
width: 80px;
outline: none;
height: 40px;
padding: 0 10px !important;
border: none;
}
.brand.dropdown-toggle:after {
content: none;
display: block;
height: 40px;
border: none;
}
.ace_logo {
position: absolute;
top: 45px;
z-index: 20000;
left: 210px;
}
.headerTitle {
position: relative;
top: 100px;
left: 250px;
}
/*
Menu venue
*/
h3.api_title {
padding-top: 10px;
}
ul.menu {
margin-left: 2px;
}
.menu li {
list-style-image: url(../images/menu_disc.png);
margin-bottom: 4px;
font-weight: 700;
padding-left: 10px;
margin-left: 0;
}
.menu li .menu-item a.menuLink, .menu li .menu-item span.menuLink {
color: #3E7096;
font-weight: 100;
}
.menuTwo {
margin-bottom: 5px;
margin-top: 2px;
}
.menuTwo li .menu-item a.menuLink {
color: #3E7096;
font-weight: 100;
}
/* need specificity to "beat" the above colors */
.menu li .menu-item a.currentItem, .menuTwo li .menu-item {
color: #0072bc;
}
/*
Members and the tabs that represent them
*/
.srolled .members {
width: 100%;
/* -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35);
-moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35);
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.35); */
padding-bottom: 15px;
/* height: 31px;*/
position: fixed;
}
.shadow.members{
background: #edf8fd;
box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3);
-moz-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3);
-o-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3);
-webkit-box-shadow: 0 0.1em 1em rgba(0,0,0, 0.3);
}
.membersContent {
/* border-bottom: 0.1em solid #FFF;*/
height: 3em;
padding-top: 4px;
/* line-height: 4;*/
/* margin-top: -0.1em;*/
position: relative;
/* transition-property: border-color, line-height;
transition-duration: 125ms, 250ms;
transition-timing-function: ease-out, ease-out;
-moz-transition-property: border-color, line-height;
-moz-transition-duration: 125ms, 250ms;
-moz-transition-timing-function: ease-out, ease-out;
-o-transition-property: border-color, line-height;
-o-transition-duration: 125ms, 250ms;
-o-transition-timing-function: ease-out, ease-out;
-webkit-transition-property: border-color, line-height;
-webkit-transition-duration: 125ms, 250ms;
-webkit-transition-timing-function: ease-out, ease-out;*/
/*transition-duration: 125ms;
transition-property: top;
transition-timing-function: ease-out;
top : 11px;*/
z-index: 103;
padding-right: 10px;
margin-right: -5px;
/*width: 700px;*/
}
.srolledHeader .membersContent {
line-height: 3;
}
.srolled .membersContent {
/*top : 0;*/
width: 625px;
padding-left: 327px;
margin : 0 auto 0 auto;
}
.srolled ul.nav {
padding-right: 10px;
}
.membersBackground {
/* background-color: white;
position: fixed;
z-index: 2;
top: 40px;
left: 0px;
right: 0px;
width: 100%;
height: 55px;
opacity: 0;
display: none;
box-shadow: rgba(0, 0, 0, 0.398438) 1px 4px 6px;*/
background-color: transparent;
height: 47px;
/*width: 700px;*/
position: absolute;
}
.srolled .membersBackground {
position: relative;
}
.srolledHeader .membersBackground {
/* display: block;*/
}
.memberHeader {
float: left;
padding-right: 10px;
margin-bottom: 5px;
position: absolute;
padding-top: 4px;
}
ul.tabs li:first-child ul{
left: -63px;
}
.tabs a.menu:after, .tabs .dropdown-toggle:after {
margin-top: 22px;
}
.nav .dropdown-toggle .caret {
margin-top: 12px;
border-top-color: #6D8CA0;
border-bottom-color: #6D8CA0;
}
li.dropdown {
color: #2D2D2D;
font-weight: bold;
}
.editInC9 {
font-size: 11px;
color: #657383;
}
.editInC9 a {
color: #657383;
font-weight: normal;
position : relative;
top : -2px;
}
.tabs {
padding-top: 14px;
/*border-bottom: 1px solid #848484;*/
min-height : 27px;
padding-bottom : 5px;
}
.tabsSansBorder {
border: 0;
}
.tabs, .pills {
margin-bottom: 0;
}
.srolledHeader .members .tabs {
background-color: white;
}
li.dropdown {
color: #2D2D2D;
font-weight: bold;
}
.members .tabs .dropdown a,
.members .tabs a.menu:after,
.members .tabs .dropdown-toggle:after {
margin-right: 0;
margin-left: 6px;
}
.memberLink a {
margin-left: 0 !important;
}
.menu-dropdown {
min-width : 105px;
max-height: 350px;
overflow: auto;
border-color : rgba(0, 0, 0, 0.1);
}
.topbar div > ul .menu-dropdown li a:hover,
.nav .menu-dropdown li a:hover,
.topbar div > ul .dropdown-menu li a:hover,
.nav .dropdown-menu li a:hover {
background-color: #ffffff;
color: #000000;
}
.tabs a.menu:after, .tabs .dropdown-toggle:after {
margin-top: 13px;
line-height: 28px;
}
.open .menu, .dropdown.open .menu, .open .dropdown-toggle, .dropdown.open .dropdown-toggle {
background: transparent;
color: black;
/* font-weight: bold;*/
}
#topSection .open .menu, #topSection .dropdown.open .menu, #topSection .open .dropdown-toggle,
#topSection .dropdown.open .dropdown-toggle {
color: #bfbfbf;
}
.tabs > li {
font-weight: bold;
}
.tabs > li > a {
border: none;
outline: none;
line-height: 28px;
font-size: 11px;
padding: 0 5px;
}
.tabs > li > a:hover {
color: #000000;
text-decoration: none;
background-color: transparent;
border: none;
}
.tabs > li, .pills > li {
float: right;
}
.topbar .dropdown-menu a, .dropdown-menu a {
font-size: 11px;
/* padding: 2px 12px;*/
line-height: 14px;
}
.tabs .active > a, .tabs .active > a:hover {
color: #000000;
border: none;
cursor: default;
}
.tabs .menu-dropdown, .tabs .dropdown-menu {
border-radius: 0 0 6px 6px;
left: 10px;
width: 160px;
}
.srolled .tabs .menu-dropdown, .srolled .tabs .dropdown-menu {
top: 32px;
}
.dropdown-toggle {
color: #6D8CA0;
}
ul.tabs .double ul, ul.tabs .triple ul, ul.tabs .quad ul{
width:760px;
margin-bottom:20px;
overflow:hidden;
border-top:1px solid #ccc;
}
/*ul.tabs .double li, ul.tabs .triple li, ul.tabs .quad li{
line-height:1.5em;
border-bottom:1px solid #ccc;
float:left;
display:inline;
}*/
/*
Center content (the "real stuff")
*/
#nonFooter {
padding-top: 40px;
}
#wrapper {
height: 100%;
}
.content {
height: 100%;
}
header.filler {
position: relative;
height: 40px;
width: 100%;
}
/*
.container-fluid .row-fluid {
width: 1000px;
margin-left: auto;
margin-right: auto;
}*/
.divider {
height: 3px;
background-color: #BEDAEA;
margin-bottom: 3px;
}
#sidebar h3 a,
#sidebar h3 a:hover {
color: #404040;
}
#sidebarContainer {
padding-top: 20px;
}
#mainContent {
margin-left: 30px;
}
#documentation {
padding-top: 35px;
padding-bottom: 10px;
}
#documentation article.article {
border-top: 1px solid #e9e9e9;
padding: 16px 10px 2px;
-webkit-transition: padding 0.2s;
-moz-transition: padding 0.2s;
-o-transition: padding 0.2s;
}
#documentation h3.sectionHeader + article.article {
border-top: none;
}
div#documentation article:last-child {
border-bottom: 1px solid #e9e9e9;
padding-bottom: 40px;
}
#documentation article.article.methodToggleOpen {
background: rgba(255, 255, 255, 0.5);
font-size: 13px;
line-height: 24px;
margin: 0 0 10px 0;
}
#documentation article:first-child {
border:none;
}
.site_logo {
display: block;
margin-left: auto;
margin-right: auto;
}
/*
Edit in Cloud9, sucka
*/
.snippet pre {
margin-bottom: 0;
}
.snippet .toolbar {
-webkit-border-radius: 0 0 6px 6px;
-moz-border-radius: 0 0 6px 6px;
border-radius: 0 0 6px 6px;
text-align: right;
padding: 3px 10px;
margin-top : -1px;
}
.snippet .filename, .snippet .toolbar {
font-family: Ubuntu, sans-serif;
font-size: 12px;
color: #EEE;
}
.snippet .filename {
padding: 0 5px 2px 5px;
font-size: 10px;
background: rgba(230,230,230,0.5);
padding: 0 5px 2px 5px;
border-radius: 0 6px 0 6px;
margin : 1px;
position : absolute;
right : 0;
top : 0;
}
.snippet .filename span{
color : #666;
}
.snippet .toolbar {
background-color: rgba(30,30,30,0.5);
}
div.snippet {
margin-bottom: 18px;
position : relative;
}
div.snippet a, div.toolbar a {
color: #FFF;
}
/*
All about signatures
*/
.signatures {
/* width: 800px;*/
margin-left: 20px;
margin-bottom: 5px;
}
.sideToggler {
padding-left: 20px;
}
ul.signatures ul {
list-style: none;
display: inline;
}
li.signature {
list-style: none;
}
.signature ul {
padding: 0;
margin: 0;
}
.signature li {
display: inline;
}
.signature ul.argument-types::before {
content: '→';
margin: 0 5px;
}
.signature li.argument-type::after {
content: '|';
padding: 0 5px 0 5px;
}
.signature li.argument-type:last-child:after {
content: '';
padding: 0 5px 0 5px;
}
.member-name {
color: #4397cd;
font-weight: bold;
text-decoration: none;
cursor: pointer;
padding-right: 3px;
}
.signature-call {
cursor: pointer;
}
#documentation .signature-call a {
color: #8e487e;
}
.sigClassName {
display: none;
}
.eventObjName {
font-style: italic;
}
.eventListenerStart, .eventListenerClose, .eventFunctionOpen, .eventFunctionClose {
color: #999999;
}
.eventMember {
padding-right: 0px;
}
.metaInfo {
float: right;
z-index: 1;
position: relative;
}
.chainable {
background-color: #0072bc;
color: #ffffff;
}
.deprecated {
background-color: #f7941d;
color: #ffffff;
}
.alias {
background-color: #6c951e;
color: #ffffff;
}
.related-to {
background-color: #89289a;
color: #ffffff;
font-size: 10px;
padding: 2px 5px 3px;
text-transform: capitalize;
}
.undocumented {
background-color: #B94A48;
color: #ffffff;
}
#documentation .alias a, #documentation .related-to a {
color: #ffffff;
/* text-decoration: underline; */
}
#documentation .alias a:hover, #documentation .related-to a:hover {
text-decoration: none;
}
.#documentation alias:hover, #documentation .related-to:hover {
opacity: 0.8;
cursor: pointer;
}
.memberContent .title {
}
.memberContent .description {
position:relative;
/*top: -13px;*/
display: none;
}
.snip-container .actions .toggle-plaintext label {
margin-top: 1px;
padding-top: 0;
text-align: left;
}
.snip-container .actions .toggle-plaintext input {
margin-top: 4px !important;
}
.snip-container label {
color: #ffffff;
}
.description h4 {
padding-top: 10px;
font-size: 18px;
line-height : 18px;
}
.table-striped tbody tr:nth-child(odd) td, .table-striped tbody tr:nth-child(odd) th {
background-color: #F9F9F9;
}
.table-striped tbody tr:nth-child(even) td, .table-striped tbody tr:nth-child(even) th {
background-color: #fbfbfb;
}
.argument-list {
margin-bottom : 13px;
}
.argName {
font-style: italic;
}
/*
Everyday I'm togglin'
*/
#documentation i.methodToggle {
cursor: pointer;
color: #9f9f9f;
padding-top: 2px;
float: left;
}
#documentation i.methodToggle.methodToggleHover {
text-shadow: 0 0 10px #4699d5;
color: #4699d5;
}
#documentation i.methodToggle.active {
text-shadow: 0 0 10px #4699d5;
color: #4699d5;
/* Safari */
-webkit-transform: rotate(45deg);
/* Firefox */
-moz-transform: rotate(45deg);
/* IE */
-ms-transform: rotate(45deg);
/* Opera */
-o-transform: rotate(45deg);
padding-top: 9px;
}
#documentation h3.sectionHeader {
line-height : 24px;
}
div.method {
position: relative;
}
.methodToggle a {
color: #fff;
border-bottom: 0px;
text-decoration: none;
}
h3.methodToggle {
height : 13px;
width : 8px;
background-position : 0px 0px;
position: absolute;
top: -20px;
background-image : url(../images/member-sprites.png);
background-color : transparent;
background-repeat : no-repeat;
overflow: hidden;
left: 0px;
}
h3.methodToggleHover {
/* background-position : 0px -28px; */
}
h3.methodToggle.inactive {
top: 4px;
}
h3.methodToggle.active {
top: 6px;
height : 13px;
width : 8px;
background-position : 0px -59px;
}
.hidden {
display: none;
visibility: hidden;
}
.hiddenSpan {
display: none;
}
.ellipsis_description, .short_description {
/* width: 800px;*/
}
.methodToggleOpen .ellipsis_description {
display: none;
}
.sideToggler .short_description,
.sideToggler .description{
display: none;
}
.methodToggleOpen .short_description,
.methodToggleOpen .description {
display: block;
}
.description td p {
margin: 0;
}
/*
Footer? I hardly know her
*/
#footer {
width:100%;
background: #101010 url(../images/dashed_back.png) repeat 0 0;
font-size: 12px;
color: white;
height: 40px;
}
#footer .footerInner {
padding-left: 300px;
margin-left: auto;
margin-right: auto;
min-height: 40px;
}
#footer .footer-text {
display: block;
font-size: 12px;
float: right;
}
#footer div.footerInner div.footer-text p {
font-size: 12px;
font-family: Arial;
line-height: 18px;
margin: 10px 15px 0px 1px;
}
#footer a, #footer a:hover {
color: #8DD0FF;
}
.logoText, .logoImg {
/*position: absolute;*/
margin-bottom: 5px;
}
.logoImg {
top: 40px;
}
.topbar div > ul .menu-dropdown li a:hover,
.nav .menu-dropdown li a:hover,
.topbar div > ul .dropdown-menu li a:hover,
.nav .dropdown-menu li a:hover {
background-color: #191919;
background-repeat: repeat-x;
background-image: -khtml-gradient(linear, left top, left bottom, from(#292929), to(#191919));
background-image: -moz-linear-gradient(top, #292929, #191919);
background-image: -ms-linear-gradient(top, #292929, #191919);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #191919));
background-image: -webkit-linear-gradient(top, #292929, #191919);
background-image: -o-linear-gradient(top, #292929, #191919);
background-image: linear-gradient(top, #292929, #191919);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#191919', GradientType=0);
color: #ffffff;
}
.alert-message.block-message {
background: #fefaca;
border-color : #fefaca;
padding : 8px 14px 8px 14px;
}
body .dsq-reply{
margin-top : 10px;
}
#disqus_thread{
border-top : 1px solid #ddd;
margin-top : 30px;
}
#disqus_thread h3, body #dsq-content h3 {
font-size : 12px;
margin : 0 0 20px 0;
line-height : 12px;
}
body #dsq-reply h3{
font-size : 18px;
line-height : 18px;
margin : 15px 0 20px 0;
}
#disqus_thread select{
font-size : 11px;
height : 20px;
color : #444;
}
#dsq-global-toolbar, #dsq-pagination, .dsq-trackback-url{
display : none;
}

Binary file not shown.

View file

@ -0,0 +1,255 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata></metadata>
<defs>
<font id="FontAwesomeRegular" horiz-adv-x="1843" >
<font-face units-per-em="2048" ascent="1536" descent="-512" />
<missing-glyph horiz-adv-x="512" />
<glyph horiz-adv-x="0" />
<glyph horiz-adv-x="0" />
<glyph unicode="&#xd;" horiz-adv-x="512" />
<glyph unicode=" " horiz-adv-x="512" />
<glyph unicode="&#x09;" horiz-adv-x="512" />
<glyph unicode="&#xa0;" horiz-adv-x="512" />
<glyph unicode="o" horiz-adv-x="1591" />
<glyph unicode="&#xa8;" horiz-adv-x="2048" />
<glyph unicode="&#xa9;" horiz-adv-x="2048" />
<glyph unicode="&#xae;" horiz-adv-x="2048" />
<glyph unicode="&#xb4;" horiz-adv-x="2048" />
<glyph unicode="&#xc6;" horiz-adv-x="2048" />
<glyph unicode="&#xcd;" horiz-adv-x="2048" />
<glyph unicode="&#x2000;" horiz-adv-x="784" />
<glyph unicode="&#x2001;" horiz-adv-x="1569" />
<glyph unicode="&#x2002;" horiz-adv-x="784" />
<glyph unicode="&#x2003;" horiz-adv-x="1569" />
<glyph unicode="&#x2004;" horiz-adv-x="523" />
<glyph unicode="&#x2005;" horiz-adv-x="392" />
<glyph unicode="&#x2006;" horiz-adv-x="261" />
<glyph unicode="&#x2007;" horiz-adv-x="261" />
<glyph unicode="&#x2008;" horiz-adv-x="196" />
<glyph unicode="&#x2009;" horiz-adv-x="313" />
<glyph unicode="&#x200a;" horiz-adv-x="87" />
<glyph unicode="&#x202f;" horiz-adv-x="313" />
<glyph unicode="&#x203a;" horiz-adv-x="2048" />
<glyph unicode="&#x205f;" horiz-adv-x="392" />
<glyph unicode="&#x2122;" horiz-adv-x="2048" />
<glyph unicode="&#x221e;" horiz-adv-x="2048" />
<glyph unicode="&#xe000;" horiz-adv-x="1024" d="M0 0z" />
<glyph unicode="&#xf000;" horiz-adv-x="1536" d="M6 1489q20 47 70 47h1382q51 0 72 -47q20 -47 -17 -84l-610 -610v-641h248q33 0 55.5 -22.5t22.5 -53.5q0 -33 -22.5 -55.5t-55.5 -22.5h-768q-31 0 -53.5 22.5t-22.5 55.5q0 31 22.5 53.5t53.5 22.5h250v641l-610 610q-37 37 -17 84z" />
<glyph unicode="&#xf001;" horiz-adv-x="1488" d="M0 213q0 57 27.5 103t72.5 77t98.5 47.5t106.5 16.5q25 0 50.5 -4t50.5 -11v779q0 27 16 48t43 29q23 6 99.5 29t178 52.5t215 62.5t211 60.5t164 46t74.5 18.5q35 0 58.5 -23.5t23.5 -58.5v-1028q0 -59 -27.5 -104.5t-73 -76t-99.5 -47t-105 -16.5t-105.5 16.5t-98.5 47 t-71.5 75.5t-27.5 105q0 57 27.5 103t71.5 77t98.5 47t105.5 16q27 0 52.5 -4t49.5 -10v537l-678 -195v-815q0 -59 -27.5 -104.5t-71.5 -76t-98.5 -47t-105.5 -16.5q-53 0 -106.5 16.5t-98.5 47t-72.5 76t-27.5 104.5z" />
<glyph unicode="&#xf002;" horiz-adv-x="1597" d="M0 901q0 137 52 258t143.5 212t212 143.5t258.5 52.5q137 0 257.5 -52.5t212 -143.5t143.5 -212t52 -258q0 -98 -28.5 -191.5t-81.5 -174.5l358 -359q18 -18 18 -47q0 -16 -18 -43t-45 -53.5t-53.5 -45t-42.5 -18.5q-29 0 -47 19l-359 358q-82 -53 -175 -81.5t-191 -28.5 q-137 0 -258 52t-212.5 143t-143.5 212t-52 258zM266 901q0 -84 32 -156.5t86 -126t127 -85t155 -31.5t154.5 31.5t126.5 85t86 126t32 156.5q0 82 -32 154.5t-86 127t-126.5 86t-154.5 31.5t-155 -31.5t-127 -86t-86 -127t-32 -154.5zM414 901q0 51 19.5 97t54 81t80 54.5 t98.5 19.5q20 0 34.5 -14.5t14.5 -36.5q0 -20 -14.5 -34.5t-34.5 -14.5q-63 0 -107.5 -44t-44.5 -108q0 -20 -14.5 -34.5t-34.5 -14.5q-23 0 -37 14.5t-14 34.5z" />
<glyph unicode="&#xf003;" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h1536v852q-31 -31 -58 -50q-106 -80 -212.5 -159.5t-211.5 -163.5q-61 -49 -131.5 -94t-156.5 -45q-82 0 -153 45t-132 94 q-104 84 -211 164t-213 159q-27 18 -57 50v-852zM154 1317q0 -31 14 -65.5t35.5 -66.5t47 -59.5t50.5 -46.5q100 -76 199.5 -150.5t199.5 -152.5q20 -16 48 -37.5t58 -42t59.5 -35t54.5 -14.5h2h2q25 0 54.5 14.5t59 35t57 42t48.5 37.5q100 78 199.5 153t199.5 150 q25 18 50.5 46t47 60t36 66.5t14.5 65.5v65h-1536v-65z" />
<glyph unicode="&#xf004;" horiz-adv-x="1802" d="M0 1073q0 113 34 205t97.5 155.5t153.5 98.5t202 35q59 0 117 -18.5t110 -48.5t99 -68.5t88 -77.5q39 39 87 77.5t100.5 68.5t109 48.5t115.5 18.5q113 0 204 -35t154.5 -98.5t97 -155.5t33.5 -205q0 -66 -18.5 -130t-51 -124.5t-74.5 -115t-87 -99.5l-615 -612 q-23 -23 -55 -23q-31 0 -57 23l-615 614q-45 45 -87 99.5t-73.5 114t-50 124t-18.5 129.5z" />
<glyph unicode="&#xf005;" horiz-adv-x="1675" d="M1 959.5q9 27.5 54 33.5l506 74l227 459q20 41 49 41t50 -41l227 -459l506 -74q45 -6 54 -33.5t-23 -60.5l-367 -356l86 -504q8 -45 -15.5 -62.5t-64.5 5.5l-452 237l-453 -237q-41 -23 -64.5 -5.5t-15.5 62.5l86 504l-364 356q-35 33 -26 60.5z" />
<glyph unicode="&#xf006;" horiz-adv-x="1675" d="M0 948q0 23 18.5 32t36.5 13l506 74l227 459q6 14 20 27.5t30 13.5q18 0 30.5 -13.5t18.5 -27.5l227 -459l506 -74q18 -4 36.5 -13t18.5 -32q0 -14 -7 -26.5t-17 -22.5l-367 -356l86 -504q0 -4 1 -9t1 -12q0 -20 -9 -34.5t-32 -14.5t-41 13l-452 237l-453 -237 q-18 -12 -39 -13q-23 0 -33 14.5t-10 34.5q0 6 1 11.5t1 9.5l86 504l-364 356q-10 10 -18.5 22.5t-8.5 26.5zM289 866l274 -268l-65 -377l340 178l340 -178l-66 377l274 268l-378 56l-170 344l-170 -344z" />
<glyph unicode="&#xf007;" horiz-adv-x="1566" d="M0 57v387q0 37 18.5 82t48 86t65.5 74t71 43q18 6 66 13.5t102.5 14.5t104.5 13t77 10q-92 59 -144.5 153.5t-52.5 205.5q0 88 34 165.5t91.5 136t135 92.5t165.5 34t166 -34t136.5 -92.5t92 -136t33.5 -165.5q0 -109 -52 -204.5t-144 -154.5q27 -4 77 -10t104 -13 t101 -14.5t68 -13.5q35 -10 70.5 -42t65.5 -74t48.5 -87t18.5 -82v-387q-10 -4 -22.5 -14t-27 -19.5t-27.5 -16.5t-22 -7h-1370q-35 0 -53 21.5t-45 35.5z" />
<glyph unicode="&#xf008;" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM115 154q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11t11.5 28v153q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11t-11.5 -28v-153zM115 512 q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11.5t11.5 27.5v154q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11.5t-11.5 -27.5v-154zM115 870q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11.5t11.5 27.5v154q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11.5t-11.5 -27.5v-154z M115 1229q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11t11.5 28v153q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11t-11.5 -28v-153zM461 154q0 -16 11 -27.5t28 -11.5h843q16 0 27.5 11t11.5 28v512q0 16 -11 27.5t-28 11.5h-843q-16 0 -27.5 -11.5t-11.5 -27.5v-512z M461 870q0 -16 11 -27.5t28 -11.5h843q16 0 27.5 11.5t11.5 27.5v512q0 16 -11 27.5t-28 11.5h-843q-16 0 -27.5 -11t-11.5 -28v-512zM1497 154q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11t11.5 28v153q0 16 -11.5 27.5t-27.5 11.5h-154q-16 0 -27.5 -11t-11.5 -28v-153 zM1497 512q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11.5t11.5 27.5v154q0 16 -11.5 27.5t-27.5 11.5h-154q-16 0 -27.5 -11.5t-11.5 -27.5v-154zM1497 870q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11.5t11.5 27.5v154q0 16 -11.5 27.5t-27.5 11.5h-154 q-16 0 -27.5 -11.5t-11.5 -27.5v-154zM1497 1229q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11t11.5 28v153q0 16 -11.5 27.5t-27.5 11.5h-154q-16 0 -27.5 -11t-11.5 -28v-153z" />
<glyph unicode="&#xf009;" d="M0 78v536q0 33 22.5 55.5t55.5 22.5h690q33 0 55.5 -22.5t22.5 -55.5v-536q0 -33 -22.5 -55.5t-55.5 -22.5h-690q-33 0 -55.5 22.5t-22.5 55.5zM0 922v538q0 31 22.5 53.5t55.5 22.5h690q33 0 55.5 -22.5t22.5 -53.5v-538q0 -33 -22.5 -54.5t-55.5 -21.5h-690 q-33 0 -55.5 21.5t-22.5 54.5zM999 78v536q0 33 21.5 55.5t54.5 22.5h692q31 0 53.5 -22.5t22.5 -55.5v-536q0 -33 -22.5 -55.5t-53.5 -22.5h-692q-33 0 -54.5 22.5t-21.5 55.5zM999 922v538q0 31 21.5 53.5t54.5 22.5h692q31 0 53.5 -22.5t22.5 -53.5v-538 q0 -33 -22.5 -54.5t-53.5 -21.5h-692q-33 0 -54.5 21.5t-21.5 54.5z" />
<glyph unicode="&#xf00a;" d="M0 78v270q0 33 22.5 54.5t55.5 21.5h358q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5zM0 655v226q0 33 22.5 54t55.5 21h358q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-358q-33 0 -55.5 22.5 t-22.5 54.5zM0 1188v272q0 31 22.5 53.5t55.5 22.5h358q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5zM666 78v270q0 33 22.5 54.5t54.5 21.5h359q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5 h-359q-33 0 -55 22.5t-22 55.5zM666 655v226q0 33 22.5 54t54.5 21h359q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-359q-33 0 -55 22.5t-22 54.5zM666 1188v272q0 31 22.5 53.5t54.5 22.5h359q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5 t-53.5 -22.5h-359q-33 0 -55 22.5t-22 55.5zM1331 78v270q0 33 22.5 54.5t55.5 21.5h358q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5zM1331 655v226q0 33 22.5 54t55.5 21h358q31 0 53.5 -21.5t22.5 -53.5v-226 q0 -33 -22.5 -55t-53.5 -22h-358q-33 0 -55.5 22.5t-22.5 54.5zM1331 1188v272q0 31 22.5 53.5t55.5 22.5h358q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5z" />
<glyph unicode="&#xf00b;" d="M0 78v270q0 33 22.5 54.5t55.5 21.5h297q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5h-297q-33 0 -55.5 22.5t-22.5 55.5zM0 655v226q0 33 22.5 54t55.5 21h297q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-297q-33 0 -55.5 22.5 t-22.5 54.5zM0 1188v272q0 31 22.5 53.5t55.5 22.5h297q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5t-53.5 -22.5h-297q-33 0 -55.5 22.5t-22.5 55.5zM604 78v270q0 33 22.5 54.5t55.5 21.5h1085q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5 h-1085q-33 0 -55.5 22.5t-22.5 55.5zM604 655v226q0 33 22.5 54t55.5 21h1085q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-1085q-33 0 -55.5 22.5t-22.5 54.5zM604 1188v272q0 31 22.5 53.5t55.5 22.5h1085q31 0 53.5 -22.5t22.5 -53.5v-272 q0 -33 -22.5 -55.5t-53.5 -22.5h-1085q-33 0 -55.5 22.5t-22.5 55.5z" />
<glyph unicode="&#xf00c;" d="M0 732.5q0 33.5 23 55.5l174 175q23 23 56.5 22.5t55.5 -22.5l365 -365q23 -23 56.5 -23t55.5 23l746 745q23 23 56.5 23t56.5 -23l174 -174q23 -23 22.5 -56.5t-22.5 -55.5l-910 -910q-23 -23 -62.5 -39t-72.5 -16h-88q-35 0 -75 16.5t-62 38.5l-526 529 q-23 23 -23 56.5z" />
<glyph unicode="&#xf00d;" horiz-adv-x="1536" d="M0 192.5q0 38.5 29 67.5l508 510l-508 500q-29 29 -29 67.5t29 67.5l100 100q29 29 68 29t67 -29l504 -504l504 504q29 29 67.5 29t67.5 -29l100 -100q29 -29 29 -68t-29 -67l-508 -510l508 -500q29 -29 29 -66.5t-29 -66.5l-100 -102q-29 -29 -68 -29t-67 29l-504 505 l-506 -505q-29 -29 -66.5 -29t-66.5 29l-100 100q-29 29 -29 67.5z" />
<glyph unicode="&#xf00e;" horiz-adv-x="1597" d="M0 901q0 137 52 258t143.5 212t212 143.5t258.5 52.5q137 0 259 -52.5t212 -143.5t142 -212t52 -258q0 -102 -28.5 -195.5t-81.5 -170.5l358 -359q18 -18 18 -46t-18 -48l-94 -94q-20 -18 -48 -18.5t-46 18.5l-359 358q-78 -53 -171 -81.5t-195 -28.5q-137 0 -258 52 t-212.5 142t-143.5 211t-52 260zM266 901q0 -84 32 -156.5t86 -126t127 -85t155 -31.5t155.5 31.5t126.5 85t85 126t32 156.5q0 82 -32 154.5t-85 127t-126.5 86t-155.5 31.5t-155 -31.5t-127 -86t-86 -127t-32 -154.5zM399 868v66q0 33 33 33h168v168q0 33 33 32h65 q14 0 24.5 -9t10.5 -23v-168h166q33 0 33 -33v-66q0 -14 -9.5 -24t-23.5 -10h-166v-166q0 -14 -10 -23.5t-25 -9.5h-65q-33 0 -33 33v166h-168q-14 0 -23.5 10t-9.5 24z" />
<glyph unicode="&#xf010;" horiz-adv-x="1597" d="M0 901q0 137 52 258t143.5 212t212 143.5t258.5 52.5q137 0 259 -52.5t212 -143.5t142 -212t52 -258q0 -102 -28.5 -195.5t-81.5 -170.5l358 -359q18 -18 18 -46t-18 -48l-94 -94q-20 -18 -48 -18.5t-46 18.5l-359 358q-78 -53 -171 -81.5t-195 -28.5q-137 0 -258 52 t-212.5 142t-143.5 211t-52 260zM266 901q0 -84 32 -156.5t86 -126t127 -85t155 -31.5t155.5 31.5t126.5 85t85 126t32 156.5q0 82 -32 154.5t-85 127t-126.5 86t-155.5 31.5t-155 -31.5t-127 -86t-86 -127t-32 -154.5zM399 868v66q0 33 33 33h467q33 0 33 -33v-66 q0 -14 -9.5 -24t-23.5 -10h-467q-14 0 -23.5 10t-9.5 24z" />
<glyph unicode="&#xf011;" horiz-adv-x="1488" d="M0 713q0 186 86 349t240 267q12 10 28 6q18 -4 25 -16l90 -131q10 -12 6 -27.5t-16 -25.5q-106 -72 -164.5 -182.5t-58.5 -239.5q0 -104 39.5 -197.5t108.5 -162t162 -108.5t197 -40t197.5 40t163.5 108.5t109.5 161.5t39.5 198q0 129 -59 239.5t-164 182.5 q-14 10 -16 24q-4 16 6 29l88 131q10 12 25.5 15t29.5 -5q154 -104 240 -267t86 -349q0 -154 -58.5 -289t-160 -236.5t-237.5 -160t-290 -58.5t-289 58.5t-236 160t-159.5 236.5t-58.5 289zM627 793v704q0 16 11 27.5t28 11.5h157q16 0 27.5 -11.5t11.5 -27.5v-704 q0 -16 -11 -27.5t-28 -11.5h-157q-16 0 -27.5 11t-11.5 28z" />
<glyph unicode="&#xf012;" d="M0 39v260q0 16 11.5 27.5t27.5 11.5h192q16 0 26.5 -11.5t10.5 -27.5v-260q0 -16 -10 -27.5t-27 -11.5h-192q-39 0 -39 39zM393 39v434q0 16 11.5 27.5t27.5 11.5h193q16 0 26.5 -11.5t10.5 -27.5v-434q0 -16 -10.5 -27.5t-26.5 -11.5h-193q-16 0 -27.5 11.5t-11.5 27.5z M786 39v676q0 16 11.5 27.5t27.5 11.5h193q16 0 27.5 -11.5t11.5 -27.5v-676q0 -16 -11.5 -27.5t-27.5 -11.5h-193q-16 0 -27.5 11.5t-11.5 27.5zM1182 39v995q0 16 10 27.5t27 11.5h192q16 0 27.5 -11t11.5 -28v-995q0 -16 -11.5 -27.5t-27.5 -11.5h-192q-16 0 -26.5 11.5 t-10.5 27.5zM1575 39v1458q0 39 39 39h190q39 0 39 -39v-1458q0 -39 -39 -39h-190q-39 0 -39 39z" />
<glyph unicode="&#xf013;" horiz-adv-x="1593" d="M0 651v236q0 12 30.5 21.5t68.5 15.5t74 9t48 5q18 61 49 117q-55 82 -120 157l-7 15q0 8 28 38.5t62.5 65.5t66.5 62.5t40 27.5q2 0 26.5 -18.5t54.5 -41t56.5 -43t32.5 -24.5q29 16 58.5 26.5t60.5 20.5q0 12 3 49t9 75t15.5 69t21.5 31h237q14 0 19 -15 q12 -49 17 -103t14 -106q31 -8 59.5 -19t56.5 -28q8 6 34 26.5t55.5 43t53 40t29.5 17.5t37 -27.5t65 -62.5t61.5 -65.5t27.5 -38.5q0 -4 -17.5 -28.5t-39 -53.5t-42 -55.5t-24.5 -32.5q33 -55 51 -123q49 -10 103.5 -13t101.5 -20q16 -4 16 -18v-236q0 -12 -29.5 -21.5 t-68.5 -15.5t-76 -9t-49 -5q-14 -57 -47 -117q55 -82 121 -157l6 -15q0 -8 -27.5 -38.5t-62.5 -65.5t-66.5 -62.5t-40.5 -27.5q-2 0 -26.5 18.5t-54 41t-56 43t-33.5 24.5q-29 -16 -58.5 -27.5t-59.5 -19.5q-2 -12 -5.5 -49.5t-9.5 -76t-14 -69.5t-21 -31h-237q-14 0 -19 17 q-14 49 -19 103t-11 103q-61 18 -117 50q-41 -31 -81 -60.5t-79 -62.5l-12 -4q-6 0 -37 27.5t-64.5 62.5t-61 65.5t-27.5 38.5q0 2 16 26.5t37.5 53.5t42 55.5t26.5 34.5q-33 55 -51 123q-51 10 -104.5 13t-100.5 20q-16 4 -16 18zM557 768q0 -49 18.5 -93t51 -77t77 -52.5 t93.5 -19.5t93 19.5t75.5 52.5t51 77t19.5 93t-19.5 92t-51 76t-75.5 51.5t-93 18.5t-93.5 -18.5t-77 -51.5t-51 -76t-18.5 -92z" />
<glyph unicode="&#xf014;" horiz-adv-x="1304" d="M0 1175.5v34.5v36t2 36q25 14 71 23.5t98 15.5t102.5 9t78.5 5q-8 82 11.5 128t59.5 68.5t98.5 29t131.5 6.5q55 0 109.5 -3t97.5 -20.5t68.5 -54.5t25.5 -105v-24t-2 -25q29 -2 79 -5t102.5 -9t99.5 -15.5t72 -23.5v-72v-69q-37 -20 -123 -32.5t-185.5 -19t-193.5 -7.5 t-150 -1q-55 0 -150 1t-194.5 7.5t-184.5 18.5t-122 33q-2 16 -2 34.5zM133 154v837q123 -16 244 -21t244 -5h32q129 2 258 6t258 20v-837q0 -63 -44 -108.5t-107 -45.5h-731q-63 0 -108.5 45t-45.5 109zM303 199q0 -16 10.5 -26.5t26.5 -10.5h39q16 0 27.5 10t11.5 27v614 q0 16 -11.5 27.5t-27.5 11.5h-39q-16 0 -26.5 -11.5t-10.5 -27.5v-614zM504 1384q0 -10 1 -22t3 -23q144 2 291 0q0 12 2 23.5t0 21.5v15q-35 10 -74 11t-74 1q-37 0 -75.5 -1t-73.5 -11v-15zM596 199q0 -16 10 -26.5t27 -10.5h39q16 0 27.5 10t11.5 27v614q0 16 -11.5 27.5 t-27.5 11.5h-39q-16 0 -26.5 -11.5t-10.5 -27.5v-614zM887 199q0 -16 11 -26.5t28 -10.5h39q16 0 27.5 10t11.5 27v614q0 16 -11.5 27.5t-27.5 11.5h-39q-16 0 -27.5 -11.5t-11.5 -27.5v-614z" />
<glyph unicode="&#xf015;" horiz-adv-x="1880" d="M0 809.5q2 15.5 14 26.5l867 710q27 20 59 21q33 0 59 -21l240 -196v102q0 16 11.5 27.5t27.5 11.5h223q16 0 26.5 -11.5t10.5 -27.5v-348l328 -268q12 -10 14 -25.5t-8 -28.5l-45 -53q-10 -14 -29 -14h-65q-16 0 -25 8l-743 608q-25 20 -50 0l-743 -608q-8 -8 -25 -8 h-65q-18 0 -29 14l-45 53q-10 12 -8 27.5zM266 76v622l674 553l674 -553v-622q0 -33 -21.5 -54.5t-54.5 -21.5h-422v498h-352v-498h-422q-33 0 -54.5 21.5t-21.5 54.5z" />
<glyph unicode="&#xf016;" horiz-adv-x="1228" d="M0 78v1382q0 31 22.5 53.5t55.5 22.5h614q33 0 71 -16.5t60 -38.5l351 -351q23 -23 39 -60.5t16 -70.5v-921q0 -33 -22.5 -55.5t-53.5 -22.5h-1075q-33 0 -55.5 22.5t-22.5 55.5zM154 154h921v692h-459q-31 0 -53 22.5t-22 55.5v458h-387v-1228zM268 326v116h693v-116 h-693zM268 596v115h693v-115h-693zM694 999h381q0 4 -4 13.5t-6 11.5l-350 348q-2 4 -9.5 6t-11.5 4v-383z" />
<glyph unicode="&#xf017;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM635 608v465q0 33 23.5 56.5t56.5 23.5h80q35 0 57 -23.5t22 -56.5v-305h201q33 0 56.5 -23.5t23.5 -56.5v-80q0 -33 -23.5 -56.5t-56.5 -23.5h-360q-33 0 -56.5 23.5 t-23.5 56.5z" />
<glyph unicode="&#xf018;" d="M2 35l594 1466q6 14 21.5 24.5t31.5 10.5h195l-8 -170h172l-9 170h195q16 0 31.5 -10t21.5 -25l594 -1466q6 -14 -1 -24.5t-23 -10.5h-740l-26 512h-258l-27 -512h-739q-16 0 -23.5 10t-1.5 25zM807 797h229l-20 413h-189z" />
<glyph unicode="&#xf019;" d="M0 39v614q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-346h1229v346q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-614q0 -39 -39 -39h-1765q-39 0 -39 39zM345.5 944.5q6.5 16.5 39.5 16.5h307v499q0 31 21.5 53.5t54.5 22.5h307q33 0 55.5 -22.5 t22.5 -53.5v-499h307q31 0 37 -16.5t-16 -39.5l-504 -506q-23 -23 -55.5 -22.5t-55.5 22.5l-504 506q-23 23 -16.5 39.5z" />
<glyph unicode="&#xf01a;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM414 743q10 25 37 25h208v358q0 16 11.5 28.5t27.5 12.5h201q16 0 27.5 -12t11.5 -29v-358h209q27 0 37 -25t-10 -43l-347 -346q-14 -10 -28 -10t-29 10l-346 346 q-20 18 -10 43z" />
<glyph unicode="&#xf01b;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177 120t-218 44t-218.5 -44t-177 -120t-119.5 -177t-44 -218zM414 793q-10 25 10 43l346 346q14 10 29 10q14 0 28 -10l347 -346q20 -18 10 -43t-37 -25h-209v-360q0 -16 -11.5 -27.5t-27.5 -11.5h-201q-16 0 -27.5 11t-11.5 28v360h-208 q-27 0 -37 25z" />
<glyph unicode="&#xf01c;" d="M0 78v577q0 33 9 76t22 72l284 663q12 29 44 49.5t63 20.5h999q31 0 63 -20.5t44 -49.5l284 -663q12 -29 21.5 -72t9.5 -76v-577q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM238 694h387l114 -231h383l117 231h367q-2 4 -2 9.5t-2 9.5l-256 594 h-848l-256 -596q-2 -2 -2 -7.5t-2 -9.5z" />
<glyph unicode="&#xf01d;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM582 453v628q0 18 16 29q20 8 31 0l545 -315q16 -6 16 -27q0 -20 -16 -27l-545 -315q-8 -4 -15 -4q-8 0 -16 4q-16 10 -16 27z" />
<glyph unicode="&#xf01e;" horiz-adv-x="1591" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5q141 0 271 -48.5t239 -140.5l161 162q35 35 58.5 24.5t23.5 -57.5v-463q0 -33 -22 -55q-10 -10 -23.5 -16t-29.5 -6h-463q-47 0 -58.5 23.5t23.5 58.5l160 159q-72 57 -159 88t-181 31q-117 0 -218.5 -44t-177 -120 t-119.5 -177t-44 -218t44 -218t119.5 -177t177 -120t218.5 -44q104 0 198.5 37t169 101.5t123.5 153.5t64 191q0 16 14 27q14 10 31 8l157 -20q16 -4 26.5 -16.5t8.5 -28.5q-20 -147 -89.5 -274.5t-176 -220.5t-242 -145.5t-284.5 -52.5q-166 0 -311.5 62.5t-254 171 t-171 254t-62.5 311.5z" />
<glyph unicode="&#xf021;" horiz-adv-x="1916" d="M6 311l150 437q10 33 39 45t59 4l438 -150q45 -16 46 -40.5t-42 -47.5l-202 -100q53 -78 123.5 -134.5t160.5 -86.5q111 -37 221.5 -28t207 56t170 129t110.5 193q6 16 20.5 22t30.5 2l152 -51q16 -6 23 -20.5t1 -30.5q-53 -158 -159.5 -274.5t-243.5 -184t-296 -81 t-315 39.5q-135 47 -241.5 134t-179.5 208l-205 -100q-43 -23 -63.5 -5.5t-4.5 64.5zM203 1024q53 156 159.5 273.5t243.5 185t295 81t316 -39.5q133 -47 240.5 -134t180.5 -208l205 100q43 23 63.5 5.5t4.5 -62.5l-150 -439q-10 -33 -39 -45t-59 -4l-438 150 q-45 16 -46 40.5t40 47.5l202 100q-51 78 -122.5 134.5t-159.5 86.5q-111 37 -221.5 28t-207 -56t-170 -129t-110.5 -193q-6 -16 -20.5 -22t-30.5 -2l-152 51q-16 6 -23 20.5t-1 30.5z" />
<glyph unicode="&#xf022;" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h1536v1075h-1536v-1075zM307 346v76q0 39 39 39h154q16 0 27.5 -11.5t11.5 -27.5v-76q0 -16 -11.5 -27.5t-27.5 -11.5h-154q-39 0 -39 39 zM307 653v76q0 39 39 39h154q16 0 27.5 -11.5t11.5 -27.5v-76q0 -16 -11.5 -27.5t-27.5 -11.5h-154q-39 0 -39 39zM307 961v75q0 39 39 39h154q16 0 27.5 -11t11.5 -28v-75q0 -16 -11.5 -27.5t-27.5 -11.5h-154q-39 0 -39 39zM692 346v76q0 16 10.5 27.5t26.5 11.5h768 q39 0 39 -39v-76q0 -39 -39 -39h-768q-16 0 -26.5 11.5t-10.5 27.5zM692 653v76q0 16 10.5 27.5t26.5 11.5h768q39 0 39 -39v-76q0 -39 -39 -39h-768q-16 0 -26.5 11.5t-10.5 27.5zM692 961v75q0 16 10.5 27.5t26.5 11.5h768q39 0 39 -39v-75q0 -39 -39 -39h-768 q-16 0 -26.5 11t-10.5 28z" />
<glyph unicode="&#xf023;" horiz-adv-x="1253" d="M0 117v626q0 39 21.5 69t56.5 42v164q0 113 43 213t117.5 175t175 118t213.5 43t213 -43t175 -118t118 -175.5t43 -212.5v-164q35 -12 56 -42t21 -69v-626q0 -47 -34.5 -82t-81.5 -35h-1020q-47 0 -82 35t-35 82zM313 862h627v156q0 66 -24.5 123t-67.5 99t-100.5 66.5 t-120.5 24.5q-66 0 -122 -24.5t-99.5 -66.5t-68 -99.5t-24.5 -122.5v-156zM494 164h266l-66 285q29 18 47.5 48.5t18.5 65.5q0 55 -39 95t-94 40t-94 -40t-39 -95q0 -35 18 -65.5t47 -46.5z" />
<glyph unicode="&#xf024;" d="M0 1382q0 63 45 108.5t109 45.5q63 0 108 -45.5t45 -108.5q0 -41 -20.5 -74.5t-55.5 -56.5v-1212q0 -16 -11 -27.5t-27 -11.5h-78q-16 0 -26.5 11.5t-10.5 27.5v1212q-35 23 -56.5 56.5t-21.5 74.5zM307 416v745q0 33 19.5 66t48.5 49q104 55 188 86t144 45q70 16 124 18 q68 0 124.5 -11t107.5 -29.5t99 -43t100 -51.5q63 -29 145 -33q70 -4 164 15.5t207 87.5q29 16 47 6t18 -43v-748q0 -31 -18.5 -64.5t-46.5 -49.5q-113 -68 -207 -87.5t-164 -15.5q-82 4 -145 33q-51 27 -99.5 51.5t-99.5 43t-107.5 29.5t-124.5 11q-55 -2 -124 -18 q-59 -14 -143.5 -45t-188.5 -88q-29 -16 -48.5 -4t-19.5 45z" />
<glyph unicode="&#xf025;" horiz-adv-x="1916" d="M0 729q0 172 85 324.5t221 266.5t307 180.5t345 66.5t345.5 -66.5t307.5 -180.5t221 -266.5t85 -326.5q0 -182 -78 -350l-27 -60l-174 -26q-27 -104 -110.5 -173t-196.5 -69v-41q0 -16 -12 -27.5t-29 -11.5h-80q-16 0 -27.5 11.5t-11.5 27.5v719q0 16 11.5 28.5 t27.5 12.5h80q16 0 28.5 -12.5t12.5 -28.5v-39q88 0 161 -44t114 -116l39 7q33 90 32 192q0 125 -65.5 233.5t-170 190.5t-232.5 129t-251 47t-250.5 -47t-232 -128t-170 -190.5t-65.5 -232.5q0 -104 32 -194l39 -7q41 72 114 116t161 44v39q0 16 12 28.5t29 12.5h80 q16 0 27 -12.5t11 -28.5v-719q0 -16 -11 -27.5t-27 -11.5h-80q-16 0 -28.5 11.5t-12.5 27.5v41q-55 0 -106.5 18.5t-91.5 50.5t-68.5 76t-40.5 97l-175 26l-26 60q-78 168 -78 352z" />
<glyph unicode="&#xf026;" horiz-adv-x="905" d="M0 578v380q0 16 11.5 27.5t27.5 11.5h420l325 326q49 51 84 37t35 -86v-1012q0 -72 -34.5 -86t-84.5 37l-325 326h-420q-16 0 -27.5 11t-11.5 28z" />
<glyph unicode="&#xf027;" horiz-adv-x="1277" d="M0 578v380q0 16 11.5 27.5t27.5 11.5h420l325 326q49 51 84 37t35 -86v-1012q0 -72 -34.5 -86t-84.5 37l-325 326h-420q-16 0 -27.5 11t-11.5 28zM1027 406q-9 32 7 61q84 145 84 301t-84 301q-16 29 -7 61t38 48t60.5 8t48.5 -37q104 -182 104 -381q0 -201 -104 -381 q-23 -41 -70 -41q-20 0 -39 12q-29 16 -38 48z" />
<glyph unicode="&#xf028;" horiz-adv-x="1916" d="M0 578v380q0 16 11.5 27.5t27.5 11.5h420l325 326q49 51 84 37t35 -86v-1012q0 -72 -34.5 -86t-84.5 37l-325 326h-420q-16 0 -27.5 11t-11.5 28zM1027 406q-9 32 7 61q84 145 84 301t-84 301q-16 29 -7 61t38 48t60.5 8t48.5 -37q104 -182 104 -381q0 -201 -104 -381 q-23 -41 -70 -41q-20 0 -39 12q-29 16 -38 48zM1285 219q-7 33 11 62q141 225 142 487q0 262 -142 487q-18 29 -11 62t36 49q29 18 61 11t50 -36q82 -131 123.5 -275t41.5 -298q0 -309 -167 -573q-10 -18 -29 -27.5t-37 -9.5q-25 0 -43 12q-29 16 -36 49zM1540 33 q-6 33 12 59q100 154 152.5 325t52.5 351t-52 351t-153 323q-18 29 -12 61.5t35 50.5q29 16 61 10.5t50 -32.5q115 -174 173 -366.5t58 -397.5t-58.5 -397.5t-172.5 -364.5q-10 -18 -29 -27.5t-37 -9.5q-25 0 -45 13q-29 18 -35 51z" />
<glyph unicode="&#xf029;" horiz-adv-x="1536" d="M0 0v698h698v-698h-698zM0 838v698h698v-698h-698zM139 139h420v420h-420v-420zM139 977h420v420h-420v-420zM279 279v141h141v-141h-141zM279 1116v139h141v-139h-141zM838 0v698h417v-139h142v139h139v-419h-420v139h-139v-418h-139zM838 838v698h698v-698h-698z M977 977h420v420h-420v-420zM1116 0v139h139v-139h-139zM1116 1116v139h139v-139h-139zM1397 0v139h139v-139h-139z" />
<glyph unicode="&#xf02a;" d="M0 0v1536h154v-1536h-154zM227 0v1536h37v-1536h-37zM356 0v1536h117v-1536h-117zM545 0v1536h78v-1536h-78zM715 0v1536h76v-1536h-76zM903 0v1536h37v-1536h-37zM1014 0v1536h153v-1536h-153zM1221 0v1536h77v-1536h-77zM1409 0v1536h39v-1536h-39zM1579 0v1536h37 v-1536h-37zM1690 0v1536h153v-1536h-153z" />
<glyph unicode="&#xf02b;" horiz-adv-x="1488" d="M0 961v454q0 49 35 85t86 36h454q51 0 113 -24.5t94 -61.5l672 -748q33 -39 34 -88t-34 -84l-526 -526q-35 -35 -86 -36t-86 36l-670 750q-35 37 -60.5 96t-25.5 111zM197 1223q0 -49 33.5 -83t82.5 -34t83 34t34 83t-34 82.5t-83 33.5t-82.5 -33.5t-33.5 -82.5z" />
<glyph unicode="&#xf02c;" horiz-adv-x="1875" d="M0 961v454q0 49 35 85t86 36h454q25 0 53.5 -6t57.5 -18.5t54.5 -28t41.5 -33.5l670 -748q33 -37 34 -86t-34 -84l-526 -524q-35 -35 -86.5 -37t-83.5 37l-670 746q-35 39 -60.5 98t-25.5 109zM195 1223q0 -47 34.5 -82t83.5 -35q47 0 82 35t35 82q0 49 -35 83.5 t-82 34.5q-49 0 -83.5 -34.5t-34.5 -83.5zM791 1534h174q51 0 112.5 -24.5t93.5 -61.5l670 -748q35 -37 35 -87t-35 -85l-524 -524q-35 -35 -86 -36t-86 36l-12 14l514 514q35 35 34.5 84.5t-34.5 85.5l-670 748q-31 35 -84 56.5t-102 27.5z" />
<glyph unicode="&#xf02d;" horiz-adv-x="1710" d="M10 311q2 16 4 31.5t4 34.5q0 10 -4 20.5t-2 20.5q2 16 15.5 31.5t25.5 35.5q23 37 45.5 90.5t32.5 92.5q4 16 -1 30.5t-1 26.5q4 16 16.5 27.5t20.5 23.5q10 18 21.5 42t21.5 49.5t16 50t8 40.5t-2 33t0 29q6 16 20.5 26.5t24.5 24.5q10 12 21.5 34.5t23 49.5t19.5 52.5 t10 45.5q2 12 -4 24.5t-2 27.5q4 14 18.5 29.5t26.5 31.5q16 25 28.5 58.5t30 61t46 43t77.5 1.5l-2 -4q31 10 54 10h780q78 0 119 -57q41 -53 18 -129l-283 -906q-18 -63 -77.5 -107t-126.5 -44h-893q-10 0 -20.5 -2t-18.5 -12q-12 -20 0 -56q16 -43 60 -75.5t87 -32.5h946 q29 0 57.5 21.5t37.5 47.5l309 987q4 16 5 29.5t-1 28.5q41 -14 61 -43q41 -53 19 -129l-283 -905q-18 -66 -77.5 -109t-127.5 -43h-946q-41 0 -79.5 14.5t-73.5 39t-61.5 58t-41.5 72.5q-25 68 -2 127zM500 961q-10 -39 26 -39h615q16 0 30.5 11t18.5 28l24 75 q4 16 -3 27.5t-23 11.5h-615q-16 0 -31.5 -11t-19.5 -28zM569 1190q-4 -16 3.5 -26.5t23.5 -10.5h614q16 0 30.5 10.5t21.5 26.5l22 78q4 16 -3 27.5t-24 11.5h-614q-16 0 -30.5 -11.5t-20.5 -27.5z" />
<glyph unicode="&#xf02e;" horiz-adv-x="1253" d="M0 84v1337q0 47 34 81t81 34h1024q47 0 80.5 -34t33.5 -81v-1337q0 -47 -33.5 -81t-80.5 -34t-80 33l-432 432l-432 -432q-33 -33 -80 -33t-81 34t-34 81z" />
<glyph unicode="&#xf02f;" d="M0 39v346q0 47 18.5 89t50 73t73.5 49t89 18h1383q47 0 89 -18t72.5 -49t49 -73t18.5 -89v-346q0 -39 -39 -39h-1765q-39 0 -39 39zM268 193q0 -16 11.5 -26.5t27.5 -10.5h1229q16 0 27.5 10t11.5 27v38q0 16 -11.5 27.5t-27.5 11.5h-1229q-16 0 -27.5 -11t-11.5 -28v-38 zM307 729v731q0 31 22.5 53.5t55.5 22.5h651v-383q0 -49 34 -83t81 -34h385v-307h-1229zM1151 1153v383l385 -383h-385z" />
<glyph unicode="&#xf030;" d="M0 115v1075q0 47 34 82t81 35h366l58 125q18 43 66 73.5t95 30.5h443q47 0 95 -30.5t67 -73.5l57 -125h367q47 0 80.5 -35t33.5 -82v-1075q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM442 653q0 -100 38 -187t102.5 -152.5t153 -103.5t186.5 -38t186 38 t152.5 103.5t102.5 152.5t38 187q0 98 -38 186.5t-102.5 153t-152.5 102.5t-186 38t-186.5 -38t-153 -102.5t-102.5 -152.5t-38 -187zM596 653q0 68 25.5 127.5t69.5 103.5t103.5 69.5t127.5 25.5t127 -25.5t103 -69.5t69.5 -103.5t25.5 -127.5t-25.5 -127t-69.5 -104 t-103.5 -70.5t-126.5 -25.5q-68 0 -127.5 25.5t-103.5 70.5t-69.5 104.5t-25.5 126.5z" />
<glyph unicode="&#xf031;" horiz-adv-x="1644" d="M0 0l2 80q10 4 29.5 8t48.5 8q92 18 108 33q16 10 50 68l233 614l277 725h73h53l11 -20l202 -482q33 -78 64 -151.5t59 -145.5q29 -72 52.5 -130t42.5 -103q12 -29 28.5 -70t36.5 -94q23 -66 64 -150q25 -49 34 -57q20 -18 68 -24q25 -2 49.5 -9.5t52.5 -17.5 q6 -37 7 -55v-10.5t-3 -16.5q-43 0 -90 2t-98 6q-53 4 -99 6t-87 2h-80t-53 -2l-199 -10l-57 -2q0 20 1 39.5t3 38.5l129 26q57 14 67 25q12 8 13 27q0 14 -7 30l-47 115l-90 227l-446 2q-12 -29 -37 -96t-66 -178q-23 -63 -22 -84q0 -27 16 -43q14 -10 40 -17.5t63 -13.5 q14 -4 84 -12v-59q0 -16 -2 -27q-35 0 -121 5t-224 16l-49 -9q-43 -8 -83 -11t-81 -3h-20zM549 655q135 -2 216 -4t105 0l29 2q-18 51 -40.5 111.5t-51.5 130.5t-51.5 122t-38.5 87z" />
<glyph unicode="&#xf032;" horiz-adv-x="1419" d="M0 0l2 94q27 6 68 12q39 6 69.5 13.5t55.5 17.5q8 14 13 26.5t7 24.5q6 33 8 81t2 112l-2 498q-2 39 -3 139t-5 266q-4 88 -12 109q-4 8 -13 10q-20 14 -69 16q-23 0 -115 13l-4 84l262 6l383 12h45q8 2 15.5 2h13.5t21.5 -1t39.5 -1h76q92 0 193 -27q18 -4 42.5 -13 t53.5 -26q63 -31 104 -75q45 -47 66 -105q10 -29 15 -58.5t5 -62.5q0 -72 -32 -129q-31 -57 -95 -104q-16 -12 -54 -30.5t-97 -47.5q178 -41 268 -145q92 -104 92 -236q0 -72 -28 -162q-23 -66 -72 -116q-66 -72 -141 -109q-78 -35 -205 -59q-70 -12 -199 -11l-199 5 q-63 2 -138 -2.5t-163 -10.5q-25 -2 -93 -4t-181 -6zM537 1419q0 -12 1 -31.5t3 -44.5q2 -51 4 -119.5t0 -158.5v-98v-78q25 -4 52.5 -6t57.5 -2q176 0 267 65q90 66 90 225q0 113 -86 187q-84 76 -258 76q-53 0 -131 -15zM545 457l4 -271q0 -16 10 -43q74 -33 141 -32 q131 0 220 41q82 39 122 112q18 37 28.5 82t10.5 100q0 113 -43 181q-59 94 -141 125q-80 33 -250 32q-37 0 -61.5 -3t-40.5 -7v-143v-174z" />
<glyph unicode="&#xf033;" horiz-adv-x="1054" d="M0 0l18 84q12 4 32 9t46 11q41 10 71 19.5t50 19.5q29 39 41 103l29 137l57 268l12 64q23 119 41.5 178t18.5 63l30 156l17 64l22 135l9 49v39q-45 23 -148 28q-14 0 -23.5 1.5t-17.5 1.5l21 104l325 -14q31 -2 49.5 -2h26.5q35 0 89 2t132 6q41 4 68.5 6t38.5 2 q-2 -10 -3 -19.5t-3 -19.5q-4 -10 -7.5 -22.5t-7.5 -28.5q-49 -16 -110 -31q-66 -16 -105 -31q-12 -33 -24 -88q-6 -25 -9.5 -45t-5.5 -37q-23 -100 -40 -175.5t-27 -129.5l-64 -311l-39 -158l-43 -235l-14 -45v-10.5t2 -16.5q35 -8 64.5 -13t58.5 -9q4 0 21.5 -2.5 l45.5 -6.5q-2 -18 -3 -32.5t-3 -26.5q-2 -6 -4 -16.5t-6 -22.5q-8 0 -14 -1t-10 -1q-18 -2 -28.5 -2h-14.5h-11.5t-17.5 4q-8 0 -45 4t-105 12l-202 2q-61 0 -181 -12q-39 -4 -63.5 -6t-36.5 -2z" />
<glyph unicode="&#xf034;" d="M0 1151q14 37 34.5 110.5t45.5 184.5q8 33 13 54.5t9 31.5h58q4 -6 6 -10t4 -9q29 -57 41 -71q16 -4 129 -4q35 0 66.5 1t60.5 1l20 2l113 2l213 -2h289l55 10q10 8 27 53q2 6 4 12.5t6 16.5l43 2h10.5t16.5 -2q2 -39 1 -97.5t1 -138.5v-100v-57q0 -14 -1 -27.5t-3 -23.5 q-20 -8 -37 -11.5t-31 -7.5q-27 51 -53 129q-29 82 -37 92q-12 14 -27 21q-10 4 -60 4h-138h-31t-35 -4q-6 -43 -6 -72l2 -151v-334l2 -359v-147q0 -72 10 -117q8 -4 21.5 -8t34.5 -8q4 0 21 -4t50 -13q27 -10 49 -18q4 -20 4 -33.5v-17.5v-11.5t-2 -17.5h-34q-47 0 -88 2 t-76 6t-95.5 6t-148.5 2q-16 0 -57 -4t-109 -10q-29 -2 -45 -3t-24 -1q0 10 -1.5 16.5t-1.5 10.5l-2 24v10q18 31 80 50q94 27 135 49q4 10 6.5 25.5t4.5 31.5q4 68 6 176.5t0 255.5l-4 428q-2 90 -2 142.5t-4 72.5q0 8 -7 15q-4 6 -12 6q-16 4 -63 4h-127q-90 0 -119 -21 q-41 -29 -121 -153q-23 -35 -35 -35q-23 12 -36 23.5t-19 19.5zM1383 1305.5q-5 13.5 14 33.5l184 185q14 12 33 12q14 0 31 -12l184 -185q18 -20 13 -33.5t-34 -13.5h-118v-1048h118q29 0 34 -13.5t-13 -31.5l-184 -187q-16 -12 -33 -12q-16 0 -31 12l-184 187 q-18 18 -13 31.5t31 13.5h121v1048h-121q-27 0 -32 13.5z" />
<glyph unicode="&#xf035;" horiz-adv-x="1536" d="M0 233q0 18 12 31l187 185q18 20 31.5 14t13.5 -33v-121h1048v121q0 27 13.5 33t33.5 -14l185 -185q12 -12 12 -31q0 -18 -12 -30l-185 -187q-20 -18 -33.5 -13t-13.5 34v119h-1048v-119q0 -29 -13.5 -34t-31.5 13l-187 187q-12 12 -12 30zM0 1233q14 29 33.5 87 t44.5 146q6 27 11 43.5t9 26.5h56q8 -12 10 -14q27 -47 37 -58q2 0 35.5 -1t77.5 -1h90.5h74.5h123l19 2h108h203h416l53 6q12 10 24 46l4.5 9l6.5 13h39h28v-188v-80v-45q0 -12 -1 -21.5t-3 -19.5q-33 -10 -63 -15q-25 37 -52 103q-27 59 -34 74q-12 10 -27 14q-6 2 -42 3 t-85 1h-103.5h-97.5h-28.5t-34.5 -2q-2 -18 -3 -32.5t-1 -24.5l4 -445l-2 -119q0 -61 12 -92q12 -6 53 -12q4 0 20.5 -4t45.5 -10q14 -4 26.5 -7.5t22.5 -7.5q2 -16 3 -25.5t1 -13.5t-1 -10t-1 -14h-33q-94 0 -157 6q-66 6 -236 6q-14 0 -53 -3t-105 -7q-27 -2 -43 -3 t-24 -1q0 16 -2 20v21v8q20 27 73 39q90 20 132 41q4 8 6 19t4 26q0 18 1 70.5t1 120t-1 142t-2 139t-2 107.5t-1 47q0 8 -6 13q-2 2 -13 6q-14 2 -59 2h-123q-20 0 -62 -1t-85 -2t-78 -4t-41 -7q-41 -25 -117 -123q-20 -29 -33 -29q-23 10 -35 19.5t-18 15.5z" />
<glyph unicode="&#xf036;" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t55.5 22.5h1075q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1075 q-33 0 -55.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t55.5 22.5h1536q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1536q-33 0 -55.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t55.5 22.5h921q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-921q-33 0 -55.5 22.5t-22.5 52.5z" />
<glyph unicode="&#xf037;" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM78 922v114q0 33 21.5 55.5t54.5 22.5h1536q33 0 55 -22.5t22 -55.5v-114q0 -33 -22.5 -54.5t-54.5 -21.5h-1536 q-33 0 -54.5 21.5t-21.5 54.5zM307 500v114q0 33 22.5 55.5t55.5 22.5h1075q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1075q-33 0 -55.5 22.5t-22.5 55.5zM385 1343v117q0 31 21.5 53.5t54.5 22.5h921q33 0 55.5 -22.5t22.5 -53.5v-117 q0 -31 -22.5 -53t-55.5 -22h-921q-33 0 -54.5 22.5t-21.5 52.5z" />
<glyph unicode="&#xf038;" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM154 922v114q0 33 22.5 55.5t54.5 22.5h1536q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1536 q-33 0 -55 21.5t-22 54.5zM614 500v114q0 33 22.5 55.5t55.5 22.5h1075q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1075q-33 0 -55.5 22.5t-22.5 55.5zM768 1343v117q0 31 22.5 53.5t55.5 22.5h921q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-921q-33 0 -55.5 22.5t-22.5 52.5z" />
<glyph unicode="&#xf039;" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1689 q-33 0 -55.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1689q-33 0 -55.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-117 q0 -31 -22.5 -53t-53.5 -22h-1689q-33 0 -55.5 22.5t-22.5 52.5z" />
<glyph unicode="&#xf03a;" d="M0 78v115q0 31 22.5 53t55.5 22h153q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-153q-33 0 -55.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t55.5 22.5h153q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-153 q-33 0 -55.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t55.5 22.5h153q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-153q-33 0 -55.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t55.5 22.5h153q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-153q-33 0 -55.5 22.5t-22.5 52.5zM461 78v115q0 31 22.5 53t55.5 22h1228q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1228q-33 0 -55.5 22.5t-22.5 55.5zM461 500v114q0 33 22.5 55.5t55.5 22.5h1228q31 0 53.5 -22.5t22.5 -55.5v-114 q0 -33 -22.5 -55.5t-53.5 -22.5h-1228q-33 0 -55.5 22.5t-22.5 55.5zM461 922v114q0 33 22.5 55.5t55.5 22.5h1228q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1228q-33 0 -55.5 21.5t-22.5 54.5zM461 1343v117q0 31 22.5 53.5t55.5 22.5h1228 q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53t-53.5 -22h-1228q-33 0 -55.5 22.5t-22.5 52.5z" />
<glyph unicode="&#xf03b;" d="M0 756v75q0 39 39 39h213v154q0 31 16.5 37t38.5 -17l215 -215q16 -16 17 -36q0 -18 -17 -35l-215 -215q-23 -23 -39 -17t-16 39v152h-213q-39 0 -39 39zM614 39v1458q0 39 39 39h76q39 0 39 -39v-1458q0 -39 -39 -39h-76q-39 0 -39 39zM922 78v115q0 31 22.5 53t54.5 22 h768q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-768q-33 0 -55 22.5t-22 55.5zM922 500v114q0 33 22.5 55.5t54.5 22.5h615q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-615q-33 0 -55 22.5t-22 55.5zM922 922v114 q0 33 22.5 55.5t54.5 22.5h691q33 0 55 -22.5t22 -55.5v-114q0 -33 -22.5 -54.5t-54.5 -21.5h-691q-33 0 -55 21.5t-22 54.5zM922 1343v117q0 31 22.5 53.5t54.5 22.5h537q33 0 55.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53t-55.5 -22h-537q-33 0 -55 22.5t-22 52.5z" />
<glyph unicode="&#xf03c;" d="M0 78v115q0 31 22.5 53t53.5 22h768q33 0 55.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-55.5 -22.5h-768q-31 0 -53.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t53.5 22.5h614q33 0 55.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-55.5 -22.5h-614 q-31 0 -53.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t53.5 22.5h692q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-692q-31 0 -53.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t53.5 22.5h538q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-538q-31 0 -53.5 22.5t-22.5 52.5zM1075 39v1458q0 39 39 39h76q16 0 27.5 -11.5t11.5 -27.5v-1458q0 -16 -11.5 -27.5t-27.5 -11.5h-76q-39 0 -39 39zM1305 743q0 16 14 35l217 215q23 23 38 17t15 -39v-152h215q16 0 27.5 -11t11.5 -28v-75q0 -16 -11 -27.5 t-28 -11.5h-215v-154q0 -31 -15 -38t-38 15l-217 218q-14 18 -14 36z" />
<glyph unicode="&#xf03d;" d="M0 324v768q0 47 18.5 89t50 72.5t73.5 49t89 18.5h768q47 0 89 -18.5t73 -49t49.5 -72.5t18.5 -89v-240l483 471q23 23 55 23q13 -1 29 -7q47 -20 47 -69v-1127q0 -49 -47 -69q-16 -6 -29 -6q-33 0 -55 22l-483 471v-237q0 -47 -18.5 -89t-49.5 -74t-72.5 -50.5 t-89.5 -18.5h-768q-47 0 -89 18.5t-73.5 50.5t-50 73.5t-18.5 89.5z" />
<glyph unicode="&#xf03e;" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h1536v1228h-1536v-1228zM307 307v105l277 360l188 -156l354 537l410 -424v-422h-1229zM307 1073q0 66 45 111t111 45q63 0 108 -45 t45 -111q0 -63 -45 -108t-108 -45q-66 0 -111 45t-45 108z" />
<glyph unicode="&#xf040;" horiz-adv-x="1536" d="M0 0l137 418l867 866l280 -280l-866 -867zM287 407.5q0 -12.5 10 -22.5q8 -8 22 -8q12 0 21 8l690 690q20 20 0 43q-10 10 -22.5 10t-20.5 -10l-690 -688q-10 -10 -10 -22.5zM1102 1382l119 119q35 35 84 35t84 -35l57 -55l55 -57q35 -35 35 -84.5t-35 -83.5l-119 -119z " />
<glyph unicode="&#xf041;" horiz-adv-x="1128" d="M0 1001q0 117 44 220.5t121 180.5t180.5 121t219.5 44q117 0 219.5 -44t179 -121t120.5 -180.5t44 -220.5q0 -84 -24.5 -159.5t-65.5 -143.5l-379 -661q-41 -68 -95 -68t-93 68l-381 663q-41 68 -65.5 143t-24.5 158zM285 1001q0 -57 21.5 -108t60.5 -89t89 -59.5 t109 -21.5q57 0 108.5 21.5t89.5 59.5t59.5 89t21.5 108t-21.5 108.5t-59.5 90.5t-89 60.5t-109 21.5q-59 0 -109 -21.5t-89 -60.5t-60.5 -90t-21.5 -109z" />
<glyph unicode="&#xf042;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44v1118q-117 0 -218.5 -44 t-177 -120t-119.5 -177t-44 -218z" />
<glyph unicode="&#xf043;" horiz-adv-x="1130" d="M0 535q0 86 23.5 161.5t66.5 141.5q20 33 69.5 99.5t108 154.5t113.5 193.5t90 217.5q10 35 37 51.5t57 12.5q31 4 57.5 -12.5t36.5 -51.5q33 -113 89.5 -218t115 -193t107.5 -154.5t69 -99.5q43 -66 66.5 -141.5t23.5 -161.5q0 -117 -44 -220.5t-120.5 -180.5t-180 -121 t-220.5 -44t-220 44t-180 121t-121 180.5t-44 220.5zM248 410q0 -59 41 -100.5t100 -41.5t100 41t41 101q0 43 -22 75q-6 8 -18.5 24.5t-26.5 39t-28.5 48.5t-22.5 54q-4 20 -23 17q-18 4 -24 -17q-8 -29 -21.5 -54.5t-28 -48t-27 -38.5t-18.5 -25q-23 -33 -22 -75z" />
<glyph unicode="&#xf044;" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h1075q4 0 10.5 -1t10.5 -1l-191 -191h-905q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v445l193 192v-637q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5 h-1075q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM631 324l108 329l652 652l221 -222l-651 -651zM866 629q6 -8 17 -8q10 0 16 8l512 510q18 18 0 35q-18 16 -35 0l-510 -510q-18 -18 0 -35zM1501 1415l92 94q29 29 68 29t65 -29l46 -45l45 -45 q27 -29 27.5 -66.5t-27.5 -66.5l-95 -92z" />
<glyph unicode="&#xf045;" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h836q-6 -31 -6 -63v-52q-164 -20 -310 -78h-520q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v111q16 10 31.5 21.5t32.5 27.5l129 127v-287q0 -63 -25 -118.5 t-67 -97.5t-97 -66.5t-119 -24.5h-1075q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM385 388.5v37.5q0 166 56.5 312.5t173 256t293.5 173t419 65.5v231q0 57 28.5 69.5t69.5 -28.5l392 -391q27 -25 26 -65q0 -39 -26 -64l-392 -391q-41 -41 -69.5 -28.5 t-28.5 69.5v260q-207 0 -364.5 -43t-266 -116.5t-170 -174t-77.5 -215.5q-4 -27 -31 -27q-25 0 -29 27q-4 23 -4 42.5z" />
<glyph unicode="&#xf046;" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h1075q27 0 52 -6l-187 -187h-940q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v326l193 192v-518q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5h-1075 q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM385 966.5q0 32.5 23 55.5l98 98q23 23 55.5 23t54.5 -23l340 -340l654 656q23 23 56.5 22.5t55.5 -22.5l99 -99q23 -23 22.5 -55.5t-22.5 -54.5l-711 -711l-98 -98q-23 -23 -55.5 -23t-55.5 23l-100 98l-393 395 q-23 23 -23 55.5z" />
<glyph unicode="&#xf047;" horiz-adv-x="1597" d="M0 768q0 25 18 43l256 256q27 27 45.5 19.5t18.5 -46.5v-170h360v359h-172q-37 0 -45 18.5t19 44.5l256 256q18 18 43 19q25 0 43 -19l256 -256q27 -27 19.5 -45t-46.5 -18h-172v-359h361v170q0 39 18 46.5t45 -19.5l256 -256q18 -18 18 -43t-18 -43l-256 -256 q-27 -27 -45 -19.5t-18 46.5v176h-361v-365h172q39 0 47 -18.5t-20 -44.5l-256 -256q-18 -18 -43 -19q-25 0 -43 19l-256 256q-27 27 -20 45t46 18h172v365h-360v-176q0 -39 -18.5 -46.5t-45.5 19.5l-256 256q-18 18 -18 43z" />
<glyph unicode="&#xf048;" horiz-adv-x="1075" d="M0 76q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5v-1382zM307.5 768q-0.5 27 16.5 43l653 707q14 18 41 18q6 0 22 -4q35 -18 35 -59v-1412q0 -41 -35 -57q-39 -14 -63 14l-653 705 q-16 18 -16.5 45z" />
<glyph unicode="&#xf049;" d="M0 76q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5v-1382zM307.5 768q-0.5 27 16.5 43l653 707q14 18 41 18q6 0 22 -4q35 -18 35 -59v-1412q0 -41 -35 -57q-39 -14 -63 14l-653 705 q-16 18 -16.5 45zM1075.5 768q-0.5 27 16.5 43l653 707q14 18 41 18q6 0 22 -4q35 -18 35 -59v-1412q0 -41 -35 -57q-39 -14 -63 14l-653 705q-16 18 -16.5 45z" />
<glyph unicode="&#xf04a;" horiz-adv-x="1536" d="M0 767q0 26 16 44l654 707q14 18 41 18q10 0 22 -6q35 -14 35 -57v-1412q0 -41 -35 -57q-37 -16 -63 14l-654 705q-16 18 -16 44zM768 767q0 26 16 44l654 707q14 18 41 18q10 0 22 -6q35 -14 35 -57v-1412q0 -41 -35 -57q-37 -16 -63 14l-654 705q-16 18 -16 44z" />
<glyph unicode="&#xf04b;" horiz-adv-x="1349" d="M0 70v1396q0 39 35 60q37 23 69 0l1211 -697q35 -25 35 -61q0 -37 -35 -61l-1211 -697q-16 -10 -34 -10t-35 10q-35 20 -35 60z" />
<glyph unicode="&#xf04c;" horiz-adv-x="1536" d="M0 70v1396q0 29 20.5 49.5t49.5 20.5h489q29 0 49.5 -20.5t20.5 -49.5v-1396q0 -29 -20.5 -49.5t-49.5 -20.5h-489q-29 0 -49.5 20.5t-20.5 49.5zM907 70v1396q0 29 20.5 49.5t49.5 20.5h489q29 0 49.5 -20.5t20.5 -49.5v-1396q0 -29 -20.5 -49.5t-49.5 -20.5h-489 q-29 0 -49.5 20.5t-20.5 49.5z" />
<glyph unicode="&#xf04d;" horiz-adv-x="1536" d="M0 70v1396q0 29 20.5 49.5t49.5 20.5h1396q29 0 49.5 -20.5t20.5 -49.5v-1396q0 -29 -20.5 -49.5t-49.5 -20.5h-1396q-29 0 -49.5 20.5t-20.5 49.5z" />
<glyph unicode="&#xf04e;" horiz-adv-x="1536" d="M0 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM768 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57z" />
<glyph unicode="&#xf050;" d="M0 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM768 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM1536 76 q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5v-1382z" />
<glyph unicode="&#xf051;" horiz-adv-x="1075" d="M0 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM768 76q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5 v-1382z" />
<glyph unicode="&#xf052;" horiz-adv-x="1536" d="M0 70v198q0 29 20.5 49.5t49.5 20.5h1396q29 0 49.5 -20.5t20.5 -49.5v-198q0 -29 -20.5 -49.5t-49.5 -20.5h-1396q-29 0 -49.5 20.5t-20.5 49.5zM6 594q-18 43 14 76l699 698q20 20 49 20.5t49 -20.5l699 -698q33 -33 14 -76q-16 -43 -64 -43h-1396q-47 0 -64 43z" />
<glyph unicode="&#xf053;" horiz-adv-x="964" d="M0 765q0 38 29 66l671 674q29 29 68 29t68 -29l100 -100q29 -29 29 -68t-29 -67l-508 -510l508 -500q29 -29 29 -66.5t-29 -66.5l-100 -102q-29 -29 -68 -29t-68 29l-671 673q-29 29 -29 67z" />
<glyph unicode="&#xf054;" horiz-adv-x="964" d="M0 194.5q0 38.5 29 67.5l508 508l-508 502q-29 29 -29 66.5t29 66.5l100 102q29 29 68 29t67 -29l672 -673q29 -29 29 -68t-29 -68l-672 -671q-29 -29 -67.5 -29t-67.5 29l-100 100q-29 29 -29 67.5z" />
<glyph unicode="&#xf055;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM338 688q0 -33 33 -33h313v-344q0 -33 33 -32h164q33 0 32 32v344h314 q12 0 22.5 9.5t10.5 23.5v158q0 14 -10.5 23.5t-22.5 9.5h-314v346q0 33 -32 32h-164q-33 0 -33 -32v-346h-313q-33 0 -33 -33v-158z" />
<glyph unicode="&#xf056;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM338 688q0 -33 33 -33h856q12 0 22.5 9.5t10.5 23.5v158q0 14 -10.5 23.5 t-22.5 9.5h-856q-33 0 -33 -33v-158z" />
<glyph unicode="&#xf057;" horiz-adv-x="1597" d="M0 770q0 154 58.5 301.5t174.5 263.5q117 117 264.5 175.5t301 58.5t301 -58.5t264.5 -175.5t175 -264t58 -301t-58 -301t-175 -264t-264.5 -175.5t-301 -58.5t-301 58.5t-264.5 175.5t-175 264t-58 301zM385 505q0 -13 10 -24l115 -116q10 -10 23.5 -10.5t23.5 10.5 l244 243l219 -221q10 -10 23.5 -10t23.5 10l113 113q23 23 0 47l-222 219l246 246q23 23 0 47l-117 115q-25 25 -47 0l-243 -244l-222 221q-10 10 -23 10t-24 -10l-110 -113q-25 -23 0 -47l219 -219l-242 -244q-10 -10 -10 -23z" />
<glyph unicode="&#xf058;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 718q0 -20 14 -34l319 -319q14 -14 38 -24.5t44 -10.5h56q20 0 43.5 10 t38.5 25l550 550q14 14 14.5 34t-14.5 34l-104 107q-16 14 -35.5 14t-34.5 -14l-452 -453q-14 -14 -33.5 -14t-34.5 14l-221 221q-14 14 -33.5 14t-36.5 -14l-104 -106q-14 -14 -14 -34z" />
<glyph unicode="&#xf059;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM532 1100l95 -115q4 -8 20 -12q12 0 23 6l10 8t27.5 17.5t39 16.5t46.5 7 q41 0 69.5 -22.5t28.5 -57.5q0 -37 -24.5 -64.5t-61.5 -60.5q-23 -18 -46.5 -40.5t-43 -51.5t-31.5 -63.5t-12 -79.5v-64q0 -12 9 -21t21 -9h164q12 0 20.5 9t8.5 21v51q0 39 25.5 66.5t62.5 60.5q25 20 49.5 46t46 57t34.5 69.5t13 90.5q0 68 -27.5 121t-73.5 87.5 t-103.5 53t-114.5 18.5q-63 0 -113.5 -16.5t-85.5 -35.5t-53 -35.5t-20 -18.5q-16 -16 -3 -39zM672 252q0 -12 9 -21.5t21 -9.5h164q12 0 20.5 9.5t8.5 21.5v156q0 12 -8 21t-21 9h-164q-12 0 -21 -9t-9 -21v-156z" />
<glyph unicode="&#xf05a;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM573 858q0 -29 29 -29h86v-409h-78q-12 0 -21 -8.5t-9 -20.5v-139q0 -12 9 -21.5 t21 -9.5h402q12 0 20 9.5t8 21.5v139q0 29 -28 29h-78v577q0 12 -8 21.5t-21 9.5h-303q-12 0 -20.5 -9t-8.5 -22v-139zM686 1151q0 -12 9.5 -21.5t21.5 -9.5h188q12 0 20.5 9.5t8.5 21.5v166q0 29 -29 29h-188q-12 0 -21.5 -8.5t-9.5 -20.5v-166z" />
<glyph unicode="&#xf05b;" horiz-adv-x="1536" d="M0 692v154q0 16 11.5 26.5t27.5 10.5h164q18 84 59 158.5t99.5 133t133 99.5t158.5 59v164q0 39 39 39h154q16 0 26.5 -11.5t10.5 -27.5v-164q84 -18 158.5 -59t133 -99.5t99.5 -133t59 -158.5h164q16 0 27.5 -10.5t11.5 -26.5v-154q0 -39 -39 -39h-164 q-18 -84 -59 -158.5t-99.5 -133t-133 -99.5t-158.5 -59v-164q0 -16 -10.5 -27.5t-26.5 -11.5h-154q-39 0 -39 39v164q-84 18 -158.5 59t-133 99.5t-99.5 133t-59 158.5h-164q-39 0 -39 39zM365 653q29 -106 105.5 -183t182.5 -105v174q0 16 11.5 26t27.5 10h154 q16 0 26.5 -10t10.5 -26v-174q106 29 183 105.5t105 182.5h-172q-39 0 -38 39v154q0 16 11 26.5t27 10.5h172q-29 106 -105.5 183t-182.5 105v-172q0 -16 -10.5 -27t-26.5 -11h-154q-39 0 -39 38v172q-106 -29 -183 -105.5t-105 -182.5h174q16 0 26 -10.5t10 -26.5v-154 q0 -16 -10 -27.5t-26 -11.5h-174z" />
<glyph unicode="&#xf05c;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM451 573.5q0 16.5 12 28.5l166 166l-166 166q-12 12 -12 28.5t12 28.5l112 113q29 29 58 0l166 -166l166 166q29 29 57 0l113 -113q29 -29 0 -57l-166 -166l166 -166 q29 -29 0 -57l-113 -113q-12 -12 -28.5 -12t-28.5 12l-166 166l-166 -166q-12 -12 -28.5 -12t-29.5 12l-112 113q-12 12 -12 28.5z" />
<glyph unicode="&#xf05d;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM332 717.5q0 17.5 10 27.5l115 115q10 10 27.5 10t27.5 -10l178 -180q29 -25 58 0l337 340q10 10 27.5 10t28.5 -10l114 -115q10 -10 10.5 -27.5t-10.5 -27.5l-409 -410 q-12 -12 -32.5 -20t-37.5 -8h-114q-16 0 -37 8t-33 20l-250 250q-10 10 -10 27.5z" />
<glyph unicode="&#xf05e;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -84 23.5 -160t66.5 -141l770 770q-66 43 -141.5 66.5t-159.5 23.5 q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM498 297q66 -41 141.5 -64.5t159.5 -23.5q117 0 218 44t177 120t120 177t44 218q0 84 -23.5 160t-64.5 141z" />
<glyph unicode="&#xf060;" horiz-adv-x="1536" d="M0 768q0 39 29 68l671 673q29 29 68 29t68 -29l100 -100q29 -29 29 -67.5t-29 -67.5l-338 -338h842q41 0 68.5 -27.5t27.5 -68.5v-144q0 -39 -27.5 -66.5t-66.5 -27.5h-844l338 -338q29 -29 29 -67.5t-29 -67.5l-100 -100q-29 -29 -68 -29t-68 29l-671 671q-29 29 -29 68 z" />
<glyph unicode="&#xf061;" horiz-adv-x="1536" d="M0 698v144q0 39 27.5 66.5t66.5 27.5h844l-338 338q-29 29 -29 67.5t29 67.5l100 100q29 29 68 29t68 -29l671 -673q29 -29 29 -67t-29 -67l-671 -673q-29 -29 -68 -29t-68 29l-100 100q-29 29 -29 68t29 67l338 338h-844q-39 0 -66.5 27.5t-27.5 68.5z" />
<glyph unicode="&#xf062;" horiz-adv-x="1536" d="M-1 768q-1 39 28 68l673 671q29 29 68 29t68 -29l671 -671q29 -29 29 -68t-29 -68l-100 -100q-29 -29 -66.5 -29t-66.5 29l-340 338v-844q0 -39 -27.5 -66.5t-66.5 -27.5h-144q-41 0 -67.5 27.5t-26.5 66.5v844l-338 -338q-29 -29 -67.5 -29t-67.5 29l-100 100 q-29 29 -30 68z" />
<glyph unicode="&#xf063;" horiz-adv-x="1536" d="M0 766q0 39 29 68l100 100q29 29 68 29t67 -29l338 -338v844q0 39 27.5 66.5t66.5 27.5h144q41 0 67.5 -27.5t26.5 -66.5v-844l340 338q29 29 66.5 29t66.5 -29l102 -100q29 -29 29 -68t-29 -68l-673 -671q-29 -29 -68 -29t-68 29l-671 671q-29 29 -29 68z" />
<glyph unicode="&#xf064;" d="M0 135q0 209 71.5 393.5t218 322.5t371 219t531.5 83v293q0 72 36 87t89 -36l491 -493q35 -33 35 -82q0 -47 -35 -82l-491 -494q-51 -51 -88 -35.5t-37 86.5v330q-262 -2 -461 -56.5t-336 -147.5t-215 -219t-98 -271q-4 -33 -37 -33h-2q-33 0 -37 33q-6 51 -6 102z" />
<glyph unicode="&#xf065;" horiz-adv-x="1536" d="M0 86v522q0 53 26.5 64.5t65.5 -25.5l166 -166l274 275q12 12 31 12t33 -12l160 -160q12 -14 12 -32.5t-12 -31.5l-275 -274l166 -166q39 -39 27 -65.5t-66 -26.5h-520q-37 0 -61 25q-27 27 -27 61zM768 972.5q0 18.5 12 31.5l275 274l-166 166q-39 39 -27 65.5t66 26.5 h520q37 0 61 -25q27 -27 27 -61v-522q0 -53 -26.5 -64.5t-65.5 25.5l-166 166l-274 -273q-12 -14 -31 -14t-33 14l-160 158q-12 14 -12 32.5z" />
<glyph unicode="&#xf066;" horiz-adv-x="1536" d="M0 202.5q0 18.5 12 33.5l275 272l-166 166q-39 39 -27 65.5t66 26.5h520q38 0 61 -25q27 -27 27 -61v-522q0 -53 -26.5 -64.5t-65.5 27.5l-166 166l-274 -275q-12 -14 -31 -14t-33 14l-160 160q-12 12 -12 30.5zM768 854v522q0 53 26.5 64.5t65.5 -27.5l166 -166l274 275 q12 14 31 14t33 -14l160 -160q12 -12 12 -30.5t-12 -33.5l-275 -272l166 -166q39 -39 27 -65.5t-66 -26.5h-520q-41 0 -61 25q-27 27 -27 61z" />
<glyph unicode="&#xf067;" horiz-adv-x="1536" d="M0 696v144q0 39 27.5 66.5t66.5 27.5h508v506q0 41 26.5 68.5t67.5 27.5h144q39 0 66.5 -27.5t27.5 -66.5v-508h508q39 0 66.5 -27.5t27.5 -66.5v-144q0 -39 -27.5 -66.5t-66.5 -27.5h-508v-506q0 -41 -27.5 -68.5t-66.5 -27.5h-144q-39 0 -66.5 27.5t-27.5 66.5v508 h-506q-41 0 -68.5 26.5t-27.5 67.5z" />
<glyph unicode="&#xf068;" horiz-adv-x="1536" d="M0 696v144q0 39 27.5 66.5t66.5 27.5h1348q39 0 66.5 -27.5t27.5 -66.5v-144q0 -39 -27.5 -66.5t-66.5 -27.5h-1346q-41 0 -68.5 26.5t-27.5 67.5z" />
<glyph unicode="&#xf069;" horiz-adv-x="1427" d="M2 1018q-10 37 10 72l72 124q20 35 58 44.5t73 -9.5l332 -192v383q0 41 27.5 68.5t68.5 27.5h141q41 0 69 -27.5t28 -66.5v-385l331 192q35 18 73 9t58 -44l70 -124q20 -35 11 -72t-44 -57l-333 -193l333 -193q35 -20 44.5 -57t-9.5 -72l-72 -124q-20 -35 -58 -44.5 t-73 9.5l-331 192v-383q0 -41 -28 -68.5t-69 -27.5h-141q-41 0 -68.5 27.5t-27.5 66.5v385l-332 -192q-35 -20 -73 -10t-58 45l-72 124q-18 35 -9 72t44 57l334 193l-334 193q-35 20 -45 57z" />
<glyph unicode="&#xf06a;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM672 1274l14 -739q4 -29 31 -29h162q12 0 21 8t9 21l17 739q0 10 -8 22q-8 8 -23 9 h-193q-14 0 -22 -9q-8 -12 -8 -22zM680 236q0 -12 8 -21.5t21 -9.5h180q12 0 21.5 9t9.5 22v174q0 12 -9.5 21t-21.5 9h-180q-12 0 -20.5 -9t-8.5 -21v-174z" />
<glyph unicode="&#xf06b;" horiz-adv-x="1880" d="M0 588v391q0 16 11.5 27.5t27.5 11.5h539q-57 0 -107.5 21.5t-87.5 58.5t-58.5 87t-21.5 107t21.5 107.5t58.5 87.5t87 58.5t108 21.5q61 0 115.5 -24.5t88.5 -69.5l158 -203l158 203q35 45 89 69.5t116 24.5q57 0 107 -21.5t87 -58.5t58.5 -87t21.5 -108 q0 -57 -21.5 -107t-58.5 -87t-87 -58.5t-107 -21.5h538q16 0 27.5 -11.5t11.5 -27.5v-391q0 -16 -11 -27.5t-28 -11.5h-117v-432q0 -47 -34.5 -82t-83.5 -35h-1332q-49 0 -82.5 35t-33.5 82v432h-119q-16 0 -27.5 11t-11.5 28zM461 1292q0 -49 33.5 -82.5t83.5 -33.5h237 l-151 196q-10 10 -32 24.5t-54 14.5q-49 0 -83 -35t-34 -84zM743 221q0 -33 24 -56.5t56 -23.5h234q33 0 56.5 23.5t23.5 56.5v797h-394v-797zM1065 1176h238q49 0 82.5 33.5t33.5 82.5t-33.5 84t-82.5 35q-33 0 -54.5 -14.5t-31.5 -24.5z" />
<glyph unicode="&#xf06c;" horiz-adv-x="1916" d="M6 135q20 53 56 89t71 65q29 23 50.5 43t27.5 43q2 6 0 12t-10 25q-6 12 -11.5 27.5t-9.5 35.5q-25 160 13 295t120 242.5t195 185.5t235 121q82 29 179.5 34t203.5 7q61 0 127 2t127.5 11t113.5 28.5t85 54.5q20 20 38.5 41t38 36t43 24.5t58.5 9.5q23 0 42.5 -11.5 t29.5 -31.5q66 -133 83 -281.5t-18 -322.5q-90 -487 -579 -740q-231 -123 -467 -123q-154 0 -307 54q-23 8 -45.5 20t-44.5 25q-29 16 -57.5 30.5t-49.5 14.5q-10 -2 -23.5 -17.5t-27.5 -35t-26.5 -41t-20.5 -33.5q-14 -23 -26.5 -41.5t-22.5 -32.5q-25 -31 -64 -31h-4 q-29 2 -49.5 12.5t-33.5 24.5t-20.5 28.5t-9.5 22.5q-27 37 -10 78zM401 507.5q2 -32.5 29 -54.5q20 -18 51 -19q37 0 62 27q90 102 181 175t191.5 117t212 62t242.5 14q33 -4 57.5 19.5t26.5 56.5q2 35 -20.5 58.5t-57.5 25.5q-147 6 -277 -16.5t-247 -73.5t-223.5 -133 t-206.5 -199q-23 -27 -21 -59.5z" />
<glyph unicode="&#xf06d;" horiz-adv-x="1445" d="M0 442q0 123 63.5 254t174.5 238q10 16 33.5 13t31.5 -21q4 -16 0 -29q-8 -35 -14 -84t-4 -101.5t13 -101.5t38 -84q31 -37 78 -49q-49 154 -40 293t49 259t101.5 217t118.5 167t98 106.5t43 39.5q25 18 47 0q10 -8 13.5 -21.5t-0.5 -24.5q0 -2 -15.5 -42.5t-21.5 -102 t7 -134.5t71 -136q37 -43 67.5 -85t52 -93.5t34 -120t12.5 -162.5q0 -33 -31 -39q-12 -2 -24.5 4t-16.5 19q-14 31 -42 49t-63 18q-47 0 -79.5 -33.5t-32.5 -81.5q0 -121 156 -120q98 0 153 63q37 43 53.5 101.5t20.5 114.5t2 102.5t-4 62.5q-6 12 0 29q8 18 31.5 21 t35.5 -13q111 -106 173.5 -237.5t62.5 -254.5q0 -109 -51.5 -195.5t-145.5 -148t-228 -95.5t-298 -34t-298 34t-228.5 95.5t-145.5 148.5t-51 195z" />
<glyph unicode="&#xf06e;" d="M0 722q0 44 25 83q78 125 178 224t216 168t242.5 104.5t260.5 35.5q135 0 262 -35.5t241.5 -103.5t215 -167t180.5 -226q23 -39 22.5 -83t-22.5 -81q-80 -127 -180.5 -226.5t-215 -167t-241.5 -103t-262 -35.5q-133 0 -260 35.5t-243 104t-216.5 168t-177.5 224.5 q-25 37 -25 81zM154 723q66 -104 149.5 -190.5t182 -145.5t208 -92t228.5 -33t228.5 33t207.5 92t182 145t150 191q-80 129 -187.5 226.5t-236.5 156.5q51 -59 79.5 -133t28.5 -160q0 -96 -35.5 -179t-99 -146.5t-147.5 -99.5t-179 -36q-96 0 -179 36t-146.5 99.5t-99 146.5 t-35.5 179q0 78 25.5 148.5t68.5 128.5q-117 -59 -217.5 -152.5t-175.5 -214.5zM614 813q0 -23 16.5 -40t41.5 -17t41 17.5t16 39.5q0 78 53.5 131t130.5 53q25 0 41.5 17.5t16.5 40.5q0 25 -16.5 41t-41.5 16q-61 0 -116.5 -23.5t-95 -63.5t-63.5 -95.5t-24 -116.5z" />
<glyph unicode="&#xf070;" d="M0 767q0 44 25 83q78 125 178 224.5t216 168t242.5 104t260.5 35.5q53 0 105 -7t103 -17l89 158q8 14 24 18q12 6 29 -2l133 -76q14 -8 19.5 -23.5t-3.5 -29.5l-774 -1383q-6 -14 -22 -18q-4 -2 -11 -2q-6 0 -18 4l-135 76q-14 8 -18.5 23.5t3.5 29.5l66 115 q-145 68 -269 178.5t-218 259.5q-25 37 -25 81zM154 768q82 -131 191.5 -229.5t240.5 -157.5l57 104q-86 63 -138 159.5t-52 213.5q0 78 25.5 148.5t68.5 130.5q-117 -61 -217.5 -153.5t-175.5 -215.5zM614 858q0 -23 16.5 -40t41.5 -17t41 17.5t16 39.5q0 78 53.5 131 t130.5 53q25 0 41.5 17.5t16.5 40.5q0 25 -16.5 41t-41.5 16q-61 0 -116.5 -23.5t-95 -63.5t-63.5 -95.5t-24 -116.5zM928 154l88 159q209 25 382 145t292 310q-109 170 -263 283l76 137q92 -66 172 -150t146 -188q23 -39 22.5 -83t-22.5 -81q-160 -254 -392.5 -392 t-500.5 -140zM1081 430l285 510q4 -20 6 -39.5t2 -42.5q0 -74 -21.5 -140.5t-60.5 -121.5t-93 -98t-118 -68z" />
<glyph unicode="&#xf071;" horiz-adv-x="1775" d="M0 92q0 20 6 39t17 35l768 1331q16 27 39.5 48.5t56.5 21.5t56.5 -21.5t39.5 -48.5l770 -1331q10 -16 16.5 -34.5t6.5 -39.5q0 -49 -38 -70.5t-81 -21.5h-1538q-43 0 -81 21.5t-38 70.5zM770 1114l12 -633q0 -14 10.5 -24.5t24.5 -10.5h139q14 0 24.5 10.5t10.5 24.5 l15 633q0 14 -10.5 24.5t-24.5 10.5h-166q-16 0 -25.5 -10.5t-9.5 -24.5zM776 168q0 -16 10.5 -25.5t24.5 -9.5h154q35 0 34 35v147q0 16 -9 26.5t-25 10.5h-154q-14 0 -24.5 -10t-10.5 -27v-147z" />
<glyph unicode="&#xf072;" horiz-adv-x="1597" d="M0 541v4q0 31 23 57l30 29q20 25 56 24q8 0 10 -2l280 -32q39 63 93.5 134.5t125.5 151.5l-583 457q-31 25 -31 59v4q0 31 23 58l57 57q27 23 57 23h13.5t13.5 -4l803 -293l151 149q70 70 161 110t167 40q72 0 109 -37q20 -18 28 -46t8 -63q0 -76 -38.5 -167t-110.5 -160 l-150 -152l293 -803q6 -12 6 -26q0 -33 -24 -58l-58 -57q-23 -25 -57 -25h-4q-35 4 -59 31l-455 586q-82 -72 -153.5 -126t-135.5 -93l35 -281v-10q0 -33 -22 -55l-31 -31q-23 -23 -58 -23h-4q-39 4 -59 31l-205 272l-274 207q-29 25 -31 60z" />
<glyph unicode="&#xf073;" horiz-adv-x="1566" d="M0 117v1147q0 47 35 81.5t82 34.5h39v13q0 31 10 62.5t32.5 56t59.5 40t90 15.5t90 -15.5t59.5 -40t33 -56.5t10.5 -62v-13h49v13q0 31 10 62.5t32.5 56t59.5 40t90 15.5t90 -15.5t60.5 -40t34 -56.5t10.5 -62v-13h49v13q0 31 10.5 62.5t33 56t59 40t90.5 15.5 q53 0 90 -15.5t59.5 -40t32.5 -56.5t10 -62v-13h39q47 0 82 -34.5t35 -81.5v-1147q0 -47 -35 -82t-82 -35h-1333q-47 0 -82 35t-35 82zM158 158h282v250h-282v-250zM158 446h282v252h-282v-252zM158 737h282v252h-282v-252zM272 1165q0 -57 76 -57t76 57v228q0 57 -76 57 t-76 -57v-228zM479 158h285v250h-285v-250zM479 446h285v252h-285v-252zM479 737h285v252h-285v-252zM709 1165q0 -31 16 -44t57 -13t58.5 13.5t17.5 43.5v228q0 29 -17.5 43t-58.5 14t-57 -14.5t-16 -42.5v-228zM803 158h284v250h-284v-250zM803 446h284v252h-284v-252z M803 737h284v252h-284v-252zM1126 158h283v250h-283v-250zM1126 446h283v252h-283v-252zM1126 737h283v252h-283v-252zM1143 1165q0 -57 76 -57t75 57v228q0 57 -75 57q-76 0 -76 -57v-228z" />
<glyph unicode="&#xf074;" d="M0 252v154q0 16 11.5 27t27.5 11h219q51 0 99.5 31t93.5 83t90 119.5t90 139.5q55 88 114.5 175t127 156t147.5 110.5t180 41.5h203v185q0 41 24.5 49t59.5 -21l334 -278q23 -18 22 -45q0 -29 -22 -47l-334 -277q-35 -29 -59.5 -20.5t-24.5 49.5v174h-203 q-53 0 -100 -31.5t-93 -84t-91.5 -120t-90.5 -139.5q-55 -88 -113.5 -174t-126 -154.5t-148.5 -110.5t-179 -42h-219q-16 0 -27.5 11.5t-11.5 27.5zM0 1108v154q0 39 39 38h219q68 0 127 -20t111.5 -56t97.5 -84t88 -104q-61 -90 -117 -178q-4 -8 -9 -14t-9 -15 q-70 102 -139.5 172t-149.5 70h-219q-16 0 -27.5 10.5t-11.5 26.5zM778 481q29 41 56.5 85t56.5 87q4 10 10 17.5t10 17.5q70 -102 139.5 -170.5t149.5 -68.5h203v190q0 41 24.5 49t59.5 -20l334 -277q23 -18 22 -47q0 -27 -22 -45l-334 -279q-35 -29 -59.5 -20.5 t-24.5 49.5v168h-203q-68 0 -127 20.5t-110.5 56.5t-97.5 84t-87 103z" />
<glyph unicode="&#xf075;" horiz-adv-x="1916" d="M0 866q0 145 76 272.5t206 222.5t303.5 150.5t372.5 55.5t373 -55.5t304 -150.5t206 -222t76 -273q0 -145 -76 -272t-206 -222.5t-304 -150.5t-373 -55q-92 0 -180 12q-176 -139 -411 -192q-25 -4 -50.5 -8.5t-54.5 -8.5q-16 -2 -27.5 6.5t-15.5 24.5t5 26.5t20 20.5 q23 23 43 44.5t36.5 51t30 69.5t23.5 97q-174 98 -275.5 241.5t-101.5 315.5z" />
<glyph unicode="&#xf076;" horiz-adv-x="1566" d="M0 621v288q0 16 11.5 27.5t27.5 11.5h391q16 0 28.5 -11t12.5 -28v-288q0 -29 22.5 -60t63.5 -58.5t98.5 -45t128.5 -17.5q70 0 128.5 17.5t99.5 45t63.5 58.5t22.5 60v288q0 39 39 39h391q16 0 27.5 -11t11.5 -28v-288q0 -135 -61.5 -254t-168 -207t-249 -139.5 t-304.5 -51.5q-164 0 -306 51.5t-248.5 139.5t-168 206.5t-61.5 254.5zM0 1106v391q0 16 11.5 27.5t27.5 11.5h391q16 0 28.5 -11.5t12.5 -27.5v-391q0 -16 -12.5 -27.5t-28.5 -11.5h-391q-16 0 -27.5 11.5t-11.5 27.5zM1098 1106v391q0 16 11 27.5t28 11.5h391 q16 0 27.5 -11.5t11.5 -27.5v-391q0 -16 -11.5 -27.5t-27.5 -11.5h-391q-39 0 -39 39z" />
<glyph unicode="&#xf077;" horiz-adv-x="1536" d="M-1 355.5q-1 37.5 28 66.5l673 674q29 29 68 28.5t68 -28.5l671 -674q29 -29 29 -67t-29 -66l-100 -103q-29 -29 -68 -28.5t-67 28.5l-508 510l-500 -510q-29 -29 -67.5 -28.5t-67.5 28.5l-100 103q-29 29 -30 66.5z" />
<glyph unicode="&#xf078;" horiz-adv-x="1536" d="M0 918.5q0 37.5 29 66.5l100 102q29 29 68 29t67 -29l508 -509l500 509q29 29 67.5 29t67.5 -29l100 -102q29 -29 30 -66.5t-28 -66.5l-673 -674q-29 -29 -68 -28.5t-68 28.5l-671 674q-29 29 -29 66.5z" />
<glyph unicode="&#xf079;" horiz-adv-x="1916" d="M2.5 1038.5q-12.5 30.5 28.5 75.5l385 424q25 29 63 29q39 0 64 -29l385 -424q41 -45 28.5 -75.5t-67.5 -30.5h-250v-680h174q6 -10 12 -19.5t17 -19.5l252 -281h-695q-33 0 -56.5 23.5t-23.5 56.5v920h-249q-55 0 -67.5 30.5zM823 1526h695q33 0 56 -22.5t23 -57.5v-918 h250q55 0 67.5 -30.5t-28.5 -75.5l-385 -424q-25 -29 -63 -29q-39 0 -64 29l-385 424q-41 45 -28.5 75.5t67.5 30.5h250v678h-174q-6 10 -12.5 20.5t-14.5 20.5z" />
<glyph unicode="&#xf07a;" d="M0 1421v76q0 39 39 39h231q16 0 38 -4t36 -8q6 -4 14.5 -14.5t15.5 -23.5t12 -26.5t7 -21.5l27 -125h1347q35 0 58 -27t16 -59l-108 -578q-6 -25 -26.5 -42t-49.5 -17h-1084l35 -168q4 -16 17.5 -26.5t29.5 -10.5h856q16 0 27.5 -11.5t11.5 -27.5v-78q0 -16 -11 -26.5 t-28 -10.5h-163h-652h-104q-16 0 -36.5 3.5t-35.5 9.5q-6 2 -14 13t-15.5 24.5t-12.5 27t-7 21.5l-215 1016q-4 16 -17.5 26t-29.5 10h-170q-39 0 -39 39zM582 115q0 47 33.5 81.5t80.5 34.5q49 0 83 -34.5t34 -81.5t-34 -81t-83 -34q-47 0 -80.5 34t-33.5 81zM1233 115 q0 47 33.5 81.5t81.5 34.5q47 0 80.5 -34.5t33.5 -81.5t-33.5 -81t-80.5 -34t-81 34t-34 81z" />
<glyph unicode="&#xf07b;" d="M0 115v1306q0 47 34 81t81 34h692q47 0 81 -34t34 -81t33.5 -80.5t80.5 -33.5h693q47 0 80.5 -35t33.5 -82v-1075q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81z" />
<glyph unicode="&#xf07c;" d="M0 379v1042q0 47 34 81t81 34h692q47 0 81 -34t34 -81t33.5 -80.5t80.5 -33.5h443q47 0 80.5 -35t33.5 -82v-221h-1228q-37 0 -72 -12.5t-65.5 -34t-53 -51t-35.5 -64.5zM43 0l246 760q6 23 30.5 39t47.5 16h1476l-260 -758q-6 -23 -30.5 -40t-47.5 -17h-1462z" />
<glyph unicode="&#xf07d;" horiz-adv-x="798" d="M2 368.5q10 22.5 57 22.5h203v754h-203q-47 0 -57 22.5t25 57.5l319 319q23 23 53 23q31 0 54 -23l321 -319q33 -35 22.5 -57.5t-57.5 -22.5h-202v-754h202q47 0 57.5 -22.5t-24.5 -57.5l-319 -319q-23 -23 -54 -23t-53 23l-321 319q-33 35 -23 57.5z" />
<glyph unicode="&#xf07e;" horiz-adv-x="1597" d="M0 729q0 31 23 53l319 322q35 33 57.5 23.5t22.5 -56.5v-205h754v203q0 47 22.5 57.5t56.5 -22.5l320 -322q23 -23 22 -53q0 -31 -22 -53l-320 -322q-35 -33 -57 -22.5t-22 57.5v203h-754v-203q0 -47 -22.5 -57t-57.5 24l-319 320q-23 23 -23 53z" />
<glyph unicode="&#xf080;" d="M0 115v1306q0 47 35 81t82 34h1612q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1612q-47 0 -82 34t-35 81zM154 154h1536v1228h-1536v-1228zM307 264v363h203v-363h-203zM649 264v776h201v-776h-201zM993 264v592h203v-592h-203zM1333 264v922h203v-922 h-203z" />
<glyph unicode="&#xf081;" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t73 15.5h1153q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1153q-39 0 -73.5 15.5t-60 41t-41 60.5t-15.5 76zM201 559q80 -111 198.5 -169t259.5 -58q96 0 184.5 26.5t160 73.5 t124 112.5t76.5 143.5q82 6 129 57q14 14 4 33q-8 18 -30 15h-4q23 23 30 45q8 20 -8 32q-14 14 -33 2q-8 -4 -29.5 -10t-45.5 -6q-4 0 -7.5 1t-7.5 1q0 2 -1 4t-1 4q-16 61 -57 110.5t-94 72.5q4 4 6 8t6 8q6 16 0 33q-2 6 -12.5 16t-34.5 8q-2 4 -6 8q-12 12 -25 9 q-25 -4 -49 -13l-2 2q-14 8 -31 -2q-59 -37 -98 -100t-68 -135q-35 31 -57 41q-61 35 -129 63.5t-154 61.5q-14 4 -24 -4q-10 -6 -15 -21q-2 -27 8.5 -58.5t38.5 -62.5q-25 -6 -20 -32q12 -68 68 -101l-13 -12q-14 -14 -4 -33q4 -12 26.5 -37.5t65.5 -38.5q-6 -12 -6 -22 t2 -14q6 -33 39 -50q-37 -25 -79 -34t-85 -5.5t-83 20.5t-70 46q-8 8 -19.5 8t-19.5 -8q-23 -18 -4 -39z" />
<glyph unicode="&#xf082;" horiz-adv-x="1536" d="M2 193v1150q0 39 15.5 75t41 61.5t60.5 41t74 15.5h1153q80 0 136 -56.5t56 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-74 -15.5h-486v643h172q12 0 21.5 8t9.5 21l12 168q0 14 -8 24q-10 10 -23 10h-184v74q0 41 10.5 54.5t53.5 13.5q25 0 55.5 -4t58.5 -11 q6 0 13.5 1.5t11.5 5.5q10 6 14 22l23 162q4 29 -25 35q-90 25 -188 24q-301 0 -301 -293v-84h-103q-33 0 -32 -32v-168q0 -12 9 -21.5t23 -9.5h103v-643h-393q-39 0 -74 15.5t-60.5 41t-41 60.5t-15.5 76z" />
<glyph unicode="&#xf083;" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 160h1536v114h-1536v-114zM154 1145h1536v231h-957l-14 -92h-565v-139zM266 1341h316v93h-316v-93zM557 709q0 -76 28.5 -142.5t78 -116 t116 -78t142.5 -28.5t142 28.5t115.5 78t78 116t28.5 142.5t-28.5 142.5t-78 115.5t-116 77.5t-141.5 28.5q-76 0 -142.5 -28.5t-116 -77.5t-78 -115.5t-28.5 -142.5zM672 709q0 51 19.5 97t53 80t79.5 53t98 19q51 0 97 -19t80 -53t53 -80t19 -97t-19 -97.5t-53 -80 t-80 -53t-97 -19.5t-97.5 19.5t-80 53t-53 79.5t-19.5 98zM743 709q0 -16 12.5 -28.5t28.5 -12.5q18 0 30.5 12.5t12.5 28.5q0 41 28 67.5t67 26.5v2q18 0 30.5 12t12.5 29q0 18 -12.5 30.5t-30.5 12.5q-74 0 -126.5 -53.5t-52.5 -126.5z" />
<glyph unicode="&#xf084;" horiz-adv-x="1916" d="M0 803.5q-6 111.5 30 230.5t113 228q78 109 179.5 180t209 102t213 17.5t191.5 -74.5q76 -53 121 -134t59 -176.5t-4 -199t-68 -203.5l414 -297l101 139l-105 74q-14 10 -17 27.5t7 32.5l51 69q10 14 26.5 17.5t32.5 -7.5l344 -247q16 -10 18.5 -27.5t-7.5 -32.5l-49 -69 q-10 -14 -27.5 -17.5t-32.5 6.5l-102 76l-101 -139l248 -178q43 -31 52.5 -83t-21.5 -95q-33 -43 -84 -51.5t-94 22.5l-803 573q-78 -80 -170 -130t-186.5 -68.5t-185.5 -2t-167 71.5q-86 61 -133 157.5t-53 208zM230.5 766q7.5 -41 30 -78t58.5 -63q37 -27 79 -36t83 -2 t78 29.5t64 59.5q39 53 41 114.5t-27 114.5q59 -10 116.5 11.5t96.5 74.5q27 37 36 79t2 84t-29.5 79t-59.5 63q-37 27 -79 36t-84 2t-79 -29.5t-63 -59.5q-37 -53 -39 -114.5t26 -114.5q-59 10 -116.5 -12.5t-96.5 -75.5q-27 -37 -36 -79t-1.5 -83z" />
<glyph unicode="&#xf085;" horiz-adv-x="1916" d="M0 801v180q0 8 22.5 15.5t52 11.5t56.5 7t37 3q12 49 37 88q-23 31 -45.5 61.5t-46.5 59.5l-4 10q0 6 20.5 29.5t47 50t50 47t29.5 20.5q2 0 20.5 -13t41 -30.5t43 -34t24.5 -20.5q43 25 90 37q0 8 3 37t7 57.5t10.5 52t16.5 23.5h178q8 0 15.5 -23.5t11.5 -52t7 -57.5 t5 -37q45 -12 86 -35q31 23 62.5 45.5t60.5 46.5l8 4q4 0 27.5 -21.5t49.5 -47t47.5 -49t21.5 -29.5q0 -4 -13.5 -22.5t-30 -40t-32 -41t-19.5 -25.5q23 -39 39 -92q10 -2 37 -5t55.5 -8.5t51 -11.5t22.5 -14v-178q0 -10 -22.5 -16.5t-51 -11.5t-56.5 -7t-36 -4 q-14 -43 -37 -88q23 -31 44.5 -60.5t48.5 -58.5l2 -10q0 -6 -20.5 -30t-47.5 -50.5t-50.5 -47t-29.5 -20.5q-2 0 -20.5 13.5t-41 31t-42 32.5t-25.5 20q-45 -23 -88 -37q0 -10 -3 -37t-8 -56.5t-12.5 -52t-15.5 -22.5h-178q-8 0 -15.5 22.5t-11.5 52t-7 56t-3 37.5 q-45 12 -88 37q-31 -23 -61.5 -46.5t-59.5 -48.5l-10 -2q-4 0 -27.5 20.5t-49 47t-46 50.5t-20.5 30q0 2 13 20.5t29.5 40t31 41t18.5 25.5q-23 43 -39 94q-10 2 -37 5t-55.5 7t-51 10.5t-22.5 14.5zM420 889q0 -37 14.5 -70t39 -57.5t58 -38.5t70.5 -14t70 14t57.5 38.5 t38.5 57.5t14 70t-14 70.5t-38.5 58t-57.5 39t-70 14.5q-76 0 -129 -53t-53 -129zM1114 373q0 6 13.5 13t31 14.5t33.5 12.5t22 7q4 23 9.5 39t15.5 37q-4 4 -13 17t-18.5 27.5t-16.5 28t-7 17.5t18.5 23.5t43 41t47 40t28.5 24.5l8 4q4 0 16.5 -8.5t25.5 -19.5t25.5 -21.5 t16.5 -14.5q35 12 76 19q2 6 9 21.5t16.5 30.5t17.5 27.5t14 12.5q4 0 34 -7t63.5 -18.5t60.5 -23.5t27 -23q0 -23 -5.5 -47t-9.5 -47q16 -12 28.5 -26.5t22.5 -30.5q25 2 49.5 3t47.5 1q8 0 18 -26.5t17.5 -60.5t12.5 -64.5t5 -39.5q0 -6 -13.5 -13t-29.5 -13t-32.5 -12.5 t-22.5 -8.5q-9 -38 -23 -71q2 -6 11.5 -18.5t18.5 -27t16 -27.5t7 -18q0 -4 -18.5 -23.5t-43 -41t-47 -40.5t-28.5 -26l-8 -4q-4 0 -16.5 8.5t-25.5 19.5t-25.5 21.5t-16.5 14.5q-37 -12 -78 -19q-2 -6 -9 -21.5t-15.5 -30.5t-16.5 -27.5t-14 -12.5t-35 7.5t-62.5 18.5 t-60 23.5t-26.5 22.5q0 23 5 47.5t9 46.5q-16 12 -28.5 26.5t-22.5 30.5q-23 -2 -45.5 -3t-44.5 -1h-14.5t-8.5 11q-2 8 -8 35.5t-13.5 58t-12.5 55.5t-5 29zM1192 1264q0 6 12.5 12t29.5 10t33.5 6t22.5 4q10 33 31 64q-2 4 -8 17.5t-12.5 27.5t-11.5 25.5t-5 15.5 q0 6 21.5 22.5t49 35t51.5 32.5t28 14t13 -9t20.5 -21.5t20.5 -23.5t13 -15q14 4 28.5 6t29.5 0h14q2 4 11 16.5t18.5 25.5t17.5 23.5t12 10.5t30 -11.5t55.5 -26t53 -28.5t23.5 -20q0 -4 -4 -15.5t-8 -26t-8.5 -27.5t-6.5 -17q20 -25 39 -60q51 -4 74 -7t29 -18.5t5 -52 t3 -106.5q0 -6 -12.5 -12.5t-28.5 -10.5t-32.5 -6t-22.5 -4q-13 -36 -31 -63q2 -4 8 -16.5t13.5 -27t12.5 -26.5t5 -14q0 -6 -22.5 -23.5t-50 -36t-51.5 -33t-26 -14.5q-4 0 -14 9.5t-21.5 21.5t-20.5 23.5t-13 15.5q-14 -4 -28.5 -6t-29.5 0h-14q-4 -4 -12 -16.5t-17.5 -26 t-18.5 -23.5t-13 -10t-30 11t-54.5 25.5t-52 29t-23.5 20.5q0 2 3 14.5t8 26.5t9 27.5t6 17.5q-23 23 -38 59q-53 2 -75 5t-29 18.5t-5 52.5t-4 109zM1397 367q0 -49 34.5 -85t84.5 -36q49 0 84.5 34.5t35.5 86.5q0 49 -34.5 83.5t-85.5 34.5q-49 0 -84 -34.5t-35 -83.5z M1446 1206q0 -47 31.5 -78.5t76.5 -31.5q47 0 79 31.5t32 76.5q0 47 -31.5 79t-77.5 32q-47 0 -78.5 -32t-31.5 -77z" />
<glyph unicode="&#xf086;" horiz-adv-x="1916" d="M0 997q0 119 61.5 222.5t167 180.5t246.5 122t303 45t303.5 -45t247 -122t166.5 -180.5t61 -222.5q0 -117 -61 -221t-166.5 -181t-247 -122t-303.5 -45q-37 0 -73.5 3t-71.5 7q-147 -113 -336 -155q-20 -4 -40.5 -7.5t-43.5 -7.5q-12 -2 -21.5 6.5t-13.5 18.5v2 q-4 12 3 19.5t18 17.5q18 18 34.5 36.5t29.5 42t24.5 55.5t19.5 79q-141 78 -224 195.5t-83 256.5zM649 258q6 4 13.5 8t13.5 8q51 -6 102 -6q197 0 369 56.5t298 155t198.5 231.5t72.5 286q0 41 -6 84q96 -78 151.5 -175t55.5 -208q0 -139 -83 -256.5t-224 -195.5 q8 -47 19 -79t25.5 -55.5t30 -42t33.5 -36.5q10 -10 17.5 -18.5t3.5 -18.5v-2q-2 -12 -12.5 -19.5t-22.5 -5.5q-23 4 -43.5 7.5t-40.5 7.5q-96 20 -180 60t-156 95q-35 -4 -71.5 -7t-73.5 -3q-141 0 -265 35t-225 94z" />
<glyph unicode="&#xf087;" horiz-adv-x="1597" d="M0 193v643q0 49 35 83.5t84 34.5h348q27 14 43 30.5t35 39.5q16 20 32.5 38.5t34.5 37.5q33 35 76 68.5t66 74.5q16 29 23 64.5t12.5 71.5t12.5 70t23.5 60.5t47 42t81.5 15.5q61 0 111.5 -25.5t85.5 -68.5t54.5 -98.5t19.5 -112.5q0 -59 -17.5 -112.5t-42.5 -107.5 q35 2 70 4.5t70 2.5q55 0 107 -10.5t93 -35t66.5 -67.5t25.5 -109q0 -29 -5 -57t-15 -57q18 -43 18 -90q0 -78 -41 -142q10 -59 -7 -118.5t-58 -104.5q-4 -84 -45 -139.5t-102.5 -89t-135 -47t-143.5 -13.5q-72 0 -144.5 10.5t-142.5 28.5q-70 20 -139.5 43t-142.5 23h-375 q-49 0 -84 34.5t-35 84.5zM236 276q0 -35 22 -57t57 -22q33 0 56.5 22.5t23.5 56.5q0 33 -23.5 56.5t-56.5 23.5q-35 0 -57 -23.5t-22 -56.5zM492 193q70 0 136 -16.5t133.5 -35t141.5 -35t160 -16.5q45 0 98 6t99.5 26.5t78 56.5t31.5 95q0 10 -1 18.5t-3 18.5 q35 16 53.5 53t18.5 74q0 39 -21 68q60 49 60 123q0 23 -12.5 43t-26.5 35q16 29 28.5 57.5t12.5 62.5q0 35 -17.5 55.5t-43 31t-56.5 12.5t-57 2q-45 0 -90.5 -3t-90.5 -3q-31 0 -61.5 3t-58.5 15q0 41 16 78t35.5 74.5t35 78.5t15.5 91q0 33 -10.5 65.5t-29.5 59t-47 44 t-65 17.5h-11t-11 -2q-8 -4 -9 -8t-3 -13q-12 -59 -22.5 -123.5t-39.5 -117.5q-29 -51 -74 -88t-86 -78q-29 -31 -49 -56.5t-41.5 -48t-48.5 -42t-65 -35.5h-2v-643z" />
<glyph unicode="&#xf088;" horiz-adv-x="1597" d="M0 309q0 29 5 57.5t15 57.5q-18 43 -18 90q0 78 41 141q-10 59 7.5 119t58.5 105q4 84 45 139t102 89t135 47t144 13q72 0 144.5 -10t141.5 -29q70 -20 139.5 -42.5t143.5 -22.5h375q49 0 83.5 -35t34.5 -84v-643q0 -49 -34.5 -84t-83.5 -35h-349q-27 -14 -43 -30.5 t-34 -38.5q-16 -20 -32.5 -39t-35.5 -37q-33 -35 -76 -69t-65 -74q-25 -43 -31 -99.5t-18.5 -106.5t-44 -84t-107.5 -34q-61 0 -111.5 25.5t-85 68.5t-54 98.5t-19.5 112.5q0 59 17.5 112.5t41.5 106.5q-35 -2 -69.5 -4t-69.5 -2q-55 0 -107.5 10.5t-93.5 35t-66.5 67.5 t-25.5 108zM119 309q0 -35 17.5 -55.5t43 -30.5t56 -12t57.5 -2q47 0 91 3t89 3q31 0 61.5 -3t59.5 -15q0 -41 -16.5 -78t-36 -75t-34.5 -79t-15 -90q0 -33 10 -65.5t29.5 -59t47 -43t64.5 -16.5q4 0 11.5 -1t11.5 1q8 4 9 8l3 12q12 59 22.5 124t38.5 118q29 51 74 88 t86 78q29 31 49.5 56.5t42 48t47 42t66.5 35.5h2v643q-72 0 -137.5 16.5t-133 36t-141 36t-159.5 16.5q-45 0 -98.5 -7.5t-99.5 -27t-78 -56t-32 -96.5q0 -10 1 -18t3 -19q-35 -16 -53 -53t-18 -74q0 -39 20 -67q-59 -49 -59 -123q0 -23 12 -43.5t27 -34.5 q-16 -29 -28.5 -57.5t-12.5 -63.5zM1202 860q0 -33 23.5 -56.5t56.5 -23.5q35 0 57.5 23.5t22.5 56.5q0 35 -22.5 57.5t-57.5 22.5q-33 0 -56.5 -22.5t-23.5 -57.5z" />
<glyph unicode="&#xf089;" horiz-adv-x="837" d="M1 959.5q9 27.5 54 33.5l506 74l227 459q23 41 50 41v-1348l-453 -237q-41 -23 -64.5 -6.5t-15.5 63.5l86 504l-364 356q-35 33 -26 60.5z" />
<glyph unicode="&#xf08a;" horiz-adv-x="1802" d="M0 1073q0 137 43 231.5t112.5 153t156.5 84t177 25.5q63 0 125 -21.5t115 -53.5t97 -70t75 -68q31 31 76 68.5t98 69.5t113.5 53.5t126.5 21.5q88 0 175 -25.5t156.5 -84t112.5 -153t43 -231.5q0 -94 -34.5 -177t-76.5 -146.5t-79 -102.5t-39 -43l-615 -612 q-26 -23 -57 -23q-33 0 -55 23l-617 614q-4 2 -39.5 41t-77.5 102.5t-77 146.5t-35 177zM160 1073q0 -68 27.5 -131t61.5 -112.5t63 -79.5l28 -29l561 -559l561 559l29 29q29 30 62.5 79.5t61 113t27.5 130.5q0 104 -29.5 169t-77.5 101.5t-106.5 50t-113.5 13.5 q-53 0 -107.5 -25.5t-102.5 -61.5t-86 -74t-56 -60q-25 -31 -62 -31t-61 31q-18 23 -56.5 60.5t-86.5 73.5t-102.5 61.5t-105.5 25.5q-57 0 -115.5 -13.5t-106.5 -50t-77.5 -101t-29.5 -169.5z" />
<glyph unicode="&#xf08b;" horiz-adv-x="1689" d="M0 307v922q0 63 24.5 118.5t66.5 97.5t97.5 66.5t118.5 24.5h461v-193h-461q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h461v-193h-461q-63 0 -118.5 24.5t-97.5 66.5t-66.5 97.5t-24.5 118.5zM508 584v368q0 33 22.5 54.5t55.5 21.5h428v293 q0 41 39 57q39 14 65 -14l553 -553q18 -18 18.5 -44t-18.5 -42l-553 -553q-18 -18 -43 -18q-10 0 -22 4q-39 16 -39 57v291h-428q-33 0 -55.5 22.5t-22.5 55.5z" />
<glyph unicode="&#xf08c;" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1150q-80 0 -136.5 56.5t-56.5 136.5zM207 1192q0 -57 40 -97t95 -40q57 0 97 40t40 97q0 55 -40 95t-97 40q-55 0 -95 -40 t-40 -95zM213 240q0 -10 9 -19.5t20 -9.5h200q12 0 20.5 9t8.5 20v706q0 29 -29 29h-200q-10 0 -19.5 -8.5t-9.5 -20.5v-706zM580 240q0 -10 9 -19.5t19 -9.5h201q12 0 20.5 9t8.5 20v383q0 68 26.5 113.5t102.5 45.5q59 0 79.5 -28.5t20.5 -81.5v-432q0 -10 8 -19.5 t21 -9.5h204q10 0 19.5 9t9.5 20v477q0 141 -81 208.5t-216 67.5q-55 0 -107.5 -15t-93.5 -56q0 16 -3 34.5t-25 18.5h-195q-10 0 -19 -8.5t-9 -20.5v-706z" />
<glyph unicode="&#xf08d;" horiz-adv-x="1916" d="M2 950q8 82 45 172t100 176t139 147.5t152 92.5t145.5 30t121.5 -40q53 -41 73.5 -107.5t12.5 -148.5l301 -225q111 63 215 73t180 -47q55 -41 80.5 -108.5t23.5 -150.5t-30.5 -177t-83.5 -188l428 -410q25 -25 4 -53q-12 -16 -33 -17q-10 0 -18 6l-517 293 q-74 -80 -155.5 -135t-161.5 -80.5t-151.5 -19.5t-127.5 47q-76 55 -95 158.5t9 228.5l-303 223q-76 -33 -145.5 -32t-122.5 40q-51 39 -72.5 104.5t-13.5 147.5zM171 858.5q3 -16.5 15 -27.5q21 -14 50 -14q31 0 65.5 17.5t71.5 46t72.5 66.5t66.5 79q10 14 7 30.5 t-15 26.5q-14 10 -30.5 8.5t-27.5 -16.5q-78 -104 -138 -143t-72 -35q-14 10 -31 7t-27 -15q-10 -14 -7 -30.5zM465 754l364 -271q8 -8 23 -8q20 0 33 17q10 14 8 29.5t-16 25.5l-347 258q-16 -14 -32.5 -27.5t-32.5 -23.5zM829.5 239.5q1.5 -16.5 16.5 -26.5q29 -23 69 -23 q41 0 88.5 21.5t95.5 57.5t94 84.5t87 101.5q10 12 8 28.5t-16 26.5q-12 10 -28.5 8t-26.5 -16q-51 -68 -102.5 -116t-95.5 -75.5t-78 -36t-48 4.5q-14 10 -29.5 7t-25.5 -18q-10 -12 -8.5 -28.5z" />
<glyph unicode="&#xf08e;" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h582q-2 -14 -4 -27.5t-2 -29.5v-88q0 -23 6 -48h-582q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v340q41 -31 90 -49t103 -20v-271q0 -63 -25 -118.5 t-67 -97.5t-97 -66.5t-119 -24.5h-1075q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM692.5 522q-0.5 25 16.5 41l770 772h-269q-25 0 -41 16.5t-16 41.5v86q-2 23 15.5 40t41.5 17h576q23 0 40 -17.5t17 -39.5v-86v-490q0 -25 -17.5 -42t-39.5 -15h-86 q-25 0 -41.5 16.5t-16.5 40.5v268l-772 -770q-16 -16 -40.5 -16t-41.5 16l-79 80q-16 16 -16.5 41z" />
<glyph unicode="&#xf090;" horiz-adv-x="1689" d="M0 584v368q0 33 22.5 54.5t55.5 21.5h428v293q0 41 37 57q39 14 67 -14l553 -553q16 -18 16.5 -44t-16.5 -42l-553 -553q-18 -18 -43 -18q-8 0 -24 4q-37 16 -37 57v291h-428q-33 0 -55.5 22.5t-22.5 55.5zM922 0v193h460q47 0 81 33.5t34 80.5v922q0 47 -33.5 80.5 t-81.5 33.5h-460v193h460q63 0 118.5 -24.5t97.5 -65.5t67 -97.5t25 -119.5v-922q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5h-460z" />
<glyph unicode="&#xf091;" horiz-adv-x="1689" d="M0 1042v187q0 33 22.5 54.5t55.5 21.5h323q-2 12 -2 25v24v4q0 53 4.5 88t15.5 54.5t31.5 27.5t55.5 8h678q33 0 54.5 -8t32.5 -27.5t15 -54.5t4 -88v-25.5t-2 -27.5h324q33 0 55.5 -21.5t22.5 -54.5v-187q0 -63 -45.5 -130.5t-122 -128t-180 -106.5t-222.5 -65 q-51 -10 -91 -41.5t-40 -70.5q0 -35 17.5 -51.5t39 -31t40 -31.5t22.5 -52q4 -23 -2 -47q-4 -14 23.5 -23.5t67.5 -18.5t82 -22.5t64 -34.5q12 -10 19.5 -39.5t9.5 -64.5q2 -33 -6 -58.5t-29 -25.5h-985q-20 0 -28.5 25.5t-6.5 58.5q2 35 9.5 64.5t19.5 39.5q23 20 64 34 t80.5 23t68.5 18t25 24q-4 14 -4 25.5v21.5q2 35 21.5 52t42 31.5t39.5 31t17 51.5q0 39 -39.5 70.5t-93.5 41.5q-117 20 -220 66.5t-180 106t-122 127t-45 130.5zM154 1042q0 -20 23.5 -54t67.5 -70.5t106.5 -71.5t140.5 -60q-25 80 -44.5 175.5t-33.5 189.5h-260v-109z M1198 786q78 25 140.5 60t106.5 71.5t67.5 70.5t23.5 54v109h-262q-12 -94 -31.5 -189.5t-44.5 -175.5z" />
<glyph unicode="&#xf092;" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-337v25q0 39 2 97t-3.5 115.5t-24.5 104.5t-65 66q188 20 290 110t102 287q0 66 -22.5 128t-67.5 114q6 23 8 45t2 45 q0 41 -9.5 91t-31.5 85h-12q-43 2 -79 -8.5t-68 -27.5t-62.5 -37.5t-65.5 -39.5q-33 4 -65.5 6t-65.5 2t-65.5 -2t-65.5 -6q-35 18 -65.5 39t-62.5 38t-67.5 27.5t-79.5 8.5h-12q-23 -35 -32 -85t-9 -91q0 -23 2 -45.5t8 -44.5q-45 -51 -66.5 -114t-21.5 -128 q0 -193 95.5 -283t281.5 -112q-39 -16 -59.5 -50t-32.5 -75q-27 -8 -49.5 -15.5t-50.5 -7.5q-55 0 -88 28.5t-59.5 62.5t-56.5 62.5t-79 28.5q-4 0 -20.5 -2t-16.5 -12q0 -23 19.5 -32t31.5 -19q39 -31 56.5 -71t39 -76.5t62.5 -62.5t127 -26q35 0 80 11q0 -10 -1 -18.5 t-1 -16.5q0 -29 2 -59.5t-2 -59.5h-317q-80 0 -136.5 56.5t-56.5 136.5z" />
<glyph unicode="&#xf093;" d="M0 39v614q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-346h1229v346q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-614q0 -39 -39 -39h-1765q-39 0 -39 39zM346 969.5q-6 15.5 16 38.5l504 505q23 23 55.5 23t55.5 -23l506 -505q23 -23 15.5 -38.5 t-38.5 -15.5h-307v-499q0 -33 -22.5 -55.5t-55.5 -22.5h-307q-33 0 -54.5 22.5t-21.5 55.5v499h-307q-33 0 -39 15.5z" />
<glyph unicode="&#xf094;" horiz-adv-x="1609" d="M2 514q-2 35 1 68.5t7 74.5q4 35 7 72t10 66q14 66 30.5 128t44.5 117q20 41 45 81t54 79q10 14 21 24.5t24 20.5q23 23 45 45.5t49 42.5t57.5 36.5t65.5 33.5q33 16 67.5 29.5t71.5 27.5q70 29 156 51l2 2q45 12 85 17.5t79 5.5q59 0 112.5 -9t106.5 -20q41 -8 85 -15 t93 -7h2q29 0 62.5 5t66.5 5q25 0 45.5 -6t32.5 -25q23 -31 26 -71.5t-2 -75.5q-4 -35 -8 -71t2 -72q4 -23 11.5 -39.5t15.5 -36.5q8 -18 11 -40t7 -42q18 -104 15.5 -195.5t-23 -170.5t-56.5 -148.5t-81 -132.5q-37 -49 -79 -97.5t-92 -91.5t-110.5 -77.5t-134.5 -59.5 q-76 -27 -158.5 -34t-158.5 -11h-31q-104 0 -194.5 16.5t-192.5 16.5h-4q-35 0 -77 -10.5t-83 -12.5h-2q-37 0 -65.5 17.5t-42.5 42.5q-20 35 -17.5 72.5t12.5 68.5t10.5 66.5t-5 75.5t-12.5 81t-9 82z" />
<glyph unicode="&#xf095;" horiz-adv-x="1597" d="M0 1169q0 55 14.5 114.5t43 114t68.5 98.5t93 69q12 -2 26.5 0t26.5 2q10 0 30 -1l40 -2t38.5 -4.5t27.5 -7.5q8 -6 15 -18t12 -26.5t9.5 -30t8.5 -25.5q6 -18 23.5 -65.5t35.5 -97.5t32.5 -93t14.5 -53q0 -37 -24.5 -68t-54 -57.5t-54.5 -50t-25 -45.5q0 -20 16.5 -49 t26.5 -46q84 -145 188.5 -248.5t252.5 -187.5q18 -10 45.5 -27.5t50.5 -17.5t52.5 32t60 70.5t62 70.5t58.5 32q10 0 51.5 -22.5t89.5 -50t93 -55.5t61 -36q16 -10 46 -25.5t40 -35.5q2 -6 2 -23q0 -16 -3 -36.5t-8 -43t-12 -43t-13 -35.5q-18 -39 -59.5 -71.5t-92.5 -55 t-104.5 -36t-92.5 -13.5q-80 0 -153.5 25.5t-145.5 54.5q-123 45 -232.5 118t-203.5 164t-175 196.5t-144 215.5q-25 41 -52.5 95.5t-51 112t-39 113.5t-15.5 105z" />
<glyph unicode="&#xf096;" d="M0 307v922q0 63 24.5 118.5t66.5 97.5t97.5 66.5t118.5 24.5h1075q63 0 118.5 -24.5t97.5 -66.5t67 -97.5t25 -118.5v-922q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5h-1075q-63 0 -118.5 24.5t-97.5 66.5t-66.5 97.5t-24.5 118.5zM193 307q0 -47 33.5 -80.5 t80.5 -33.5h1075q47 0 81 33.5t34 80.5v922q0 47 -34 80.5t-81 33.5h-1075q-47 0 -80.5 -33.5t-33.5 -80.5v-922z" />
<glyph unicode="&#xf097;" horiz-adv-x="1253" d="M0 84v1337q0 47 34 81t81 34h1024q47 0 80.5 -34t33.5 -81v-1337q0 -47 -33.5 -81t-80.5 -34t-80 33l-432 432l-432 -432q-33 -33 -80 -33t-81 34t-34 81zM158 186l469 471l469 -471v1194h-938v-1194z" />
<glyph unicode="&#xf098;" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1150q-80 0 -136.5 56.5t-56.5 136.5zM193 1040q2 -35 15 -76.5t30 -78.5q16 -37 33.5 -72t33.5 -63q74 -129 176.5 -241 t225.5 -190q31 -18 67.5 -36.5t75.5 -32.5q41 -16 83 -31.5t81 -21.5q63 -10 112.5 2t90.5 34q27 12 57.5 33.5t44.5 52.5q4 8 9 27t9 38t6.5 37.5t-2.5 29.5q-4 12 -24.5 22t-36.5 21q-43 25 -71.5 41t-67.5 38q-16 10 -36 23.5t-38 13.5q-23 0 -46.5 -27.5t-37.5 -43.5 q-12 -14 -36.5 -43t-47.5 -31q-14 -2 -32.5 10t-37.5 23q-106 59 -182 136t-135 177q-10 16 -21.5 37.5t-7.5 38.5q2 18 24.5 33.5t35.5 29.5q14 16 31.5 37t19.5 43q4 16 -5 38t-16 42q-16 43 -28.5 76t-26.5 76q-6 16 -12 40.5t-21 30.5q-8 4 -26.5 7t-39 4.5t-37.5 0 t-24 -1.5h-8q-33 -16 -62.5 -45.5t-51 -69.5t-34 -88t-9.5 -100z" />
<glyph unicode="&#xf099;" d="M0 399q0 20 13.5 33.5t33.5 13.5q14 0 31 -12q123 -109 287 -108q59 0 117.5 15t107.5 48q-29 16 -47.5 42t-18.5 58q0 23 8 39q-18 6 -44.5 20.5t-51 34t-41 43t-16.5 46.5q0 16 10 28.5t25 22.5q-41 25 -76 74t-35 98q0 33 33 43q-35 35 -55.5 81t-20.5 95 q0 23 9.5 41.5t37.5 18.5q18 0 84 -27t142.5 -60.5t146.5 -67.5t98 -48q25 -14 47.5 -31.5t44.5 -36.5q20 51 47 106.5t60 106.5t73 96t89 74q8 6 24 6q18 0 27 -8q16 6 41.5 13.5t42.5 7.5q29 0 43 -27q31 0 56.5 -15.5t25.5 -50.5q0 -31 -27 -53q96 -43 159.5 -125 t90.5 -182q6 -2 23 -2q47 0 88 16.5t57 16.5q18 0 31.5 -14.5t13.5 -32.5q0 -23 -19.5 -48.5t-33.5 -39.5q23 4 42 -7.5t19 -38.5q0 -29 -26.5 -50t-61.5 -37.5t-72.5 -25.5t-58.5 -11q-43 -139 -133 -246t-210 -178.5t-258 -109.5t-275 -38q-219 0 -415 93.5t-325 273.5 q-8 16 -8 26z" />
<glyph unicode="&#xf09a;" horiz-adv-x="790" d="M0 862v203q0 16 11.5 28.5t27.5 12.5h125v102q0 358 366 359q123 0 232 -31q33 -10 29 -43l-27 -199q-4 -16 -16 -26q-16 -10 -31 -6q-35 8 -72.5 12t-66.5 4q-53 0 -65.5 -16.5t-12.5 -67.5v-88h223q14 0 29 -14q10 -10 10 -29l-17 -205q0 -16 -11 -25.5t-27 -9.5h-207 v-784q0 -16 -11.5 -27.5t-27.5 -11.5h-258q-16 0 -27.5 11.5t-11.5 27.5v784h-125q-16 0 -27.5 11.5t-11.5 27.5z" />
<glyph unicode="&#xf09b;" horiz-adv-x="1847" d="M0 743q0 115 37 222.5t113 193.5l-3 4l3 2q-16 39 -21.5 81t-5.5 85q0 25 2 56.5t8 65.5t15.5 63.5t23.5 50.5h8q61 0 110.5 -12.5t94.5 -35t87 -52t91 -60.5q86 25 178.5 33t182.5 8t182 -8t180 -33q47 31 90 60.5t87 52t93.5 35t110.5 12.5h10q12 -20 21.5 -50 t15.5 -64t9 -65.5t3 -56.5q0 -43 -6 -85t-20 -81v-2l-2 -4q76 -86 112.5 -193.5t36.5 -222.5q0 -233 -66.5 -383.5t-188.5 -236.5t-292 -120t-376 -34q-207 0 -378 34t-292 120t-187.5 236.5t-66.5 383.5zM250 483q0 -145 64.5 -224t165 -116t219 -43t227.5 -6q74 0 152.5 2 t153.5 12.5t142.5 34t117.5 67.5t80 111.5t30 165.5q0 84 -27 147.5t-75 106.5t-114.5 64.5t-146.5 21.5q-78 0 -156.5 -7t-156.5 -7t-157 7t-157 7q-162 0 -262 -87t-100 -257zM494 524q0 66 26.5 113t65.5 47t66.5 -47t27.5 -113t-27.5 -112.5t-66.5 -46.5t-65.5 46.5 t-26.5 112.5zM795 258q-6 16 12 25q16 6 24 -13q27 -76 93 -75q31 0 56.5 20.5t35.5 54.5q8 20 26 13q16 -6 13 -25q-16 -47 -51 -75.5t-80 -28.5q-43 0 -78 28.5t-51 75.5zM864 369q0 -12 17.5 -21.5t42.5 -9.5t42 9.5t17 21.5t-17.5 21t-41.5 9q-25 0 -42.5 -9t-17.5 -21z M1167 524q0 -66 28 -112.5t67 -46.5t65.5 46.5t26.5 112.5t-27 113t-65 47q-39 0 -67 -47t-28 -113z" />
<glyph unicode="&#xf09c;" horiz-adv-x="1880" d="M0 117v626q0 49 35 84t82 35h665v156q0 113 43 213t118 175t175 118t213 43t213.5 -43t175 -118t117.5 -175.5t43 -212.5v-152q0 -33 -22.5 -55.5t-55.5 -22.5h-80q-33 0 -55 23t-22 55v152q0 66 -25 123t-67 99t-99 66.5t-123 24.5t-122 -24.5t-99 -66.5t-67.5 -99.5 t-24.5 -122.5v-156h119q47 0 81.5 -34.5t34.5 -84.5v-626q0 -47 -34.5 -82t-81.5 -35h-1020q-47 0 -82 35t-35 82zM494 164h266l-66 285q29 18 47.5 48.5t18.5 65.5q0 55 -39 95t-94 40t-94 -40t-39 -95q0 -35 18 -65.5t47 -46.5z" />
<glyph unicode="&#xf09d;" d="M0 154v1228q0 63 45 108.5t109 45.5h1536q63 0 108 -45t45 -109v-1228q0 -63 -45 -108.5t-108 -45.5h-1536q-63 0 -108.5 45t-45.5 109zM154 154h1536v575h-1536v-575zM154 1114h1536v268h-1536v-268zM260 250v115h307v-115h-307zM676 250v115h446v-115h-446z" />
<glyph unicode="&#xf09e;" horiz-adv-x="1566" d="M0 236q0 49 18.5 91t50 74.5t75 51t92.5 18.5t91 -18.5t74.5 -51t51 -74.5t18.5 -91t-18.5 -92.5t-51 -75t-74.5 -50t-91 -18.5t-92.5 18.5t-75 50t-50 74.5t-18.5 93zM0 819v158q0 35 25 57q23 23 53 23q2 0 3 -1t3 -1q193 -14 362.5 -95t301 -212.5t212 -301.5 t95.5 -362q4 -35 -21 -59q-23 -25 -57 -25h-158q-29 0 -51.5 20.5t-26.5 51.5q-12 133 -68.5 249.5t-145.5 205.5t-205.5 145.5t-249.5 68.5q-31 4 -51.5 27t-20.5 51zM0 1331v158q0 33 25 55q23 23 53 23h4q301 -16 565 -137t463 -320t319.5 -463t137.5 -565q4 -31 -23 -57 q-23 -25 -55 -25h-158q-31 0 -53.5 21.5t-24.5 52.5q-14 238 -110 446.5t-255 367.5t-368 255t-446 110q-31 2 -52.5 24.5t-21.5 53.5z" />
<glyph unicode="&#xf0a0;" d="M0 193v382q0 23 6 45.5t12 45.5l238 727q20 63 75.5 103t121.5 40h938q66 0 121 -40t75 -103l238 -727q6 -23 12 -45.5t6 -45.5v-382q0 -41 -15.5 -76t-41 -60.5t-61 -41t-74.5 -15.5h-1458q-80 0 -136.5 56.5t-56.5 136.5zM154 193q0 -16 11 -27.5t28 -11.5h1458 q16 0 27.5 11t11.5 28v382q0 16 -11.5 27.5t-27.5 11.5h-1458q-16 0 -27.5 -11t-11.5 -28v-382zM213 768h1417l-188 578q-4 16 -19.5 26t-31.5 10h-938q-16 0 -31.5 -10t-20.5 -26zM1057 385q0 39 27.5 66.5t68.5 27.5q39 0 66.5 -27.5t27.5 -66.5q0 -41 -27.5 -68.5 t-66.5 -27.5q-41 0 -68.5 27.5t-27.5 68.5zM1364 385q0 39 27.5 66.5t68.5 27.5q39 0 66.5 -27.5t27.5 -66.5q0 -41 -27.5 -68.5t-66.5 -27.5q-41 0 -68.5 27.5t-27.5 68.5z" />
<glyph unicode="&#xf0a1;" d="M0 754v229q0 63 45 108.5t109 45.5h499q115 0 245 33.5t255 90t235.5 128t186.5 147.5q63 0 108.5 -45t45.5 -109v-368q49 -12 81.5 -52.5t32.5 -93.5t-32.5 -93t-81.5 -52v-369q0 -63 -45.5 -108t-108.5 -45q-68 68 -164 132t-206.5 117.5t-227.5 91.5t-227 50 q-43 -12 -70 -40t-37 -62.5t-2 -70.5t37 -65q-25 -41 -23 -75.5t20.5 -66.5t49.5 -61.5t66 -58.5q-20 -43 -69.5 -65.5t-106 -25.5t-110.5 10.5t-85 43.5q-18 61 -40 125t-36 130.5t-14 138t24 151.5h-200q-63 0 -108.5 45t-45.5 109zM807 741q102 -16 206.5 -49t205 -78 t191.5 -99t165 -112v930q-76 -59 -166 -113.5t-190.5 -98.5t-205 -77.5t-206.5 -48.5v-254z" />
<glyph unicode="&#xf0a2;" horiz-adv-x="1759" d="M0 317q104 78 172 172.5t109 201t60 224t28 240.5q6 84 56 159t126 131t163 89t167 33q74 0 163 -33t165.5 -88t129 -129t52.5 -158q6 -121 27.5 -239.5t63.5 -227t109.5 -204t167.5 -171.5q-4 -70 -56 -114.5t-120 -44.5h-469q-18 -82 -82.5 -135.5t-150.5 -53.5 t-151.5 53.5t-84.5 135.5h-469q-68 0 -120 45t-56 114zM238 317h1284q-78 86 -129.5 183.5t-84 202t-50 214t-25.5 222.5q-4 55 -41 104t-89 86t-111.5 57.5t-110.5 20.5q-47 0 -107.5 -21.5t-114 -56.5t-91.5 -83t-40 -99q-6 -111 -23.5 -222.5t-51 -218t-87 -205 t-128.5 -184.5zM713 209q0 -70 49 -119t119 -49q18 0 18 20t-18 21q-53 0 -91 37t-38 90q0 20 -19 20q-20 0 -20 -20z" />
<glyph unicode="&#xf0a3;" horiz-adv-x="1597" d="M0 573q0 33 23 56l143 139l-143 139q-23 23 -23 56q0 25 16.5 45t40.5 26l195 49q-6 18 -15.5 48t-18.5 61t-16 59.5t-7 46.5q0 31 21.5 52.5t51.5 21.5q18 0 47 -7t60 -16.5t60.5 -18.5t47.5 -15l49 194q6 25 27 41.5t45 16.5q35 0 53 -23l142 -143l139 143q23 23 53 23 q27 0 47.5 -15.5t26.5 -42.5l49 -194q18 6 48 15t60.5 18.5t59.5 16.5t47 7q29 0 51.5 -21.5t22.5 -52.5q0 -18 -7 -46.5t-16.5 -59.5t-18.5 -60.5t-15 -48.5l194 -49q25 -6 41 -26.5t16 -44.5q0 -33 -22 -56l-145 -139l145 -139q23 -23 22 -56q0 -25 -16 -45t-41 -26 l-194 -49q6 -18 15 -48t18.5 -61t16.5 -59.5t7 -46.5q0 -29 -21.5 -51.5t-52.5 -22.5q-18 0 -47 7t-59.5 16.5t-60 18.5t-48.5 15l-49 -194q-6 -25 -26.5 -41.5t-45.5 -16.5q-33 0 -55 23l-139 143l-142 -143q-18 -23 -53 -23q-25 0 -45 16.5t-27 41.5l-49 194 q-18 -6 -47.5 -15t-60.5 -18.5t-59.5 -16.5t-47.5 -7q-31 0 -52 22.5t-21 51.5q0 18 7 46.5t16 59.5t18.5 60.5t15.5 48.5l-195 49q-25 6 -41 26.5t-16 44.5z" />
<glyph unicode="&#xf0a4;" horiz-adv-x="1916" d="M0 193v643q0 49 35 83.5t84 34.5h348q27 14 42 30.5t34 39.5q16 20 33.5 38.5t33.5 37.5q35 35 77 68.5t65 74.5q25 43 29.5 99.5t17 106.5t44 84t109.5 34q61 0 111.5 -25.5t85.5 -68.5t54.5 -98.5t19.5 -112.5q0 -53 -15.5 -104.5t-38.5 -98.5h134l376 -2 q49 0 93.5 -17.5t76 -49.5t50 -75t18.5 -94q0 -49 -18.5 -92t-50 -74.5t-75.5 -49t-94 -17.5h-200q-10 -59 -39 -107q10 -59 -7.5 -117.5t-56.5 -103.5q0 -76 -28.5 -131t-75.5 -90t-109.5 -52.5t-132.5 -17.5q-78 0 -148.5 16.5t-136 36t-128 36t-123.5 16.5h-375 q-49 0 -84 34.5t-35 84.5zM233 276q0 -35 22.5 -57t57.5 -22q33 0 56.5 22.5t23.5 56.5q0 33 -23.5 56.5t-56.5 23.5q-35 0 -57.5 -23.5t-22.5 -56.5zM489 193q70 0 136.5 -16.5t133 -35t133 -35t138.5 -16.5q43 0 84 8t72 27.5t50 52.5t19 82q0 14 -1 26.5t-3 24.5 q35 16 53.5 53t18.5 74q0 39 -20 68q59 49 59 123q0 23 -12.5 43.5t-26.5 34.5q90 0 178 1t178 1q51 0 84 30.5t33 81.5q0 53 -32.5 85t-84.5 32q-172 0 -340 1t-338 1q0 41 16.5 78t35 74.5t34 78.5t15.5 91q0 33 -10.5 65.5t-29 59t-46 44t-64.5 17.5h-11t-11 -2 q-8 -4 -9 -8t-3 -13q-12 -59 -22.5 -123.5t-39.5 -117.5q-29 -51 -73 -88t-85 -78q-29 -31 -49 -56.5t-41.5 -48t-48.5 -42t-65 -35.5h-5v-643z" />
<glyph unicode="&#xf0a5;" horiz-adv-x="1916" d="M0 821q0 51 18.5 94t50 75t75.5 49.5t94 17.5l376 2h134q-23 47 -38.5 98t-15.5 105q0 57 19.5 112.5t54.5 98.5t85 68.5t112 25.5q78 0 109.5 -34t43.5 -84t17.5 -106.5t29.5 -99.5q23 -41 65 -74.5t77 -68.5q16 -18 33.5 -37t33.5 -39q18 -23 33.5 -39t42.5 -31h348 q49 0 84 -34.5t35 -83.5v-643q0 -49 -35 -84t-84 -35h-375q-61 0 -123.5 -16.5t-128 -36t-136 -36t-148.5 -16.5q-70 0 -132.5 17.5t-109.5 52.5t-75.5 90t-28.5 131q-39 45 -56.5 103.5t-7.5 117.5q-29 47 -39 107h-200q-49 0 -93.5 17.5t-76 49t-50 74.5t-18.5 92z M121 821q0 -51 32.5 -81.5t84.5 -30.5q90 0 178 -1t178 -1q-14 -14 -26.5 -35t-12.5 -43q0 -74 59 -123q-20 -29 -20 -68q0 -37 18.5 -73.5t53.5 -53.5q-2 -12 -3 -24.5t-1 -26.5q0 -49 19 -82t50 -52.5t72 -27.5t84 -8q70 0 137.5 16.5t134 35t133 35t135.5 16.5v643h-4 q-41 16 -66.5 35.5t-47 42t-42 48t-48.5 56.5q-41 41 -85 78t-73 88q-29 53 -39 117.5t-23 123.5q-2 8 -3 12.5t-9 8.5q-4 2 -11 2h-11q-37 0 -65 -17.5t-46 -44t-28.5 -59.5t-10.5 -65q0 -49 15.5 -90.5t34 -79t34.5 -74.5t16 -78q-170 0 -337.5 -1t-339.5 -1 q-51 0 -84 -32t-33 -85zM1524 276q0 -35 23.5 -57t56.5 -22q35 0 57 22.5t22 56.5q0 33 -22.5 56.5t-56.5 23.5q-33 0 -56.5 -23.5t-23.5 -56.5z" />
<glyph unicode="&#xf0a6;" horiz-adv-x="1597" d="M0 602q0 61 25.5 111.5t68.5 85.5t98.5 54t112.5 19q53 0 104.5 -15t98.5 -38v133l2 377q0 49 17.5 93t49 76t74.5 50.5t94 18.5q49 0 92.5 -18.5t75 -50.5t49 -76t17.5 -93v-201q59 -10 106 -38q59 10 118 -7.5t104 -56.5q76 0 131 -28.5t90 -76t52 -109.5t17 -132 q0 -78 -16 -148.5t-35.5 -136t-36 -128t-16.5 -124.5v-374q0 -49 -35 -84t-84 -35h-643q-49 0 -84 34.5t-35 84.5v348q-14 27 -30.5 42t-38.5 34q-20 16 -39 33.5t-37 33.5q-35 35 -68.5 77t-74.5 64q-43 25 -99.5 30t-106.5 17.5t-84 44t-34 109.5zM120 591q-1 -7 1 -11 q4 -8 8 -9.5t12 -3.5q59 -12 124 -22t118 -39q51 -29 88 -73t78 -85q31 -29 56.5 -49t48 -41.5t42 -48.5t35.5 -66v-4h643q0 70 16.5 136.5t35 133t35 133t16.5 138.5q0 43 -8.5 84t-28 71.5t-52 50t-81.5 19.5q-14 0 -26.5 -1t-25.5 -3q-16 35 -53 53.5t-74 18.5 q-39 0 -67 -21q-49 59 -123 60q-23 0 -43.5 -12.5t-34.5 -26.5q0 90 -1 178t-1 178q0 51 -30.5 84t-82.5 33q-53 0 -84.5 -33t-31.5 -84q0 -172 -1 -340t-1 -338q-41 0 -78 16.5t-75 35t-79 34t-90 15.5q-33 0 -65.5 -10.5t-59 -29t-43 -46t-16.5 -64.5q0 -4 -1 -11z M1210 -37q0 -35 23.5 -57.5t56.5 -22.5q35 0 57.5 22.5t22.5 57.5q0 33 -22.5 56.5t-57.5 23.5q-33 0 -56.5 -23.5t-23.5 -56.5z" />
<glyph unicode="&#xf0a7;" horiz-adv-x="1597" d="M0 584q0 78 34 109.5t84 44t106.5 17.5t99.5 29q41 23 74.5 65t68.5 77q18 16 36.5 33.5t39.5 33.5q23 18 39 33.5t30 42.5v348q0 49 35 84t84 35h643q49 0 84 -35t35 -84v-375q0 -61 16.5 -123.5t36 -128t35.5 -136t16 -148.5q0 -70 -17 -132.5t-52 -109.5t-90.5 -75.5 t-130.5 -28.5q-45 -39 -103.5 -56.5t-118.5 -7.5q-47 -29 -106 -39v-200q0 -49 -17.5 -93.5t-49 -76t-74.5 -50t-93 -18.5q-51 0 -94 18.5t-74.5 50t-49 75.5t-17.5 94l-2 376v134q-47 -23 -98.5 -38.5t-104.5 -15.5q-57 0 -112.5 19.5t-98.5 54.5t-68.5 85t-25.5 112z M120 595q1 -7 1 -11q0 -37 16.5 -64.5t43 -46t59 -29t65.5 -10.5q49 0 90 15.5t79 34t75 35t78 16.5q0 -170 1 -338t1 -340q0 -51 31.5 -84t84.5 -33q51 0 82 32.5t31 84.5q0 90 1 178t1 178q14 -14 34.5 -26.5t43.5 -12.5q74 0 123 59q29 -20 67 -20q37 0 74 18.5t53 53.5 q12 -2 24.5 -3t27.5 -1q49 0 81.5 19t52 50t28 72t8.5 84q0 70 -16.5 137.5t-35 134t-35 133t-16.5 136.5h-643v-5q-16 -41 -35.5 -66.5t-42 -47t-48 -42t-56.5 -48.5q-41 -41 -78 -85t-88 -73q-53 -29 -117.5 -39t-124.5 -23l-12 -3t-8 -9q-2 -4 -1 -11zM1210 1223 q0 -33 23.5 -56.5t56.5 -23.5q35 0 57.5 23.5t22.5 56.5q0 35 -22.5 57.5t-57.5 22.5q-33 0 -56.5 -23t-23.5 -57z" />
<glyph unicode="&#xf0a8;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -29 20 -49l490 -490q20 -20 48.5 -20t49.5 20l74 74q20 20 20 48 t-20 50l-246 246h612q29 0 49.5 19.5t20.5 48.5v104q0 29 -20.5 49.5t-49.5 20.5h-612l246 246q20 20 20 48.5t-20 49.5l-74 74q-20 20 -48 20t-50 -20l-490 -490q-20 -20 -20 -49z" />
<glyph unicode="&#xf0a9;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 717q0 -29 20.5 -49.5t48.5 -20.5h613l-246 -246q-20 -20 -20.5 -48.5 t20.5 -49.5l74 -74q20 -20 47.5 -20t50.5 20l489 490q20 20 20.5 49t-20.5 49l-489 490q-20 20 -49 20t-49 -20l-74 -74q-20 -20 -20.5 -48t20.5 -50l246 -246h-613q-29 0 -49 -19.5t-20 -48.5v-104z" />
<glyph unicode="&#xf0aa;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -29 20 -49l74 -74q20 -20 48 -20t50 20l246 246v-612q0 -29 19.5 -49.5 t47.5 -20.5h105q29 0 49.5 20.5t20.5 49.5v612l245 -246q20 -20 49 -20t50 20l73 74q20 20 20.5 48t-20.5 50l-489 490q-20 20 -49 20t-49 -20l-490 -490q-20 -20 -20 -49z" />
<glyph unicode="&#xf0ab;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 769q0 -28 20 -50l490 -490q20 -20 48.5 -20t49.5 20l489 490q20 20 20.5 49 t-20.5 49l-73 74q-20 20 -48 20t-51 -20l-245 -246v612q0 29 -19.5 49.5t-48.5 20.5h-104q-29 0 -49.5 -20.5t-20.5 -49.5v-612l-246 246q-20 20 -49 20t-49 -20l-74 -74q-20 -20 -20 -48z" />
<glyph unicode="&#xf0ac;" horiz-adv-x="1597" d="M0 768q0 162 63.5 307.5t173 255t254 173t308.5 63.5q162 0 307 -63.5t254.5 -173t173 -255t63.5 -307.5q0 -164 -63.5 -308.5t-173 -254t-254.5 -173t-307 -63.5q-164 0 -308.5 63.5t-254 173t-173 254t-63.5 308.5zM186 1141h4q4 0 12.5 3t8.5 -9q0 -4 -3 -10.5 t11 -6.5q4 0 5 6t3 0l4 -16v-2q0 -4 -5 -6t-3 -6q4 -4 9.5 -4h9.5l4 2l2 2q0 -6 6 -8.5t10 -2.5h2q0 -2 -4 -4t0 -6l23 -4v-2l14 -29q0 -4 -3 -10t-7 -6t-3 3t1 7t-2 7t-15 3q-2 0 -5 -1t-1 -5l12 -26l3 -2l2 -2q-10 0 -13.5 -24t-3.5 -34l4 -18l2 -6v-4l-4 -19l29 -43h6 q2 -4 -2 -8t-2 -8l8 -8q0 -10 4 -14.5t13 -12.5q-2 -12 20.5 -22.5t28.5 -14.5q8 -23 20 -45.5t29 -38.5l2 -14q0 -2 -5 -4t-1 -6l16 -7q4 4 10.5 -8t10.5 -16l-2 -6l12 -17l6 -2l4 8q-4 10 -14 26.5t-20.5 32t-17.5 28t-7 14.5t-2 16t-4 17q6 -4 15 -7.5t15 -7.5 q4 -25 19.5 -40t27.5 -34q-4 -4 0 -5t7 -1q4 -4 4 -14q14 -16 36.5 -44t22.5 -44v-2l-4 -14q6 -16 20.5 -25.5t28.5 -15.5h4q20 -10 41 -21.5t43 -19.5l23 14q8 -2 17 -10t20.5 -18.5t27 -19.5t35.5 -11q14 10 14 -5v-4l25 -30l4 -15q10 -6 20.5 -15t16.5 -20h4 q10 0 16.5 -9t16.5 -9q6 0 6 6q0 14 2 18.5t5 5.5t6 1t3 4l-4 6q-4 0 -6 -5t-6 -1l-14 -8l-17 4l-24 41l8 57q2 4 -7.5 9t-5.5 10q-14 8 -34 8q-4 0 -20.5 -3t-16.5 3t3 16t7 21.5t6 19.5t2 10l13 27l-3 4l-16 4q-4 0 -13 -6t-17.5 -14.5t-14.5 -16.5t-6 -14l-45 -10 q-14 0 -23 12q-4 16 -17 35.5t-13 34.5q0 23 8 43t-6 43q2 0 5 2t1 6l12 14l2 2l2 -2q14 10 37 7t29 14l16 -13q4 -2 9 4.5t5 10.5l-8 4l39 10l2 -6l19 2l22 -14q4 0 8 5t9 1l20 -21q-4 -8 -1 -12t3 -8q0 -6 10.5 -27.5t18.5 -21.5q10 0 9 13t-1 17q0 20 -8 39t-15 39v6 q0 10 12.5 17.5t12.5 9.5q10 8 22.5 16t18.5 19l8 16v10h6t4 6q0 2 -3 3.5t-7 5.5q-4 2 -8 6l6 4q4 6 6 15t-2 16l15 8q-2 -6 4 -8t10 0l10 16q-4 10 -5 7t5 7q10 4 19.5 9.5t19.5 5.5q2 -2 4 -2q6 0 6 2q0 10 -4 12l12 25q14 0 21 12l18 2q6 2 6 8v2l35 10l4 11l-10 14 q2 0 2 4t-4 6t-7 4t-7 4l-4 -2l4 2h6h13t9 9q0 12 -14 12q-18 0 -41.5 -8.5t-32.5 -28.5l-14 -8l18 18l3 6q0 4 -9.5 5.5t-5.5 1.5q18 0 27.5 4t15.5 9t12.5 10t18.5 9q23 -4 44 -2t44 2q6 4 12 8.5t8 10.5l23 4q4 -4 12 2t8 10q0 10 -11 13t-11 14q0 2 1 6t-3 4 q-6 0 -19.5 -6t-19.5 -10q-4 -2 -5 1t-1 7l2 -2l8 4l23 8l4 4q0 6 -7.5 8t-11.5 2t-12 -3t-8 3l2 4q-12 10 -21.5 22.5t-9.5 16.5t1 8.5t-5 4.5q-4 0 -7 -1t-3 5q0 4 -5 17t-14 13l-8 -8q0 -6 -6 -9t-6 -7h-4l-21 -12q-2 4 -5 2t-7 -2h-2l-2 -2q8 0 7 9t-7 9l-16 -4 q-4 0 -4.5 1t2 4t4.5 7t0 8t-6.5 1t-4.5 1h6l5 5q2 2 -1.5 7t-5.5 7l-22 4l-14 12q-2 -2 -7.5 3t-9.5 7l-16 -6l-39 9q-4 0 -8 -2.5t-4 -6.5t4 -6t4 -6t3 -21.5t-5 -13.5l-10 -14q2 -4 7 -7t10 -7.5t9 -10.5t2 -18l-45 -31v-4q0 -8 4 -15t8 -18q10 -4 9.5 -7t-7 -6t-12.5 -6 t-6 -5t-4 -2h-8h-4q0 2 2 3t2 5l-19 12v-2l-8 16q4 10 1 14.5t-3 10.5q0 16 -14.5 16t-30.5 -4q4 2 -1 6.5t-7 4.5q-16 0 -38 14t-36 14q-6 0 -14 -2t-15 -4q4 2 5 10l-13 23l-2 2q-6 0 -14 -5t-8 9q0 2 2 4t0 4q-2 12 5 20.5t11 18.5q4 4 4 8t4 4q8 0 15.5 4.5t17.5 6.5 l2 6q0 4 -21.5 7t-21.5 7l2 2q20 -6 30.5 -7t17.5 2t16.5 8t29.5 14q0 4 -21.5 8t-27.5 8h12q4 0 10.5 -2t10.5 -4q0 -4 6 -5t10 -1l15 10v6l-4 6l22 4q-2 2 1 4t5 2q6 0 12.5 -6t8.5 -6l20 8q-2 2 5.5 3t4.5 6l-14 16q-2 0 -3 3t1 3q10 0 6 10q-8 4 -17 9.5t-20 5.5 q-4 0 -9 -2t-5 -7q0 -4 5 -4t7 -4q4 -4 -2 -4t-6 -2q-8 0 -15 -12t-18 -17q-4 0 -3 2.5t-1 4.5q-2 4 -7 5t-5 5t5 13t-13 9q-8 0 -11.5 -6t-7.5 -12l-22 25l-17 2q0 8 3.5 14t-9.5 16q-6 4 -11 7.5t-11 3.5q-2 0 -9.5 -4.5t-13.5 -8.5t-6 -8t10 -4h-2q-6 0 -6 -8 q0 -2 9.5 -5t13.5 -3q4 2 6 -1.5t6 -3.5l8 3v-5q-2 -2 -2 -4l2 -8l-20 -10q-2 -2 -4 -2t-5 -2q0 -6 5.5 -12.5t-11.5 -6.5l-6 4q0 8 -16.5 13.5t-40 7.5t-47 3t-35.5 1l-33 -10l8 -19q-4 0 -5 -3t3 -5q-4 4 -15 14.5t-15 10.5l-17 4q-35 -2 -78 -33t-84 -72t-75.5 -84 t-53.5 -71zM471 674h2h-2zM487 1413q14 2 25.5 8t24.5 6l6 -4q6 -2 11 -2t9 -4q8 2 17 -2l6 4v8l-2 5l6 -2q6 0 12 10l-2 4q-4 2 -10 4t-10 2t-16.5 -5t-28 -11.5t-29.5 -12.5t-19 -8zM918 86q0 -4 3 -9t3 -9q0 -5 -2 -7q115 20 217 74.5t182 140.5h-2q-8 -4 -14 0l-5 -4 l-12 4h-4l-4 -8l2 8q-6 8 -14 15l-4 2q-4 0 -4 -8q2 16 -8.5 27.5t-26.5 11.5q0 -2 -2 -2h-4l-5 4h7l4 12l-11 8l-2 -2q-14 2 -20 16l-4 2l-2 -2l-4 -2q-12 -4 -21 -8q-12 4 -18 10l-27 -2q0 6 -4 12.5t-12 6.5q-10 0 -20.5 -2t-14.5 -13q0 -4 2 -8t4 -6v-8l-2 -6l-4 -2h-2 l-6 16l6 10q-2 4 -2 10.5t-2 10.5l-2 4h-6l-15 -10h-8l-4 -4q-2 -2 -2 -4t-2 -3l-2 3h-8q-8 -8 -9 -19l3 -4l-9 -6l-2 -4l-6 -4q0 -2 -1 -2t-1 -2v-2v-9l-2 -2v4l-2 2q-2 12 -23 21h-6v-4q2 -6 8.5 -10.5t10.5 -8.5q-2 2 -5 1t-3 -3v-4l14 -20v-39l4 -10q-4 -16 -16 -27v2 l-4 -2l-3 -2l-2 -10l2 -2v-2l-4 4l-2 -13l-12 -4q-6 -4 -5 -11t-5 -11l2 -4l-6 -6q0 -4 -1 -6.5t-1 -6.5l2 -14l6 -4l4 4l2 6l2 -12q0 -4 -4 -8q-6 -4 -12 -9.5t-6 -15.5z" />
<glyph unicode="&#xf0ad;" horiz-adv-x="1593" d="M8 242q0 33 12.5 62.5t34.5 51.5l609 609q-16 66 -17 122q0 98 38 186.5t102.5 153t151.5 102.5t185 38q94 0 181.5 -36t154.5 -101l-442 -162l-43 -236l184 -153l443 159q-10 -92 -50.5 -171t-104 -137t-145 -91t-174.5 -33q-61 0 -127 17l-606 -607q-47 -47 -112 -47 q-68 0 -115 47q-23 23 -50.5 47.5t-52 52t-41 58.5t-16.5 68zM203 242q0 -33 22.5 -56.5t57.5 -23.5q33 0 56 23.5t23 56.5q0 35 -23.5 57.5t-55.5 22.5q-35 0 -57.5 -23t-22.5 -57z" />
<glyph unicode="&#xf0ae;" d="M0 76v217q0 31 22.5 53.5t53.5 22.5h1689q33 0 55.5 -22.5t22.5 -53.5v-217q0 -31 -22.5 -53.5t-55.5 -22.5h-1689q-31 0 -53.5 22.5t-22.5 53.5zM0 662v215q0 31 22.5 53t53.5 22h1689q33 0 55.5 -22.5t22.5 -52.5v-215q0 -33 -22.5 -55.5t-55.5 -22.5h-1689 q-31 0 -53.5 22.5t-22.5 55.5zM0 1243v217q0 31 22.5 53.5t53.5 22.5h1689q33 0 55.5 -22.5t22.5 -53.5v-217q0 -31 -22.5 -53.5t-55.5 -22.5h-1689q-31 0 -53.5 22.5t-22.5 53.5zM752 692h999v154h-999v-154zM1059 109h692v153h-692v-153zM1366 1274h385v153h-385v-153z " />
<glyph unicode="&#xf0b0;" horiz-adv-x="1566" d="M0 1458q0 33 22.5 55.5t55.5 22.5h1411q33 0 55.5 -22.5t22.5 -55.5t-23 -55l-565 -565v-791q0 -33 -22.5 -55.5t-55.5 -22.5t-55 23l-236 235q-23 23 -22 56v555l-565 565q-23 23 -23 55z" />
<glyph unicode="&#xf0b1;" d="M0 115v512h713q-2 -6 -2 -19v-153q0 -55 38.5 -95.5t96.5 -40.5h153q55 0 94.5 40t39.5 96v153q0 12 -3 19h713v-512q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM0 743v371q0 47 34 81t81 34h424v231q0 31 21.5 53.5t53.5 22.5h615q33 0 55.5 -22.5 t22.5 -53.5v-231h422q47 0 80.5 -34t33.5 -81v-371h-1843zM692 1229h461v153h-461v-153zM825 455v153q0 18 21 19h153q18 0 19 -19v-153q0 -18 -19 -19h-153q-20 0 -21 19z" />
<glyph unicode="&#xf0b2;" horiz-adv-x="1536" d="M0 80v477q0 51 24.5 61.5t59.5 -24.5l162 -162l340 338l-338 338l-164 -164q-35 -35 -59.5 -25.5t-24.5 60.5v477q0 31 23 57q27 23 57 23h477q51 0 61.5 -24.5t-24.5 -59.5l-160 -158l338 -338l332 334l-162 162q-35 35 -24.5 59.5t61.5 24.5h477q33 0 55 -23 q25 -25 25 -57v-477q0 -51 -24.5 -61.5t-59.5 24.5l-162 162l-334 -334l338 -336l158 160q35 35 59.5 24.5t24.5 -61.5v-477q0 -35 -25 -55q-23 -25 -55 -25h-477q-51 0 -61.5 24.5t24.5 59.5l166 166l-336 336l-340 -340l162 -162q35 -35 24.5 -59.5t-61.5 -24.5h-477 q-31 0 -55 25q-25 20 -25 55z" />
<glyph unicode="&#xf0c0;" horiz-adv-x="1880" d="M0 852v152q0 18 1 47.5t10 56.5t29.5 46.5t57.5 19.5q-45 29 -71.5 75.5t-26.5 104.5q0 43 16.5 82t46 68.5t68.5 46t82 16.5q45 0 84 -16.5t67.5 -46t46 -68.5t17.5 -82q0 -57 -27.5 -104t-72.5 -76q37 0 57.5 -19.5t29.5 -46.5t11 -56.5t2 -47.5v-152 q-14 -8 -23.5 -18.5t-27.5 -10.5h-328q-16 0 -26.5 10.5t-22.5 18.5zM158 57v387q0 78 45 138.5t98 109.5q10 10 25.5 21.5t33.5 15.5q18 6 41 7t45 5q61 10 130 19.5t135 19.5q-90 57 -144.5 151.5t-54.5 207.5q0 88 34 166.5t92 136t136 91.5t166 34t166 -34t136 -91.5 t92 -136t34 -166.5q0 -113 -54 -207t-145 -152q66 -10 134.5 -19t130.5 -20q23 -4 45 -5t41 -7q18 -4 33.5 -15.5t27.5 -21.5q66 -59 103.5 -116.5t37.5 -131.5v-387q-12 -6 -20 -13t-18.5 -14t-23.5 -14.5t-36 -15.5h-1368q-35 0 -54.5 22.5t-43.5 34.5zM1452 852v152 q0 18 2 47.5t11.5 56.5t30 46.5t56.5 19.5q-45 29 -72.5 75.5t-27.5 104.5q0 43 16.5 82t46 68.5t68.5 46t84 16.5q43 0 82 -16.5t68.5 -46t46 -68.5t16.5 -82q0 -57 -26.5 -104t-71.5 -76q37 0 56.5 -19.5t28.5 -46.5t11 -56.5t2 -47.5v-152q-12 -8 -22.5 -18.5 t-26.5 -10.5h-328q-18 0 -27.5 10.5t-23.5 18.5z" />
<glyph unicode="&#xf0c1;" horiz-adv-x="1597" d="M0 1137q0 88 34 166.5t92 137t136 92.5t168 34q86 0 166 -33t139 -92q8 -8 21.5 -20.5t26 -25t21.5 -25.5t9 -25q0 -18 -12 -31q-6 -8 -25 -12q-47 -10 -88 -22.5t-86 -31.5q-4 -4 -16 -4t-25.5 10.5t-31 21.5t-42 21.5t-57.5 10.5q-35 0 -66.5 -13.5t-54 -37t-36 -54 t-13.5 -67.5q0 -41 17.5 -75t43 -63.5t56.5 -56.5t57 -53l180 -178q23 -25 54.5 -37t66.5 -12q43 0 73 16t46 16q12 0 39 -21.5t55.5 -49t50 -55t21.5 -42.5q0 -29 -36 -51t-83 -38.5t-94 -26t-72 -9.5q-86 0 -164.5 33t-140.5 92l-303 305q-61 59 -94 139.5t-33 166.5z M578 1010q0 29 35.5 51t82.5 38.5t94 26t72 9.5q86 0 166 -33t139 -92l303 -305q61 -59 94 -139.5t33 -166.5q0 -90 -33.5 -167.5t-92 -136t-137.5 -92.5t-167 -34q-86 0 -165.5 34t-139.5 93q-8 8 -21.5 19.5t-25.5 25t-21.5 26.5t-9.5 26q0 18 13 28q6 8 24 12 q47 10 88 22.5t86 33.5q12 4 17 4q12 0 25.5 -10.5t30.5 -21.5t41 -21.5t58 -10.5q72 0 121 49.5t49 120.5q0 41 -17 76t-44 63.5t-56.5 55.5t-56.5 53l-178 180q-53 49 -123 50q-43 0 -72.5 -17.5t-46.5 -17.5q-12 0 -38.5 21.5t-55 49t-50 56t-21.5 41.5z" />
<glyph unicode="&#xf0c2;" horiz-adv-x="1880" d="M0 391q0 70 23.5 132.5t64.5 113.5t96.5 86t120.5 51q-33 41 -51 90t-18 105q0 66 24.5 123t66.5 99t99 66.5t123 24.5q113 0 196 -72q18 76 61.5 141.5t103 113.5t133 75t157.5 27q96 0 182 -37t149.5 -100.5t100.5 -149.5t37 -182q0 -57 -13 -109.5t-36 -99.5 q117 -59 188.5 -170t71.5 -248q0 -98 -37 -183t-101.5 -149.5t-149.5 -101.5t-183 -37h-1018q-80 0 -151.5 30.5t-125 84t-84 125t-30.5 151.5z" />
<glyph unicode="&#xf0c3;" horiz-adv-x="1536" d="M16 72q-39 72 7 141l516 803v366h-78q-33 0 -54.5 22.5t-21.5 55.5q0 31 21.5 53.5t54.5 22.5h614q33 0 55.5 -22.5t22.5 -53.5q0 -33 -22.5 -55.5t-55.5 -22.5h-76v-368l514 -801q45 -70 7 -141q-18 -35 -51 -53.5t-70 -18.5h-1262q-37 0 -69.5 18.5t-51.5 53.5z M377 479h782l-313 490v413h-154v-411z" />
<glyph unicode="&#xf0c4;" horiz-adv-x="1916" d="M0 180q0 86 44 168t113.5 146.5t154.5 103.5t169 39h13q18 25 57 60.5t63 58.5v12v12q-12 12 -28.5 27.5t-35 32t-33.5 32t-23 27.5q-84 -6 -172.5 33t-160 105.5t-116.5 150.5t-45 168q0 98 62.5 154.5t160.5 56.5q82 0 168 -39t155.5 -103.5t114 -146.5t44.5 -168 q0 -10 -1.5 -21.5t-3.5 -21.5l86 -76l34 17q34 18 90.5 46.5t129 65.5t148.5 76t150.5 77t135 69.5t102.5 52t52 26.5q16 8 37 9q14 0 39 -4.5t52.5 -9.5t53 -11t41.5 -8q29 -4 47.5 -26.5t18.5 -51.5q0 -43 -35 -66l-700 -485l700 -485q35 -23 35 -66q0 -29 -18.5 -51.5 t-47.5 -26.5q-16 -4 -41.5 -9t-53 -10t-52.5 -9.5t-39 -4.5q-10 0 -18.5 2.5t-18.5 6.5l-842 430l-86 -76q2 -10 3.5 -21.5t1.5 -21.5q0 -86 -44.5 -168t-114 -146.5t-155.5 -103.5t-168 -39q-98 0 -160.5 56.5t-62.5 154.5zM197 1358q0 -23 11 -49.5t27.5 -51t35 -45 t34.5 -34.5q35 -29 82 -54.5t94 -25.5q10 0 27 4v6q0 23 -11.5 48.5t-27.5 50t-34.5 46t-35.5 35.5q-35 29 -82 54.5t-94 25.5q-14 0 -26 -4v-6zM199 180q0 -6 2 -10q6 0 11 -1t11 -1q41 0 90 24.5t92.5 61.5t72 83t28.5 89q0 4 -1 5t-1 5q-8 2 -23 2q-41 0 -90 -24.5 t-92 -61.5t-71.5 -83t-28.5 -89zM586 616q53 -25 82 -69l108 96l45 -27l1016 703l-172 31l-975 -498l6 -127zM586 920l35 -35q12 29 36.5 41t53.5 26l-43 37q-29 -45 -82 -69zM741 768q0 35 23.5 57.5t58.5 22.5q33 0 55.5 -22.5t22.5 -57.5q0 -33 -22.5 -56.5t-57.5 -23.5 q-33 0 -56.5 23.5t-23.5 56.5zM903 575l762 -389l172 31l-727 502z" />
<glyph unicode="&#xf0c5;" horiz-adv-x="1597" d="M0 385v707q0 33 16.5 70.5t38.5 60.5l258 258q23 23 61 39t70 16h463q31 0 53.5 -22.5t22.5 -53.5v-250q16 8 35.5 13.5t40.5 5.5h463q31 0 53 -22.5t22 -53.5v-1075q0 -33 -22.5 -55.5t-52.5 -22.5h-830q-33 0 -55.5 22.5t-22.5 55.5v229h-536q-33 0 -55.5 22.5 t-22.5 55.5zM154 461h460v293q0 45 10.5 87t45.5 74l159 162v305h-278v-321q0 -31 -22.5 -53.5t-53.5 -22.5h-321v-524zM186 1139h211v211zM768 154h676v921h-279v-321q0 -31 -22.5 -53.5t-52.5 -22.5h-322v-524zM801 831h211v211z" />
<glyph unicode="&#xf0c6;" horiz-adv-x="1470" d="M0 1128q0 90 35 170t94 139.5t139 94.5t170 35q88 0 169 -34t143 -95l655 -656q12 -12 12 -28q0 -10 -11 -26.5t-26.5 -32t-32 -27t-26.5 -11.5q-16 0 -29 13l-655 655q-41 41 -92 61.5t-107 20.5q-57 0 -108 -21.5t-89 -59.5t-59.5 -89t-21.5 -109q0 -55 20.5 -106 t61.5 -92l745 -746q55 -55 133 -55q39 0 74 15.5t60.5 41t41 60.5t15.5 73q0 78 -56 134l-563 563q-29 29 -69 28q-41 0 -71 -29.5t-30 -70.5t29 -70l475 -475q12 -12 12 -28q0 -10 -11 -26.5t-26.5 -32t-32 -27t-26.5 -11.5q-16 0 -29 13l-475 473q-35 37 -55.5 85 t-20.5 99q0 53 20.5 100.5t55.5 83t83.5 56t101.5 20.5q51 0 99 -20.5t85 -55.5l561 -563q102 -102 102 -246q0 -74 -27.5 -137t-74.5 -110t-110.5 -75t-137.5 -28q-143 0 -246 103l-745 745q-61 61 -95 142t-34 169z" />
<glyph unicode="&#xf0c7;" horiz-adv-x="1536" d="M0 154v1228q0 63 45 108.5t109 45.5h1075q63 0 108 -45l154 -154q45 -45 45 -108v-1075q0 -63 -45 -108.5t-109 -45.5h-1228q-63 0 -108.5 45t-45.5 109zM154 846h1075v536h-1075v-536zM846 922v385h190v-385h-190z" />
<glyph unicode="&#xf0c8;" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1150q-80 0 -136.5 56.5t-56.5 136.5z" />
<glyph unicode="&#xf0c9;" d="M0 78v215q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-215q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM0 659v218q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-218q0 -31 -22.5 -53t-53.5 -22h-1689 q-33 0 -55.5 22.5t-22.5 52.5zM0 1243v217q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-217q0 -31 -22.5 -53.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 53.5z" />
<glyph unicode="&#xf0ca;" d="M0 211q0 39 15.5 75t41 61.5t60.5 40.5t76 15q39 0 73.5 -15t61 -40.5t42 -61.5t15.5 -75q0 -41 -15.5 -76t-42 -60.5t-61.5 -41t-73 -15.5q-80 0 -136.5 56.5t-56.5 136.5zM0 768q0 39 15.5 75t41 61.5t60.5 41t76 15.5q39 0 73.5 -15.5t61 -41t42 -61.5t15.5 -75 q0 -41 -15.5 -76t-42 -60.5t-61.5 -41t-73 -15.5q-41 0 -76 15.5t-60.5 41t-41 60.5t-15.5 76zM0 1325q0 39 15.5 75t41 61.5t60.5 41t76 15.5q39 0 73.5 -15.5t61 -41t42 -61.5t15.5 -75q0 -41 -15.5 -76t-42 -60.5t-61.5 -40.5t-73 -15q-41 0 -76 15t-60.5 40.5t-41 60.5 t-15.5 76zM522 154v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1167q-33 0 -55.5 21.5t-22.5 54.5zM522 711v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5 h-1167q-33 0 -55.5 22.5t-22.5 55.5zM522 1268v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1167q-33 0 -55.5 22.5t-22.5 55.5z" />
<glyph unicode="&#xf0cb;" d="M0 594q0 55 30.5 90t68.5 61.5t69 50t31 56.5q0 29 -17.5 44t-46.5 15q-25 0 -44 -15t-34 -36l-53 37q23 39 58.5 60.5t78.5 21.5q55 0 96.5 -32t41.5 -91q0 -49 -30 -80t-67 -55.5t-67.5 -47t-30.5 -55.5h143v54h66v-115h-289q-2 10 -3 18.5t-1 18.5zM4 55l37 54 q6 -4 12 -10.5t15 -10.5q12 -8 29.5 -14t37.5 -6q35 0 55.5 18t20.5 47q0 31 -23.5 48.5t-58.5 17.5h-23l-16 37l90 108l6 6t7 6l4 6h-9q-4 -2 -14 -2h-92v-49h-66v111h263v-53l-97 -115q41 -6 74 -35t33 -82t-38 -95t-110 -42q-35 0 -60.5 9t-41.5 20q-25 14 -35 26z M14 1434l105 102h67v-360h93v-62h-259v62h93v258v8h-2q-10 -16 -22.5 -28.5t-29.5 -27.5zM522 154v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1167q-33 0 -55.5 21.5t-22.5 54.5zM522 711v114q0 33 22.5 55.5 t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1167q-33 0 -55.5 22.5t-22.5 55.5zM522 1268v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1167q-33 0 -55.5 22.5t-22.5 55.5z " />
<glyph unicode="&#xf0cc;" horiz-adv-x="1536" d="M0 692v152h1536v-152h-1536zM268 1114q0 117 44 202t118 141t170 83t203 27q88 0 176 -20.5t172 -49.5q20 -72 27.5 -156t7.5 -157q0 -10 -1 -22.5t-3 -24.5l-13 -2q-23 2 -50 2t-50 6q-18 59 -44 114.5t-62.5 98.5t-88 68.5t-122.5 25.5q-49 0 -94.5 -13.5t-80 -40 t-56 -66.5t-21.5 -93q0 -59 28.5 -102t75.5 -75t105.5 -54.5t118 -42t113.5 -39t93 -41.5h-696q-33 53 -51.5 110.5t-18.5 120.5zM285 310v63v45l110 2q31 -72 64 -134.5t76 -108.5t104 -71.5t152 -25.5q55 0 110 16.5t100.5 48t74 78.5t28.5 109q0 76 -49 128t-119 88 t-146.5 59.5t-132.5 45.5h617q8 -16 15 -38.5t10.5 -48t5.5 -50t2 -43.5q0 -131 -47.5 -226t-127 -156.5t-186 -91.5t-225.5 -30q-53 0 -93 4t-78 12.5t-78 20.5t-93 29q-12 4 -38 12t-36 16q-8 6 -12 50.5t-6 96.5t-2 100z" />
<glyph unicode="&#xf0cd;" horiz-adv-x="1536" d="M0 0v154h1536v-154h-1536zM0 1532q10 2 19.5 2h19.5q72 0 140.5 -5t137.5 -5q100 0 200.5 2t199.5 6q-4 -16 -1 -36.5t3 -37.5v-8q-66 -10 -108 -7t-65.5 -5t-32.5 -39t-9 -109q0 -137 4 -272t10 -273q8 -147 88 -237t238 -90q125 0 207 29.5t131 88t69.5 146.5t20.5 203 q0 20 -2 65t-5 102.5t-8.5 119t-11.5 113.5t-13 89t-15 45q-33 33 -78 33q-6 0 -23.5 -1t-36 -1t-34 1t-21.5 3l2 82q82 4 163 -3t165 -7q39 0 77.5 5t79.5 5q4 0 9.5 -1t9.5 -1q2 -12 4 -24.5t2 -24.5t-4 -29q-23 -6 -52.5 -8t-58 -7t-48 -16.5t-19.5 -38.5q0 -14 1 -27 t3 -28q2 -6 5 -38.5t5 -79t4 -101.5t4 -103t3 -85t1 -50q0 -37 -2 -80.5t-8 -89t-17.5 -87.5t-29.5 -74q-41 -68 -104.5 -114t-137 -72.5t-153.5 -38t-154 -11.5q-72 0 -144.5 9.5t-140.5 35.5q-96 35 -151 88.5t-84 121t-36 148.5t-7 173v321v42t-1 62.5t-5 60.5t-10 38 q-12 16 -37 23.5t-53.5 10.5t-56.5 3t-44 4z" />
<glyph unicode="&#xf0ce;" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h460v335h-460v-335zM154 565h460v332h-460v-332zM154 975h460v332h-460v-332zM692 154h461v335h-461v-335zM692 565h461v332h-461v-332z M692 975h461v332h-461v-332zM1229 154h461v335h-461v-335zM1229 565h461v332h-461v-332zM1229 975h461v332h-461v-332z" />
<glyph unicode="&#xf0d0;" d="M0 197q0 39 29 61l1579 1247q20 17 47 17q35 0 59 -29q10 -12 29.5 -33.5t38 -44t32 -47.5t13.5 -43q0 -39 -29 -61l-1579 -1248q-20 -16 -47 -16q-37 0 -59 29q-10 12 -30 33.5t-38 44t-31.5 47t-13.5 43.5zM256 922l117 36l37 117l34 -117l119 -36l-119 -37l-34 -117 l-37 117zM373 1229l235 71l72 236l72 -236l235 -71l-235 -72l-72 -235l-72 235zM942 1382l117 37l37 117l37 -117l116 -37l-116 -36l-37 -117l-37 117zM1286 1153l94 -121l369 291l-94 121zM1536 885l117 35l37 118l36 -118l117 -35l-117 -37l-36 -117l-37 117z" />
<glyph unicode="&#xf0d1;" d="M0 358v404q0 25 6 51.5t17.5 53t27 51t31.5 40.5l223 222q16 16 41 31.5t51.5 26.5t53 17.5t51.5 6.5h80v198q0 31 22.5 53.5t52.5 22.5h1108q33 0 55.5 -22.5t22.5 -53.5v-1102q0 -31 -22.5 -53t-55.5 -22h-75v-7q0 -63 -25 -119.5t-65.5 -97.5t-97 -65.5t-120.5 -24.5 q-63 0 -119.5 24.5t-97.5 65.5t-65.5 97.5t-24.5 119.5v7h-307v-7q0 -63 -24.5 -119.5t-65.5 -97.5t-97.5 -65.5t-119.5 -24.5t-119.5 24.5t-97.5 65.5t-65.5 97.5t-24.5 119.5v7h-78q-31 0 -53.5 22.5t-22.5 52.5zM193 700h387v369h-78q-10 0 -31.5 -8t-30.5 -17l-223 -221 q-8 -8 -16 -29.5t-8 -31.5v-62zM346 276q0 -47 34 -80.5t81 -33.5t80.5 33.5t33.5 80.5t-33.5 81t-80.5 34t-81 -33.5t-34 -81.5zM1268 276q0 -47 33.5 -80.5t80.5 -33.5t81 33.5t34 80.5t-33.5 81t-81.5 34q-47 0 -80.5 -33.5t-33.5 -81.5z" />
<glyph unicode="&#xf0d2;" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5q-59 0 -115.5 8.5t-112.5 24.5q23 35 46.5 80t35.5 92l11 41q6 23 16 66t29 112q23 -41 76 -70.5t118 -29.5q96 0 176 41 t136.5 114.5t88 174t31.5 217.5q0 88 -35.5 171t-102.5 147.5t-160 102t-208 37.5q-141 0 -248.5 -46t-179 -118.5t-107.5 -160.5t-36 -174q0 -104 40 -187.5t124 -117.5q31 -10 41 20q2 10 7 31.5t9 32.5q4 16 1 23t-13 22q-53 59 -53 155q0 76 27.5 145.5t78.5 122t124 84 t163 31.5q80 0 142.5 -23.5t105.5 -64.5t64.5 -96t21.5 -121q0 -86 -18.5 -164t-52.5 -136t-80 -92t-103 -34q-31 0 -57.5 12.5t-45 34t-25.5 49t1 60.5q18 76 44.5 151.5t26.5 130.5q0 49 -26.5 84t-81.5 35q-66 0 -110 -58.5t-44 -146.5q-2 -23 2 -45q2 -18 7.5 -40.5 t15.5 -41.5q-33 -141 -53.5 -225t-30.5 -131q-12 -55 -18 -80q-10 -45 -13.5 -93t-1.5 -89q-104 45 -192 119.5t-151.5 169t-98.5 207t-35 235.5z" />
<glyph unicode="&#xf0d3;" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-829q27 39 59.5 95.5t49.5 117.5l10 41q6 25 17.5 68t29.5 112q20 -41 75.5 -70.5t121.5 -29.5q96 0 176 42t137 115.5 t89 175t32 220.5q0 90 -37 173t-103.5 147.5t-161 102.5t-208.5 38q-143 0 -251 -46.5t-180.5 -120t-108.5 -162.5t-36 -175q0 -104 40 -188.5t124 -118.5q14 -6 25.5 -1t15.5 21q4 10 8 31.5t8 34.5q8 23 -12 43q-23 29 -37 67.5t-14 91.5q0 76 27.5 145.5t79 123t124 85 t164.5 31.5q82 0 144.5 -23.5t105.5 -64.5t64.5 -97t21.5 -124q0 -86 -18.5 -164t-52 -136t-81 -93t-104.5 -35q-31 0 -57.5 12.5t-45 34t-25.5 49t1 60.5q18 78 45 154.5t27 131.5q0 49 -26.5 85t-82.5 36q-66 0 -110.5 -59t-44.5 -150q-2 -23 2 -45q4 -43 22 -84 q-35 -141 -54.5 -226t-29.5 -132q-12 -55 -18 -80q-16 -70 -14 -142.5t6 -117.5h-260q-80 0 -136.5 56.5t-56.5 136.5z" />
<glyph unicode="&#xf0d4;" horiz-adv-x="1536" d="M0 342v438q55 -68 120.5 -96.5t153.5 -28.5h36t34 4q-8 -23 -14 -42t-6 -42q0 -41 18 -77.5t43 -67.5q-104 -4 -198.5 -22.5t-186.5 -65.5zM0 1214v129q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5 t-61.5 -41t-75 -15.5h-583q23 39 36 81t13 89q0 70 -21.5 121t-54.5 90t-70.5 69.5t-70.5 57.5t-54.5 53.5t-21.5 59.5q0 49 34 81.5t76 72.5t75.5 99.5t33.5 163.5q0 78 -39 157t-106 122h131l133 76h-428q-129 0 -237.5 -36t-188.5 -143zM2 170q14 57 55 96t96.5 61.5 t115 33t110.5 10.5h31.5t31.5 -2q37 -27 78 -54.5t75 -61.5t55.5 -75t21.5 -92q0 -47 -19 -86h-460q-72 0 -126.5 49t-64.5 121zM102 1094q0 43 11.5 85t35 73.5t59.5 51t85 19.5q68 0 118 -41t81.5 -100.5t47 -128t15.5 -123.5q0 -45 -9 -84t-30.5 -68.5t-56.5 -47 t-84 -17.5q-66 0 -116 39t-85 96t-53.5 123.5t-18.5 122.5zM854 1051h223v-224h109v224h223v108h-223v225h-109v-225h-223v-108z" />
<glyph unicode="&#xf0d5;" horiz-adv-x="1536" d="M0 262q0 100 56.5 166t139.5 105.5t179 56t174 18.5q-23 29 -41.5 64t-18.5 76q0 23 6.5 41t14.5 40q-16 -4 -33.5 -4h-34.5q-68 0 -130 23.5t-108 66.5t-74 101.5t-28 130.5q0 68 25 128t67 109.5t98 84t120 49.5q88 18 176 18h411l-127 -74h-127q72 -43 107 -120.5 t35 -157.5q0 -94 -33 -149.5t-73 -94.5t-72.5 -70.5t-32.5 -78.5q0 -45 44 -82t97 -82t97 -107.5t44 -161.5q0 -102 -50 -175.5t-126.5 -121t-170 -70t-181.5 -22.5q-66 0 -141.5 15.5t-140 50.5t-106.5 90t-42 137zM174 307q0 -68 35 -116t87 -78.5t114.5 -44t117.5 -13.5 q51 0 104.5 11.5t96.5 38t69.5 68.5t26.5 103q0 49 -21.5 89.5t-53 72t-70.5 59t-76 52.5q-14 2 -29.5 3t-29.5 1q-57 0 -123 -12.5t-121 -41t-91 -75.5t-36 -117zM276 1247q0 -53 17.5 -117.5t51.5 -120t82.5 -92t111.5 -36.5q96 0 134 61.5t38 147.5q0 53 -14.5 118.5 t-45 124t-78 97t-112.5 38.5q-47 0 -82 -18t-57.5 -49t-34 -71t-11.5 -83zM999 1206h215v-215h107v215h215v105h-215v217h-107v-217h-215v-105z" />
<glyph unicode="&#xf0d6;" d="M0 78v1382q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-1382q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM154 461q63 0 119.5 -24.5t97.5 -65.5t65.5 -97.5t24.5 -119.5h921q0 63 25 119.5t65.5 97.5t97 65.5t120.5 24.5v614 q-63 0 -120 24.5t-97.5 65.5t-65.5 97.5t-25 119.5h-921q0 -63 -24.5 -119.5t-65.5 -97.5t-97.5 -65.5t-119.5 -24.5v-614zM539 768q0 104 29.5 195.5t81.5 159t122 106.5t150 39t149.5 -39t121.5 -106.5t83 -159t31 -195.5t-31 -195.5t-83 -159t-122 -106.5t-149 -39 q-80 0 -150 39t-122 106.5t-81.5 159t-29.5 195.5zM692 969l94 -99l39 35q8 6 11.5 13.5t7.5 11.5q4 2 8 10h2v-16q0 -8 -1 -16.5t-1 -18.5v-283h-139v-129h438v129h-141v529h-140z" />
<glyph unicode="&#xf0d7;" horiz-adv-x="1228" d="M6 967q20 47 72 47h1075q50 0 70 -47t-17 -84l-536 -537q-27 -23 -56 -22q-29 0 -55 22l-536 537q-37 37 -17 84z" />
<glyph unicode="&#xf0d8;" horiz-adv-x="1228" d="M6 371q-20 47 17 84l536 536q23 23 55 23q31 0 54 -23l538 -536q37 -37 17 -84t-70 -47h-1077q-50 0 -70 47z" />
<glyph unicode="&#xf0d9;" horiz-adv-x="692" d="M0 768q0 33 23 55l538 537q16 16 38 21t44 -5q23 -8 36 -27.5t13 -41.5v-1076q0 -25 -13 -43t-36 -28t-44 -5t-38 21l-538 539q-23 23 -23 53z" />
<glyph unicode="&#xf0da;" horiz-adv-x="692" d="M0 231v1076q0 49 47 69t84 -16l539 -537q23 -23 22 -55q0 -31 -22 -53l-539 -539q-37 -37 -84 -16q-47 20 -47 71z" />
<glyph unicode="&#xf0db;" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h692v1153h-692v-1153zM999 154h691v1153h-691v-1153z" />
<glyph unicode="&#xf0dc;" horiz-adv-x="1228" d="M0 584q0 31 22.5 54.5t53.5 23.5h1075q33 0 55.5 -23t22.5 -55q0 -33 -23 -56l-536 -536q-23 -23 -56 -23t-55 23l-536 536q-23 23 -23 56zM0 952q0 33 23 56l536 536q23 23 55 23q33 0 56 -23l536 -536q23 -23 23 -56q0 -31 -22.5 -54.5t-55.5 -23.5h-1075 q-31 0 -53.5 23t-22.5 55z" />
<glyph unicode="&#xf0dd;" horiz-adv-x="1228" d="M0 584q0 31 22.5 54.5t53.5 23.5h1077q31 0 53.5 -23t22.5 -55q0 -33 -23 -56l-536 -536q-23 -23 -56 -23q-35 0 -53 23l-538 536q-23 23 -23 56z" />
<glyph unicode="&#xf0de;" horiz-adv-x="1228" d="M0 952q0 33 23 56l536 536q23 23 55 23q33 0 56 -23l536 -536q23 -23 23 -56q0 -31 -22.5 -54.5t-53.5 -23.5h-1077q-31 0 -53.5 23t-22.5 55z" />
<glyph unicode="&#xf0e0;" d="M0 115v905q10 -10 20.5 -17.5t20.5 -15.5q129 -96 256 -191.5t252 -195.5q39 -31 82 -62.5t89 -57t96.5 -41t103.5 -15.5q55 0 105 15.5t96 40t89 56t84 64.5q125 100 252 195.5t256 191.5q10 8 20.5 15.5t20.5 17.5v-905q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34 t-34 81zM2 1434q0 41 36 71.5t77 30.5h1614q41 0 76.5 -30.5t35.5 -71.5q0 -31 -18.5 -69t-45 -75t-57 -67.5t-53.5 -48.5q-123 -92 -241.5 -182.5t-239.5 -182.5q-25 -18 -57.5 -45t-67.5 -51.5t-71 -42t-66 -17.5h-2h-2q-31 0 -67 17.5t-70.5 42t-67.5 51.5t-58 45 q-121 92 -239.5 182t-241.5 183q-23 18 -53.5 48.5t-57 67.5t-45 75t-18.5 69z" />
<glyph unicode="&#xf0e1;" horiz-adv-x="1576" d="M0 1376q0 39 15.5 74t41 60.5t60 41t73.5 15.5t74 -15.5t61.5 -41t41 -60.5t14.5 -74t-14.5 -73.5t-41 -60t-61.5 -41t-74 -15.5t-73.5 15.5t-60 41t-41 60t-15.5 73.5zM10 41v991q0 16 12.5 28.5t28.5 12.5h281q16 0 28.5 -12t12.5 -29v-991q0 -16 -12.5 -28.5 t-28.5 -12.5h-281q-16 0 -28.5 12.5t-12.5 28.5zM524 41v991q0 16 12.5 28.5t28.5 12.5h273q33 0 37 -25.5t4 -48.5q57 53 129.5 76t150.5 23q190 0 304 -95.5t114 -293.5v-668q0 -16 -12.5 -28.5t-28.5 -12.5h-289q-16 0 -27.5 12.5t-11.5 28.5v604q0 76 -27.5 116 t-111.5 40q-53 0 -89 -17.5t-56.5 -47t-28.5 -70.5t-8 -88v-537q0 -16 -12.5 -28.5t-28.5 -12.5h-281q-16 0 -28.5 12.5t-12.5 28.5z" />
<glyph unicode="&#xf0e2;" horiz-adv-x="1591" d="M0 662q-4 39 35 45l158 20q12 2 30 -8q12 -8 15 -27q14 -102 63 -191t123 -153.5t169 -101.5t200 -37q115 0 217 44t178 120t120 177t44 218t-44 218t-120 177t-178.5 120t-216.5 44q-94 0 -181.5 -30.5t-158.5 -88.5l159 -159q35 -35 24 -58.5t-58 -23.5h-463 q-16 0 -29.5 6t-24.5 16q-25 25 -24 55v463q0 47 24.5 57.5t59.5 -24.5l162 -162q109 92 238.5 140.5t271.5 48.5q166 0 311 -62.5t253.5 -171t171 -254t62.5 -311.5t-62.5 -311.5t-171 -254t-254 -171t-310.5 -62.5q-150 0 -285 52.5t-241.5 145.5t-176.5 220t-90 275z" />
<glyph unicode="&#xf0e3;" horiz-adv-x="1916" d="M0 651q0 49 37 91t88 42q35 0 68 -22q-20 14 -21 37q0 8 8 24l334 502q14 20 37 21q16 0 24 -9q-25 18 -40 43t-15 56q0 49 38 90t87 41q33 0 62 -19l514 -342q23 -16 36 -40.5t13 -53.5q0 -25 -10.5 -48.5t-26.5 -41.5t-40 -29.5t-48 -11.5q-33 0 -68 23q20 -14 21 -37 q0 -14 -8 -25l-105 -158l227 -151q14 4 28 6t28 2q53 0 94 -29l475 -315q37 -27 58.5 -65.5t21.5 -84.5q0 -74 -52.5 -126t-125.5 -52q-55 0 -99 31l-475 315q-70 47 -75 131l-228 152l-106 -158q-14 -20 -37 -20q-14 0 -25 8q55 -39 56 -100q0 -25 -10.5 -47.5t-28 -41 t-40 -29.5t-46.5 -11q-35 0 -62 18l-514 342q-49 33 -49 92z" />
<glyph unicode="&#xf0e4;" horiz-adv-x="1880" d="M0 627q0 195 73.5 365.5t201.5 298.5t299 202t366 74t366 -74t299 -202t201.5 -299t73.5 -365q0 -78 -14.5 -159t-42 -159t-68.5 -149.5t-92 -130.5q-23 -29 -59 -29h-1328q-37 0 -59 29q-53 59 -93 130.5t-67.5 149.5t-42 159t-14.5 159zM158 627q0 -49 33.5 -83 t82.5 -34t83 34t34 83t-34.5 82.5t-82.5 33.5q-49 0 -82.5 -33.5t-33.5 -82.5zM352 1098q0 -49 35 -84t82 -35q49 0 84 35t35 84t-35 82.5t-84 33.5q-47 0 -82 -33.5t-35 -82.5zM743 313q0 -82 57.5 -139t139.5 -57t139.5 57t57.5 139q0 49 -26 91t-67 71q4 14 15.5 55 t27 95.5t33 114t30.5 110.5t22.5 88t9.5 43q0 23 -17.5 40t-40.5 17q-20 0 -35.5 -12t-21.5 -31l-135 -487q-39 -2 -74 -17.5t-60.5 -42t-40 -61.5t-14.5 -74zM823 1292q0 -49 34 -82.5t83 -33.5t83 33.5t34 82.5t-34 83t-83 34t-83 -34t-34 -83zM1292 1098q0 -49 35 -83 t84 -34t83 34t34 83t-34 82.5t-83 33.5t-84 -33.5t-35 -82.5zM1489 627q0 -49 34 -83t83 -34t82.5 34t33.5 83t-33.5 82.5t-82.5 33.5t-83 -33.5t-34 -82.5z" />
<glyph unicode="&#xf0e5;" horiz-adv-x="1916" d="M0 866q0 123 49 225.5t130 183.5t184.5 139.5t209.5 92.5q94 31 190.5 45.5t194.5 14.5t194.5 -14.5t190.5 -45.5q106 -35 210 -93t185 -139t130 -183.5t49 -225.5t-49 -225t-130 -183t-184.5 -140.5t-210.5 -92.5q-94 -31 -190 -45t-195 -14q-92 0 -180 12 q-92 -72 -195.5 -119t-215.5 -73q-27 -4 -55.5 -10.5t-53.5 -6.5q-16 0 -27.5 11.5t-11.5 27.5q0 12 8.5 21.5t16.5 17.5q31 33 53 60.5t37.5 57.5t25 64.5t17.5 79.5q-78 43 -145.5 100.5t-120 128t-82 153.5t-29.5 175zM160 866q0 -72 24.5 -133t65.5 -113.5t94 -95.5 t111 -75q27 -14 51 -27.5t49 -28.5q-10 -47 -17.5 -94t-19.5 -94q59 29 111.5 64.5t105.5 76.5q55 -8 110.5 -14t112.5 -6q156 0 308 43q84 25 171 68.5t158.5 107t116.5 143.5t45 178t-45 178t-116.5 143.5t-158.5 107.5t-171 69q-152 43 -308 43q-158 0 -307 -43 q-84 -25 -171 -69t-158.5 -107.5t-116.5 -143t-45 -178.5z" />
<glyph unicode="&#xf0e6;" horiz-adv-x="1916" d="M0 997q0 98 40 182.5t106.5 151t150.5 113.5t170 76q76 25 154.5 36t156.5 11q80 0 159 -11.5t155 -35.5q86 -29 170 -76t149.5 -113.5t105 -150.5t39.5 -183q0 -98 -39.5 -182t-105 -149.5t-149.5 -113.5t-170 -77q-154 -47 -314 -47q-37 0 -72.5 3t-72.5 7 q-150 -115 -336 -155q-20 -4 -43 -9.5t-45 -5.5q-12 0 -21.5 9.5t-9.5 23.5q0 10 7.5 17.5l13.5 13.5q51 51 72.5 96t35.5 117q-63 35 -118.5 82t-97.5 104t-66.5 124t-24.5 142zM160 997q0 -72 30.5 -127t77.5 -99t104.5 -78t112.5 -64l-20 -111q33 18 63.5 42t59.5 46 q47 -6 95 -12t95 -6q135 0 264 41q61 18 124 52t114 81t84 105.5t33 129.5q0 72 -33 131.5t-84 105.5t-113.5 80t-124.5 52q-63 23 -129.5 32t-134.5 9q-66 0 -132 -9t-132 -32q-59 -18 -122.5 -52t-115 -80t-84 -105.5t-32.5 -131.5zM649 258l27 16q51 -6 102 -6 q197 0 381 62q111 37 211 99.5t177 147.5t123 190t46 230q0 41 -6 84q90 -72 148.5 -169t58.5 -214q0 -76 -24.5 -142.5t-66.5 -123.5t-97.5 -104t-118.5 -82q14 -72 35.5 -117t72.5 -96q6 -6 13.5 -14.5t7.5 -18.5q0 -16 -10.5 -23.5t-24.5 -7.5q-20 0 -43 5.5t-41 9.5 q-186 41 -336 155q-37 -4 -72.5 -7t-72.5 -3q-129 0 -254 32t-236 97z" />
<glyph unicode="&#xf0e7;" horiz-adv-x="933" d="M0 557q0 8 2 10l209 932q4 16 16.5 26.5t28.5 10.5h344q18 0 31.5 -13.5t13.5 -33.5q0 -6 -1 -10t-3 -11l-180 -524q12 4 47 13.5t81 21.5t95 26.5t93 25.5t75 18.5t37 7.5q18 0 31.5 -13.5t13.5 -33.5q0 -12 -2 -19l-565 -1306q-10 -29 -43 -29q-18 0 -33 13.5t-15 33.5 q0 6 3 10l204 914q-12 -4 -48 -14.5t-82 -22.5t-97 -26.5t-95 -27t-76 -19.5t-38 -7q-20 0 -33.5 14.5t-13.5 32.5z" />
<glyph unicode="&#xf0e8;" d="M0 78v383q0 33 22.5 55.5t55.5 22.5h133v153q0 55 40 94t95 39h518v174h-135q-31 0 -53.5 21.5t-22.5 54.5v385q0 31 22.5 53.5t53.5 22.5h385q31 0 53.5 -22.5t22.5 -53.5v-385q0 -33 -22.5 -54.5t-53.5 -21.5h-135v-174h518q55 0 95 -38.5t40 -94.5v-153h135 q31 0 53.5 -22.5t22.5 -55.5v-383q0 -33 -22.5 -55.5t-53.5 -22.5h-385q-33 0 -54 22.5t-21 55.5v383q0 33 21.5 55.5t53.5 22.5h136v153q0 18 -21 19h-518v-172h135q31 0 53.5 -22.5t22.5 -55.5v-383q0 -33 -22.5 -55.5t-53.5 -22.5h-385q-31 0 -53.5 22.5t-22.5 55.5v383 q0 33 22.5 55.5t53.5 22.5h135v172h-518q-20 0 -20 -19v-153h135q33 0 55.5 -22.5t22.5 -55.5v-383q0 -33 -22.5 -55.5t-55.5 -22.5h-383q-33 0 -55.5 22.5t-22.5 55.5z" />
<glyph unicode="&#xf0e9;" horiz-adv-x="1884" d="M0 770q31 137 109.5 253t193.5 204t257 141t302 66v53q0 35 23.5 57.5t56.5 22.5q35 0 57.5 -22.5t22.5 -57.5v-53q160 -12 303 -65.5t258 -141.5t192.5 -204t108.5 -253q6 -29 -20 -43q-10 -6 -19 -6q-20 0 -28 12q-98 102 -218 103q-86 0 -163.5 -54.5t-130.5 -152.5 q-10 -23 -35 -23t-35 23q-82 150 -213 194v-526q0 -68 -23.5 -127t-63.5 -104.5t-93.5 -71t-114.5 -25.5t-115.5 25.5t-94.5 71t-63.5 104.5t-23.5 127q0 35 23.5 57.5t56.5 22.5q35 0 57.5 -22.5t22.5 -57.5q0 -70 40 -119t97 -49q55 0 95 49t40 119v526 q-131 -45 -213 -194q-10 -23 -35 -23t-34 23q-53 98 -130 152.5t-163 54.5q-121 0 -217 -103q-12 -12 -31 -12q-10 0 -19 6q-25 14 -20 43z" />
<glyph unicode="&#xf0ea;" horiz-adv-x="1597" d="M0 385v1075q0 31 22.5 53.5t55.5 22.5h921q31 0 53.5 -22.5t22.5 -53.5v-231h33h61q25 0 55.5 -13.5t49.5 -29.5l280 -281q18 -18 30.5 -49t12.5 -55v-62v-678q0 -27 -17 -44t-44 -17h-860q-27 0 -44.5 17.5t-17.5 43.5v246h-536q-33 0 -55.5 22.5t-22.5 55.5zM276 1321 q0 -12 9.5 -21.5t21.5 -9.5h461q12 0 21.5 9.5t9.5 21.5v61q0 12 -9.5 21.5t-21.5 9.5h-461q-12 0 -21.5 -9t-9.5 -22v-61zM737 123h738v555h-367q-27 0 -44 17.5t-17 43.5v367h-310v-983zM1169 801h306q0 2 -3.5 8t-5.5 10l-280 279q0 4 -6 4q-2 0 -2 1t-2 1t-3.5 1t-3.5 1 v-305z" />
<glyph unicode="&#xf105;" horiz-adv-x="2048" />
<glyph unicode="&#xf200;" horiz-adv-x="1536" d="M0 57v379q0 39 20.5 87t54.5 90t74.5 73t81.5 35q-35 -59 -34 -129q0 -59 16 -124t59 -106q-18 -37 -18 -75q0 -72 50 -122t122 -50q37 0 68.5 13t55 36.5t37 55.5t13.5 67t-13.5 66.5t-37 55t-55 38t-68.5 14.5q-18 0 -36.5 -5t-35.5 -14q-12 12 -20 31t-13.5 40.5 t-7.5 41.5t-2 37q0 47 28 86t62 67l142 21q-92 57 -142.5 150.5t-50.5 201.5q0 86 33 162t90 133t133 90t162 33t162 -33t133 -90t90 -133t33 -162q0 -109 -50.5 -202t-142.5 -150l158 -23q18 -16 34.5 -36.5t16.5 -47.5q0 -45 -18 -77q-59 33 -121 32q-45 0 -87 -17 t-77 -46q-6 2 -11 3t-11 1q-47 0 -82 -34t-35 -81t34.5 -80.5t82.5 -33.5q47 0 80.5 33.5t33.5 80.5q0 8 -2 15.5t-4 13.5q16 12 35.5 20.5t42.5 8.5q55 0 95 -39t40 -94q0 -23 -8 -41.5t-19 -34.5q-25 10 -45 10q-47 0 -81.5 -34t-34.5 -81t34.5 -80.5t81.5 -33.5t81 33.5 t34 80.5l-2 4q74 74 74 177q0 74 -41 137q45 70 45 157q0 31 -12 62q41 -4 83 -34t74.5 -72t53 -90t20.5 -89v-379q-10 -6 -22.5 -15t-25.5 -18.5t-26.5 -16.5t-21.5 -7h-1344q-35 0 -52 20.5t-44 36.5zM369 287q0 25 17 41t40 16q25 0 41 -16t16 -41q0 -23 -16 -40.5 t-41 -17.5q-23 0 -40 17.5t-17 40.5z" />
<glyph unicode="&#xf201;" horiz-adv-x="1597" />
<glyph unicode="&#xf202;" horiz-adv-x="1597" />
<glyph unicode="&#xf203;" horiz-adv-x="1597" />
<glyph unicode="&#xf204;" horiz-adv-x="1597" />
</font>
</defs></svg>

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -0,0 +1,18 @@
/*
* jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010
* http://benalman.com/projects/jquery-bbq-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
(function($,p){var i,m=Array.prototype.slice,r=decodeURIComponent,a=$.param,c,l,v,b=$.bbq=$.bbq||{},q,u,j,e=$.event.special,d="hashchange",A="querystring",D="fragment",y="elemUrlAttr",g="location",k="href",t="src",x=/^.*\?|#.*$/g,w=/^.*\#/,h,C={};function E(F){return typeof F==="string"}function B(G){var F=m.call(arguments,1);return function(){return G.apply(this,F.concat(m.call(arguments)))}}function n(F){return F.replace(/^[^#]*#?(.*)$/,"$1")}function o(F){return F.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function f(H,M,F,I,G){var O,L,K,N,J;if(I!==i){K=F.match(H?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);J=K[3]||"";if(G===2&&E(I)){L=I.replace(H?w:x,"")}else{N=l(K[2]);I=E(I)?l[H?D:A](I):I;L=G===2?I:G===1?$.extend({},I,N):$.extend({},N,I);L=a(L);if(H){L=L.replace(h,r)}}O=K[1]+(H?"#":L||!K[1]?"?":"")+L+J}else{O=M(F!==i?F:p[g][k])}return O}a[A]=B(f,0,o);a[D]=c=B(f,1,n);c.noEscape=function(G){G=G||"";var F=$.map(G.split(""),encodeURIComponent);h=new RegExp(F.join("|"),"g")};c.noEscape(",/");$.deparam=l=function(I,F){var H={},G={"true":!0,"false":!1,"null":null};$.each(I.replace(/\+/g," ").split("&"),function(L,Q){var K=Q.split("="),P=r(K[0]),J,O=H,M=0,R=P.split("]["),N=R.length-1;if(/\[/.test(R[0])&&/\]$/.test(R[N])){R[N]=R[N].replace(/\]$/,"");R=R.shift().split("[").concat(R);N=R.length-1}else{N=0}if(K.length===2){J=r(K[1]);if(F){J=J&&!isNaN(J)?+J:J==="undefined"?i:G[J]!==i?G[J]:J}if(N){for(;M<=N;M++){P=R[M]===""?O.length:R[M];O=O[P]=M<N?O[P]||(R[M+1]&&isNaN(R[M+1])?{}:[]):J}}else{if($.isArray(H[P])){H[P].push(J)}else{if(H[P]!==i){H[P]=[H[P],J]}else{H[P]=J}}}}else{if(P){H[P]=F?i:""}}});return H};function z(H,F,G){if(F===i||typeof F==="boolean"){G=F;F=a[H?D:A]()}else{F=E(F)?F.replace(H?w:x,""):F}return l(F,G)}l[A]=B(z,0);l[D]=v=B(z,1);$[y]||($[y]=function(F){return $.extend(C,F)})({a:k,base:k,iframe:t,img:t,input:t,form:"action",link:k,script:t});j=$[y];function s(I,G,H,F){if(!E(H)&&typeof H!=="object"){F=H;H=G;G=i}return this.each(function(){var L=$(this),J=G||j()[(this.nodeName||"").toLowerCase()]||"",K=J&&L.attr(J)||"";L.attr(J,a[I](K,H,F))})}$.fn[A]=B(s,A);$.fn[D]=B(s,D);b.pushState=q=function(I,F){if(E(I)&&/^#/.test(I)&&F===i){F=2}var H=I!==i,G=c(p[g][k],H?I:{},H?F:2);p[g][k]=G+(/#/.test(G)?"":"#")};b.getState=u=function(F,G){return F===i||typeof F==="boolean"?v(F):v(G)[F]};b.removeState=function(F){var G={};if(F!==i){G=u();$.each($.isArray(F)?F:arguments,function(I,H){delete G[H]})}q(G,2)};e[d]=$.extend(e[d],{add:function(F){var H;function G(J){var I=J[D]=c();J.getState=function(K,L){return K===i||typeof K==="boolean"?l(I,K):l(I,L)[K]};H.apply(this,arguments)}if($.isFunction(F)){H=F;return G}else{H=F.handler;F.handler=G}}})})(jQuery,this);
/*
* jQuery hashchange event - v1.2 - 2/11/2010
* http://benalman.com/projects/jquery-hashchange-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
(function($,i,b){var j,k=$.event.special,c="location",d="hashchange",l="href",f=$.browser,g=document.documentMode,h=f.msie&&(g===b||g<8),e="on"+d in i&&!h;function a(m){m=m||i[c][l];return m.replace(/^[^#]*#?(.*)$/,"$1")}$[d+"Delay"]=100;k[d]=$.extend(k[d],{setup:function(){if(e){return false}$(j.start)},teardown:function(){if(e){return false}$(j.stop)}});j=(function(){var m={},r,n,o,q;function p(){o=q=function(s){return s};if(h){n=$('<iframe src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow;q=function(){return a(n.document[c][l])};o=function(u,s){if(u!==s){var t=n.document;t.open().close();t[c].hash="#"+u}};o(a())}}m.start=function(){if(r){return}var t=a();o||p();(function s(){var v=a(),u=q(t);if(v!==t){o(t=v,u);$(i).trigger(d)}else{if(u!==t){i[c][l]=i[c][l].replace(/#.*/,"")+"#"+u}}r=setTimeout(s,$[d+"Delay"])})()};m.stop=function(){if(!n){r&&clearTimeout(r);r=0}};return m})()})(jQuery,this);

389
api/resources/javascripts/bootstrap.js vendored Normal file
View file

@ -0,0 +1,389 @@
/* ============================================================
* bootstrap-dropdown.js v2.1.1
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
* ============================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ============================================================ */
!function ($) {
"use strict"; // jshint ;_;
/* DROPDOWN CLASS DEFINITION
* ========================= */
var toggle = '[data-toggle=dropdown]'
, Dropdown = function (element) {
var $el = $(element).on('click.dropdown.data-api', this.toggle)
$('html').on('click.dropdown.data-api', function () {
$el.parent().removeClass('open')
})
}
Dropdown.prototype = {
constructor: Dropdown
, toggle: function (e) {
var $this = $(this)
, $parent
, isActive
if ($this.is('.disabled, :disabled')) return
$parent = getParent($this)
isActive = $parent.hasClass('open')
clearMenus()
if (!isActive) {
$parent.toggleClass('open')
$this.focus()
}
return false
}
, keydown: function (e) {
var $this
, $items
, $active
, $parent
, isActive
, index
if (!/(38|40|27)/.test(e.keyCode)) return
$this = $(this)
e.preventDefault()
e.stopPropagation()
if ($this.is('.disabled, :disabled')) return
$parent = getParent($this)
isActive = $parent.hasClass('open')
if (!isActive || (isActive && e.keyCode == 27)) return $this.click()
$items = $('[role=menu] li:not(.divider) a', $parent)
if (!$items.length) return
index = $items.index($items.filter(':focus'))
if (e.keyCode == 38 && index > 0) index-- // up
if (e.keyCode == 40 && index < $items.length - 1) index++ // down
if (!~index) index = 0
$items
.eq(index)
.focus()
}
}
function clearMenus() {
getParent($(toggle))
.removeClass('open')
}
function getParent($this) {
var selector = $this.attr('data-target')
, $parent
if (!selector) {
selector = $this.attr('href')
selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
}
$parent = $(selector)
$parent.length || ($parent = $this.parent())
return $parent
}
/* DROPDOWN PLUGIN DEFINITION
* ========================== */
$.fn.dropdown = function (option) {
return this.each(function () {
var $this = $(this)
, data = $this.data('dropdown')
if (!data) $this.data('dropdown', (data = new Dropdown(this)))
if (typeof option == 'string') data[option].call($this)
})
}
$.fn.dropdown.Constructor = Dropdown
/* APPLY TO STANDARD DROPDOWN ELEMENTS
* =================================== */
$(function () {
$('html')
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
$('body')
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
})
}(window.jQuery);
/* ========================================================
* bootstrap-tab.js v2.1.1
* http://twitter.github.com/bootstrap/javascript.html#tabs
* ========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================== */
!function ($) {
"use strict"; // jshint ;_;
/* TAB CLASS DEFINITION
* ==================== */
var Tab = function (element) {
this.element = $(element)
}
Tab.prototype = {
constructor: Tab
, show: function () {
var $this = this.element
, $ul = $this.closest('ul:not(.dropdown-menu)')
, selector = $this.attr('data-target')
, previous
, $target
, e
if (!selector) {
selector = $this.attr('href')
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
}
if ( $this.parent('li').hasClass('active') ) return
previous = $ul.find('.active a').last()[0]
e = $.Event('show', {
relatedTarget: previous
})
$this.trigger(e)
if (e.isDefaultPrevented()) return
$target = $(selector)
this.activate($this.parent('li'), $ul)
this.activate($target, $target.parent(), function () {
$this.trigger({
type: 'shown'
, relatedTarget: previous
})
})
}
, activate: function ( element, container, callback) {
var $active = container.find('> .active')
, transition = callback
&& $.support.transition
&& $active.hasClass('fade')
function next() {
$active
.removeClass('active')
.find('> .dropdown-menu > .active')
.removeClass('active')
element.addClass('active')
if (transition) {
element[0].offsetWidth // reflow for transition
element.addClass('in')
} else {
element.removeClass('fade')
}
if ( element.parent('.dropdown-menu') ) {
element.closest('li.dropdown').addClass('active')
}
callback && callback()
}
transition ?
$active.one($.support.transition.end, next) :
next()
$active.removeClass('in')
}
}
/* TAB PLUGIN DEFINITION
* ===================== */
$.fn.tab = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('tab')
if (!data) $this.data('tab', (data = new Tab(this)))
if (typeof option == 'string') data[option]()
})
}
$.fn.tab.Constructor = Tab
/* TAB DATA-API
* ============ */
$(function () {
$('body').on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
e.preventDefault()
$(this).tab('show')
})
})
}(window.jQuery);
/* ==========================================================
* bootstrap-affix.js v2.1.1
* http://twitter.github.com/bootstrap/javascript.html#affix
* ==========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================== */
!function ($) {
"use strict"; // jshint ;_;
/* AFFIX CLASS DEFINITION
* ====================== */
var Affix = function (element, options) {
this.options = $.extend({}, $.fn.affix.defaults, options)
this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
this.$element = $(element)
this.checkPosition()
}
Affix.prototype.checkPosition = function () {
if (!this.$element.is(':visible')) return
var scrollHeight = $(document).height()
, scrollTop = this.$window.scrollTop()
, position = this.$element.offset()
, offset = this.options.offset
, offsetBottom = offset.bottom
, offsetTop = offset.top
, reset = 'affix affix-top affix-bottom'
, affix
if (typeof offset != 'object') offsetBottom = offsetTop = offset
if (typeof offsetTop == 'function') offsetTop = offset.top()
if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ?
false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ?
'bottom' : offsetTop != null && scrollTop <= offsetTop ?
'top' : false
if (this.affixed === affix) return
this.affixed = affix
this.unpin = affix == 'bottom' ? position.top - scrollTop : null
this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : ''))
}
/* AFFIX PLUGIN DEFINITION
* ======================= */
$.fn.affix = function (option) {
return this.each(function () {
var $this = $(this)
, data = $this.data('affix')
, options = typeof option == 'object' && option
if (!data) $this.data('affix', (data = new Affix(this, options)))
if (typeof option == 'string') data[option]()
})
}
$.fn.affix.Constructor = Affix
$.fn.affix.defaults = {
offset: 0
}
/* AFFIX DATA-API
* ============== */
$(window).on('load', function () {
$('[data-spy="affix"]').each(function () {
var $spy = $(this)
, data = $spy.data()
data.offset = data.offset || {}
data.offsetBottom && (data.offset.bottom = data.offsetBottom)
data.offsetTop && (data.offset.top = data.offsetTop)
$spy.affix(data)
})
})
}(window.jQuery);

View file

@ -0,0 +1,69 @@
function setupClicker() {
// when hovering over arrow, add highlight (only if inactive)
$("i.methodToggle").hover(function () {
if (!$("i.methodToggle").hasClass('active'))
$(this).addClass("methodToggleHover");
},
function () {
$(this).removeClass("methodToggleHover");
}
);
function handleClick(e, linkHref) {
//if (linkHref.indexOf("nav=api&api=") >= 0)
// return;
if (linkHref == "api")
return;
e.preventDefault();
var dstElem;
if (linkHref) {
dstElem = $("article[id='" + linkHref + "']");
}
var $article = (dstElem || $(this)).closest('.article'),
$arrow = $('i.methodClicker', $article);
if (!$article.hasClass('methodToggleOpen') || this.force) {
$article.addClass('methodToggleOpen');
$arrow.removeClass('inactive').addClass('active');
if (!$arrow[0])
return;
var data = $arrow[0].id.replace(/^js_/, "");
//var state = {};
//state.section = data;
//$.bbq.pushState(state);
scrollTo(null, data);
}
else {
$article.removeClass('methodToggleOpen');
$arrow.removeClass('active').addClass('inactive');
}
}
function transformHash(e) {
// some bs to figure out link hash
var hashId = (e.srcElement ? e.srcElement.href : (e.hash || e.target.href)) || e.currentTarget.hash;
handleClick(e, hashId.substring(hashId.indexOf("#") + 1));
}
// for the arrow
$("i.methodToggle").click(handleClick);
// for the signature
$('.member-name').click(handleClick);
// for the top dropdown
$('li.memberLink a').click(transformHash);
//$('a[href^="#"]').click(transformHash);
$('.related-to', '.metaInfo').click(function(){
location.hash = $(this).find('a').attr('href').split('#')[1];
});
}

View file

@ -0,0 +1,17 @@
function setupDisqus(href) {
var disqus_shortname = 'aceapi';
//var paths = window.location.pathname.split("/");
//var fileName = paths[paths.length - 2] + "/" + paths[paths.length - 1];
//var disqus_identifier = fileName;
var disqus_identifier = href.substring(2);
(function() {
if (document.getElementById("disqusScript") === null) {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}
})();
}

View file

@ -0,0 +1,98 @@
/*!
* jQuery Scrollspy Plugin
* Author: @sxalexander
* Licensed under the MIT license
*/
;(function ( $, window, document, undefined ) {
$.fn.extend({
scrollspy: function ( options ) {
var defaults = {
min: 0,
max: 0,
mode: 'vertical',
buffer: 0,
container: window,
onEnter: options.onEnter ? options.onEnter : [],
onLeave: options.onLeave ? options.onLeave : [],
onTick: options.onTick ? options.onTick : []
}
var options = $.extend( {}, defaults, options );
return this.each(function (i) {
var element = this;
var o = options;
var $container = $(o.container);
var mode = o.mode;
var buffer = o.buffer;
var enters = leaves = 0;
var inside = false;
/* add listener to container */
$container.bind('scroll', function(e){
var position = {top: $(this).scrollTop(), left: $(this).scrollLeft()};
var xy = (mode == 'vertical') ? position.top + buffer : position.left + buffer;
var max = o.max;
var min = o.min;
/* fix max */
if($.isFunction(o.max)){
max = o.max();
}
/* fix max */
if($.isFunction(o.min)){
min = o.min();
}
if(max == 0){
max = (mode == 'vertical') ? $container.height() : $container.outerWidth() + $(element).outerWidth();
}
/* if we have reached the minimum bound but are below the max ... */
if(xy >= o.min && xy <= max){
/* trigger enter event */
if(!inside){
inside = true;
enters++;
/* fire enter event */
$(element).trigger('scrollEnter', {position: position})
if($.isFunction(o.onEnter)){
o.onEnter(element, position);
}
}
/* triger tick event */
$(element).trigger('scrollTick', {position: position, inside: inside, enters: enters, leaves: leaves})
if($.isFunction(o.onTick)){
o.onTick(element, position, inside, enters, leaves);
}
}else{
if(inside){
inside = false;
leaves++;
/* trigger leave event */
$(element).trigger('scrollLeave', {position: position, leaves:leaves})
if($.isFunction(o.onLeave)){
o.onLeave(element, position);
}
}
}
});
});
}
})
})( jQuery, window );

View file

@ -0,0 +1,151 @@
/*!
* Collapse plugin for jQuery
* http://github.com/danielstocks/jQuery-Collapse/
*
* @author Daniel Stocks (http://webcloud.se)
* @version 0.9.1
* @updated 17-AUG-2010
*
* Copyright 2010, Daniel Stocks
* Released under the MIT, BSD, and GPL Licenses.
*/
(function($) {
// Use a cookie counter to allow multiple instances of the plugin
var cookieCounter = 0;
$.fn.extend({
collapse: function(options) {
var defaults = {
head : "h3",
group : "div, ul",
cookieName : "collapse",
// Default function for showing content
show: function() {
this.show();
},
// Default function for hiding content
hide: function() {
this.hide();
}
};
var op = $.extend(defaults, options);
// Default CSS classes
var active = "active",
inactive = "inactive";
return this.each(function() {
// Increment coookie counter to ensure cookie name integrity
cookieCounter++;
var obj = $(this),
// Find all headers and wrap them in <a> for accessibility.
sections = obj.find(op.head).wrapInner('<a href="#"></a>'),
l = sections.length,
cookie = op.cookieName + "_" + cookieCounter;
// Locate all panels directly following a header
var panel = obj.find(op.head).map(function() {
var head = $(this)
if(!head.hasClass(active)) {
return head.next(op.group).hide()[0];
}
return head.next(op.group)[0];
});
// Bind event for showing content
obj.bind("show", function(e, bypass) {
var obj = $(e.target);
// ARIA attribute
obj.attr('aria-hidden', false)
.prev()
.removeClass(inactive)
.addClass(active);
// Bypass method for instant display
if(bypass) {
obj.show();
} else {
op.show.call(obj);
}
});
// Bind event for hiding content
obj.bind("hide", function(e, bypass) {
var obj = $(e.target);
obj.attr('aria-hidden', true)
.prev()
.removeClass(active)
.addClass(inactive);
if(bypass) {
obj.hide();
} else {
op.hide.call(obj);
}
});
// Look for existing cookies
if(cookieSupport) {
for (var c=0;c<=l;c++) {
var val = $.cookie(cookie + c);
// Show content if associating cookie is found
if ( val == c + "open" ) {
panel.eq(c).trigger('show', [true]);
// Hide content
} else if ( val == c + "closed") {
panel.eq(c).trigger('hide', [true]);
}
}
}
// Delegate click event to show/hide content.
obj.bind("click", function(e) {
var t = $(e.target);
// Check if header was clicked
if(!t.is(op.head)) {
// What about link inside header.
if ( t.parent().is(op.head) ) {
t = t.parent();
} else {
return;
}
e.preventDefault();
}
// Figure out what position the clicked header has.
var num = sections.index(t),
cookieName = cookie + num,
cookieVal = num,
content = t.next(op.group);
// If content is already active, hide it.
if(t.hasClass(active)) {
content.trigger('hide');
cookieVal += 'closed';
if(cookieSupport) {
$.cookie(cookieName, cookieVal, { path: '/', expires: 10 });
}
return;
}
// Otherwise show it.
content.trigger('show');
cookieVal += 'open';
if(cookieSupport) {
$.cookie(cookieName, cookieVal, { path: '/', expires: 10 });
}
});
});
}
});
// Make sure can we eat cookies without getting into trouble.
var cookieSupport = (function() {
try {
$.cookie('x', 'x', { path: '/', expires: 10 });
$.cookie('x', null);
}
catch(e) {
return false;
}
return true;
})();
})(jQuery);

View file

@ -0,0 +1,96 @@
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
/**
* Create a cookie with the given name and value and other optional parameters.
*
* @example $.cookie('the_cookie', 'the_value');
* @desc Set the value of a cookie.
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
* @desc Create a cookie with all available options.
* @example $.cookie('the_cookie', 'the_value');
* @desc Create a session cookie.
* @example $.cookie('the_cookie', null);
* @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
* used when the cookie was set.
*
* @param String name The name of the cookie.
* @param String value The value of the cookie.
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
* If set to null or omitted, the cookie will be a session cookie and will not be retained
* when the the browser exits.
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
* require a secure protocol (like HTTPS).
* @type undefined
*
* @name $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
/**
* Get the value of a cookie with the given name.
*
* @example $.cookie('the_cookie');
* @desc Get the value of a cookie.
*
* @param String name The name of the cookie.
* @return The value of the cookie.
* @type String
*
* @name $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
jQuery.cookie = function(name, value, options) {
if (typeof value != 'undefined') { // name and value given, set cookie
options = options || {};
if (value === null) {
value = '';
options.expires = -1;
}
var expires = '';
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
var date;
if (typeof options.expires == 'number') {
date = new Date();
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
} else {
date = options.expires;
}
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
}
// CAUTION: Needed to parenthesize options.path and options.domain
// in the following expressions, otherwise they evaluate to undefined
// in the packed version for some reason...
var path = options.path ? '; path=' + (options.path) : '';
var domain = options.domain ? '; domain=' + (options.domain) : '';
var secure = options.secure ? '; secure' : '';
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
} else { // only name given, get cookie
var cookieValue = null;
if (document.cookie && document.cookie != '') {
var cookies = document.cookie.split(';');
for (var i = 0; i < cookies.length; i++) {
var cookie = jQuery.trim(cookies[i]);
// Does this cookie string begin with the name we want?
if (cookie.substring(0, name.length + 1) == (name + '=')) {
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
break;
}
}
}
return cookieValue;
}
};

View file

@ -0,0 +1,13 @@
window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};
(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try
{console.log();return window.console;}catch(err){return window.console={};}})());
/*
* jQuery throttle / debounce - v1.1 - 3/7/2010
* http://benalman.com/projects/jquery-throttle-debounce-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this);

View file

@ -0,0 +1,24 @@
// Stolen from StackOverflow. Find all </code><pre><code>
// elements on the page and add the "prettyprint" style. If at least one
// prettyprint element was found, call the Google Prettify prettyPrint() API.
//http://sstatic.net/so/js/master.js?v=6523
function styleCode()
{
if (typeof disableStyleCode != "undefined")
{
return;
}
var a = false;
$("pre code").parent().each(function()
{
if (!$(this).hasClass("prettyprint"))
{
$(this).addClass("prettyprint");
a = true
}
});
if (a) { prettyPrint() }
}

View file

@ -0,0 +1,28 @@
var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=
[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?(d=m(f[c+2]),c+=2):d=j;b.push([j,d]);d<65||j>122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;c<b.length;++c)i=b[c],i[0]<=j[1]+1?j[1]=Math.max(j[1],i[1]):f.push(j=i);b=["["];o&&b.push("^");b.push.apply(b,a);for(c=0;c<
f.length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c<b;++c){var j=f[c];j==="("?++i:"\\"===j.charAt(0)&&(j=+j.substring(1))&&j<=i&&(d[j]=-1)}for(c=1;c<d.length;++c)-1===d[c]&&(d[c]=++t);for(i=c=0;c<b;++c)j=f[c],j==="("?(++i,d[i]===void 0&&(f[c]="(?:")):"\\"===j.charAt(0)&&
(j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){s=!0;l=!1;break}}for(var r=
{b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M(a){function m(a){switch(a.nodeType){case 1:if(e.test(a.className))break;for(var g=a.firstChild;g;g=g.nextSibling)m(g);g=a.nodeName;if("BR"===g||"LI"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\n\r ]+/g," "),h[s]=g,t[s<<1]=y,y+=g.length,
t[s++<<1|1]=a)}}var e=/(?:^|\s)nocode(?:\s|$)/,h=[],y=0,t=[],s=0,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=document.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b===
"string")c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),
l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,
q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),
a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}
for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g<d.length;++g)e(d[g]);m===(m|0)&&d[0].setAttribute("value",
m);var r=s.createElement("OL");r.className="linenums";for(var n=Math.max(0,m-1|0)||0,g=0,z=d.length;g<z;++g)l=d[g],l.className="L"+(g+n)%10,l.firstChild||l.appendChild(s.createTextNode("\xa0")),r.appendChild(l);a.appendChild(r)}function k(a,m){for(var e=m.length;--e>=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*</.test(m)?"default-markup":"default-code";return A[a]}function E(a){var m=
a.g;try{var e=M(a.h),h=e.a;a.a=h;a.c=e.c;a.d=0;C(m,h)(a);var k=/\bMSIE\b/.test(navigator.userAgent),m=/\n/g,t=a.a,s=t.length,e=0,l=a.c,p=l.length,h=0,d=a.e,g=d.length,a=0;d[g]=s;var r,n;for(n=r=0;n<g;)d[n]!==d[n+2]?(d[r++]=d[n++],d[r++]=d[n++]):n+=2;g=r;for(n=r=0;n<g;){for(var z=d[n],f=d[n+1],b=n+2;b+2<=g&&d[b+1]===f;)b+=2;d[r++]=z;d[r++]=f;n=b}for(d.length=r;h<p;){var o=l[h+2]||s,c=d[a+2]||s,b=Math.min(o,c),i=l[h+1],j;if(i.nodeType!==1&&(j=t.substring(e,b))){k&&(j=j.replace(m,"\r"));i.nodeValue=
j;var u=i.ownerDocument,v=u.createElement("SPAN");v.className=d[a+1];var x=i.parentNode;x.replaceChild(v,i);v.appendChild(i);e<o&&(l[h+1]=i=u.createTextNode(t.substring(b,o)),x.insertBefore(i,v.nextSibling))}e=b;e>=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],
H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+
I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),
["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),
["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",
hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p<h.length&&l.now()<e;p++){var n=h[p],k=n.className;if(k.indexOf("prettyprint")>=0){var k=k.match(g),f,b;if(b=
!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p<h.length?setTimeout(m,
250):a&&a()}for(var e=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],h=[],k=0;k<e.length;++k)for(var t=0,s=e[k].length;t<s;++t)h.push(e[k][t]);var e=q,l=Date;l.now||(l={now:function(){return+new Date}});var p=0,d,g=/\blang(?:uage)?-([\w.]+)(?!\S)/;m()};window.PR={createSimpleLexer:x,registerLangHandler:k,sourceDecorator:u,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",
PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}})();

View file

@ -0,0 +1,135 @@
$(function () {
'use strict';
var pagePath = document.location.pathname.substring(document.location.pathname.lastIndexOf("/") + 1);
// select current page in sidenav and set up prev/next links if they exist
var $selNavLink = $('#sidebar').find('a[href="' + pagePath + '"]');
if ($selNavLink.length) {
//$selListItem = $selNavLink.closest('li');
$selNavLink.addClass('currentItem');
}
if (window.addEventListener) window.addEventListener('load', loadCallback, true);
else window.attachEvent('load', loadCallback, true);
function loadCallback(evt) {
var form = document.getElementById("searchbox");
if (form) {
var input = form.query;
form.onsubmit = function (evt) {
var query = input.value;
if (query) {
input.value = "";
input.blur();
var url = "https://www.google.com/search?q=" + encodeURIComponent("site:ace.ajax.org" + " " + query);
window.open(url);
}
return false;
};
}
}
// init search
$('#search')
// prevent from form submit
.on('submit', function () {
return false;
}).find('input');
});
function ux() {
var d = 'a.menu, .dropdown-toggle'
function clearMenus() {
$(d).parent('li').each(function () {
$(this).removeClass('open')
});
}
var s, sx;
// scrolling offset calculation via www.quirksmode.org
if (window.pageYOffset || window.pageXOffset) {
s = window.pageYOffset;
sx = window.pageXOffset;
}
else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
s = document.documentElement.scrollTop;
sx = document.documentElement.scrollLeft;
}
else if (document.body) {
s = document.body.scrollTop;
sx = document.body.scrollLeft;
}
if (document.documentElement.offsetWidth < 1010) {
if (sx <= 0) sx = 0;
else if (sx + document.documentElement.offsetWidth > 1010) sx = 1010 - document.documentElement.offsetWidth;
}
else sx = 0;
$('span.methodClicker, article.article, i.methodClicker').each(function () {
var a = $(this);
var constructorPos = a.attr("id").indexOf("new ");
var objName = a.attr("id");
if (constructorPos >= 0) {
objName = objName.substring(constructorPos + 4);
objName += ".new";
}
a.attr("id", objName);
});
function showMethodContent() {
var locationHash = location.hash.replace(/^#/, '').replace(/\./g, '\\.');
var equalsPos = location.hash.indexOf("=");
if (equalsPos >=0) {
locationHash = locationHash.substring(0, location.hash.indexOf("="));
}
var $clickerEl = $('span#' + locationHash);
if ($clickerEl.length > 0 && $clickerEl.hasClass('methodClicker')) {
var p = $clickerEl.parent();
p[0].force = true;
p.trigger('click');
p[0].force = false;
}
}
if (location.hash.indexOf("section") >= 1) {
showMethodContent();
var data = location.hash;
scrollTo(null, data.substr(1));
}
window.onhashchange = function () {
showMethodContent();
}
};
function scrollTo(el, data) {
if (!data) {
data = el.getAttribute("data-id");
//location.hash = data;
}
var el = $("span#" + data.replace(/\./g, "\\."))[0];
if (!el) return;
var article = $(el).closest('.article')[0];
var top = article.offsetTop - 100;
if (document.body.scrollTop > top || document.body.scrollTop != top && document.body.scrollTop + (window.innerHeight || document.documentElement.offsetHeight) < top + article.offsetHeight) {
$('body').animate({
scrollTop: top
}, {
duration: 200,
easing: "swing"
});
}
}

261
api/scrollbar.html Normal file
View file

@ -0,0 +1,261 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">ScrollBar</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Events (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_ScrollBar.event.scroll" data-id="ScrollBar.event.scroll" class="memberLink"><a href="#ScrollBar.event.scroll" class="" title="ScrollBar.event.scroll (event)" data-id="ScrollBar.event.scroll">scroll</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_ScrollBar.new" data-id="ScrollBar.new" class="memberLink"><a href="#ScrollBar.new" class="" title="ScrollBar.new (constructor)" data-id="ScrollBar.new">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (5)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_ScrollBar.getWidth" data-id="ScrollBar.getWidth" class="memberLink"><a href="#ScrollBar.getWidth" class="" title="ScrollBar.getWidth (class method)" data-id="ScrollBar.getWidth">getWidth</a>
</li>
<li id="dropdown_ScrollBar.onScroll" data-id="ScrollBar.onScroll" class="memberLink"><a href="#ScrollBar.onScroll" class="" title="ScrollBar.onScroll (class method)" data-id="ScrollBar.onScroll">onScroll</a>
</li>
<li id="dropdown_ScrollBar.setHeight" data-id="ScrollBar.setHeight" class="memberLink"><a href="#ScrollBar.setHeight" class="" title="ScrollBar.setHeight (class method)" data-id="ScrollBar.setHeight">setHeight</a>
</li>
<li id="dropdown_ScrollBar.setInnerHeight" data-id="ScrollBar.setInnerHeight" class="memberLink"><a href="#ScrollBar.setInnerHeight" class="" title="ScrollBar.setInnerHeight (class method)" data-id="ScrollBar.setInnerHeight">setInnerHeight</a>
</li>
<li id="dropdown_ScrollBar.setScrollTop" data-id="ScrollBar.setScrollTop" class="memberLink"><a href="#ScrollBar.setScrollTop" class="" title="ScrollBar.setScrollTop (class method)" data-id="ScrollBar.setScrollTop">setScrollTop</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="ScrollBar" data-title="ScrollBar (class)" class="article">
<div class="section description">
<div class="memberContent"><p>A set of methods for setting and retrieving the editor&#39;s scrollbar.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="ScrollBar.new" data-title="ScrollBar.new (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="ScrollBar.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="ScrollBar.new" class="member-name methodClicker">ScrollBar</span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en/DOM/element" class="argument methodClicker" title="DOMElement" data-id="DOMElement">DOMElement</a> parent</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_ScrollBar.new" class="ellipsis_description"><p>Creates a new <code>ScrollBar</code>. <code>parent</code> is the owner of the scroll bar.</p>
</div>
<div class="description"><p>Creates a new <code>ScrollBar</code>. <code>parent</code> is the owner of the scroll bar.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">parent</td><td class="argType" "><a href="https://developer.mozilla.org/en/DOM/element" class="" title="DOMElement" data-id="DOMElement">DOMElement</a></td><td class="argDescription "><p>Required. A DOM element</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Events</h3>
<article id="ScrollBar.event.scroll" data-title="ScrollBar.event.scroll (event)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="ScrollBar.event.scroll" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="eventObjName">ScrollBar</span><span class="eventListenerStart">.on("</span><span id="ScrollBar.event.scroll" class="member-name eventMember methodClicker">scroll</span><span class="eventListenerClose">", </span><span class="eventFunctionOpen">function(</span><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> e<span class="eventFunctionClose">))</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_ScrollBar.event.scroll" class="ellipsis_description"><p>Emitted when the scroll bar, well, scrolls.</p>
</div>
<div class="description"><p>Emitted when the scroll bar, well, scrolls.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">e</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. Contains one property, <code>&quot;data&quot;</code>, which indicates the current scroll top position</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="ScrollBar.getWidth" data-title="ScrollBar.getWidth (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="ScrollBar.getWidth" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="ScrollBar.getWidth" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">getWidth</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_ScrollBar.getWidth" class="ellipsis_description"><p>Returns the width of the scroll bar.</p>
</div>
<div class="description"><p>Returns the width of the scroll bar.</p>
</div>
</div>
</div>
</div>
</article>
<article id="ScrollBar.onScroll" data-title="ScrollBar.onScroll (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="ScrollBar.onScroll" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="ScrollBar.onScroll" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">onScroll</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_ScrollBar.onScroll" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="ScrollBar.setHeight" data-title="ScrollBar.setHeight (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="ScrollBar.setHeight" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="ScrollBar.setHeight" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">setHeight</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> height</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_ScrollBar.setHeight" class="ellipsis_description"><p>Sets the height of the scroll bar, in pixels.</p>
</div>
<div class="description"><p>Sets the height of the scroll bar, in pixels.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">height</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new height</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="ScrollBar.setInnerHeight" data-title="ScrollBar.setInnerHeight (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="ScrollBar.setInnerHeight" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="ScrollBar.setInnerHeight" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">setInnerHeight</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> height</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_ScrollBar.setInnerHeight" class="ellipsis_description"><p>Sets the inner height of the scroll bar, in pixels.</p>
</div>
<div class="description"><p>Sets the inner height of the scroll bar, in pixels.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">height</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new inner height</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="ScrollBar.setScrollTop" data-title="ScrollBar.setScrollTop (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="ScrollBar.setScrollTop" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="ScrollBar.setScrollTop" class="member-name methodClicker"><span class="sigClassName">ScrollBar.</span><span class="sigMemberName">setScrollTop</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> scrollTop</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_ScrollBar.setScrollTop" class="ellipsis_description"><p>Sets the scroll top of the scroll bar.</p>
</div>
<div class="description"><p>Sets the scroll top of the scroll bar.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">scrollTop</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new scroll top</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

295
api/search.html Normal file
View file

@ -0,0 +1,295 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">Search</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Search.new" data-id="Search.new" class="memberLink"><a href="#Search.new" class="" title="Search.new (constructor)" data-id="Search.new">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (6)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Search.find" data-id="Search.find" class="memberLink"><a href="#Search.find" class="" title="Search.find (class method)" data-id="Search.find">find</a>
</li>
<li id="dropdown_Search.findAll" data-id="Search.findAll" class="memberLink"><a href="#Search.findAll" class="" title="Search.findAll (class method)" data-id="Search.findAll">findAll</a>
</li>
<li id="dropdown_Search.getOptions" data-id="Search.getOptions" class="memberLink"><a href="#Search.getOptions" class="" title="Search.getOptions (class method)" data-id="Search.getOptions">getOptions</a>
</li>
<li id="dropdown_Search.replace" data-id="Search.replace" class="memberLink"><a href="#Search.replace" class="" title="Search.replace (class method)" data-id="Search.replace">replace</a>
</li>
<li id="dropdown_Search.set" data-id="Search.set" class="memberLink"><a href="#Search.set" class="" title="Search.set (class method)" data-id="Search.set">set</a>
</li>
<li id="dropdown_Search.setOptions" data-id="Search.setOptions" class="memberLink"><a href="#Search.setOptions" class="" title="Search.setOptions (class method)" data-id="Search.setOptions">setOptions</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="Search" data-title="Search (class)" class="article">
<div class="section description">
<div class="memberContent"><p>A class designed to handle all sorts of text searches within a <a href="document.html" class="link-short" title="Document (class)" data-id="Document"><code>Document</code></a>.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="Search.new" data-title="Search.new (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Search.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Search.new" class="member-name methodClicker">Search</span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Search.new" class="ellipsis_description"><p>Creates a new <code>Search</code> object. The following search options are avaliable:</p>
</div>
<div class="description"><p>Creates a new <code>Search</code> object. The following search options are avaliable:</p>
<ul>
<li><code>needle</code>: The string or regular expression you&#39;re looking for</li>
<li><code>backwards</code>: Whether to search backwards from where cursor currently is. Defaults to <code>false</code>.</li>
<li><code>wrap</code>: Whether to wrap the search back to the beginning when it hits the end. Defaults to <code>false</code>.</li>
<li><code>caseSensitive</code>: Whether the search ought to be case-sensitive. Defaults to <code>false</code>.</li>
<li><code>wholeWord</code>: Whether the search matches only on whole words. Defaults to <code>false</code>.</li>
<li><code>range</code>: The <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> to search within. Set this to <code>null</code> for the whole document</li>
<li><code>regExp</code>: Whether the search is a regular expression or not. Defaults to <code>false</code>.</li>
<li><code>start</code>: The starting <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> or cursor position to begin the search</li>
<li><code>skipCurrent</code>: Whether or not to include the current line in the search. Default to <code>false</code>.</li>
</ul>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="Search.find" data-title="Search.find (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Search.find" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Search.find" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">find</span></span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Search.find" class="ellipsis_description"><p>Searches for <code>options.needle</code>. If found, this method returns the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> where the text first occurs. If <code>options.backwards</code> is <code>true</code>, the search goes backwards in the session.</p>
</div>
<div class="description"><p>Searches for <code>options.needle</code>. If found, this method returns the <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code></a> where the text first occurs. If <code>options.backwards</code> is <code>true</code>, the search goes backwards in the session.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The session to search with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Search.findAll" data-title="Search.findAll (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Search.findAll" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Search.findAll" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">findAll</span></span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Search.findAll" class="ellipsis_description"><p>Searches for all occurances <code>options.needle</code>. If found, this method returns an array of <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code>s</a> where the text first occurs. If <code>options.backwards</code> is <code>true</code>, the search goes backwards in the session.</p>
</div>
<div class="description"><p>Searches for all occurances <code>options.needle</code>. If found, this method returns an array of <a href="range.html" class="link-short" title="Range (class)" data-id="Range"><code>Range</code>s</a> where the text first occurs. If <code>options.backwards</code> is <code>true</code>, the search goes backwards in the session.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The session to search with</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Search.getOptions" data-title="Search.getOptions (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Search.getOptions" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Search.getOptions" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">getOptions</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Search.getOptions" class="ellipsis_description"><p>Returns an object containing all the search options.</p>
</div>
<div class="description"><p>Returns an object containing all the search options.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Search.replace" data-title="Search.replace (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Search.replace" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Search.replace" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">replace</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> input, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> replacement</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Search.replace" class="ellipsis_description"><p>Searches for <code>options.needle</code> in <code>input</code>, and, if found, replaces it with <code>replacement</code>.</p>
</div>
<div class="description"><p>Searches for <code>options.needle</code> in <code>input</code>, and, if found, replaces it with <code>replacement</code>.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">input</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The text to search in</p>
</td></tr><tr class="argumentRow "><td class="argName ">replacement</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The replacing text</p>
<ul>
<li>(String): If <code>options.regExp</code> is <code>true</code>, this function returns <code>input</code> with the replacement already made. Otherwise, this function just returns <code>replacement</code>.<br/>
If <code>options.needle</code> was not found, this function returns <code>null</code>.</li>
</ul>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Search.set" data-title="Search.set (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Search.set" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Search.set" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">set</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> options</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="search.html" class="returnType " title="Search (class)" data-id="Search">Search</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
<li><span class="label chainable">Chainable</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Search.set" class="ellipsis_description"><p>Sets the search options via the <code>options</code> parameter.</p>
</div>
<div class="description"><p>Sets the search options via the <code>options</code> parameter.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">options</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. An object containing all the new search properties</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Search.setOptions" data-title="Search.setOptions (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Search.setOptions" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Search.setOptions" class="member-name methodClicker"><span class="sigClassName">Search.</span><span class="sigMemberName">setOptions</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Search.setOptions" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

1781
api/selection.html Normal file

File diff suppressed because it is too large Load diff

640
api/split.html Normal file
View file

@ -0,0 +1,640 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">Split</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (21)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Split.blur" data-id="Split.blur" class="memberLink"><a href="#Split.blur" class="" title="Split.blur (class method)" data-id="Split.blur">blur</a>
</li>
<li id="dropdown_Split.execute" data-id="Split.execute" class="memberLink"><a href="#Split.execute" class="" title="Split.execute (class method)" data-id="Split.execute">execute</a>
</li>
<li id="dropdown_Split.focus" data-id="Split.focus" class="memberLink"><a href="#Split.focus" class="" title="Split.focus (class method)" data-id="Split.focus">focus</a>
</li>
<li id="dropdown_Split.forEach" data-id="Split.forEach" class="memberLink"><a href="#Split.forEach" class="" title="Split.forEach (class method)" data-id="Split.forEach">forEach</a>
</li>
<li id="dropdown_Split.getCurrentEditor" data-id="Split.getCurrentEditor" class="memberLink"><a href="#Split.getCurrentEditor" class="" title="Split.getCurrentEditor (class method)" data-id="Split.getCurrentEditor">getCurrentEditor</a>
</li>
<li id="dropdown_Split.getEditor" data-id="Split.getEditor" class="memberLink"><a href="#Split.getEditor" class="" title="Split.getEditor (class method)" data-id="Split.getEditor">getEditor</a>
</li>
<li id="dropdown_Split.getOrientation" data-id="Split.getOrientation" class="memberLink"><a href="#Split.getOrientation" class="" title="Split.getOrientation (class method)" data-id="Split.getOrientation">getOrientation</a>
</li>
<li id="dropdown_Split.getSplits" data-id="Split.getSplits" class="memberLink"><a href="#Split.getSplits" class="" title="Split.getSplits (class method)" data-id="Split.getSplits">getSplits</a>
</li>
<li id="dropdown_Split.hasRedo" data-id="Split.hasRedo" class="memberLink"><a href="#Split.hasRedo" class="" title="Split.hasRedo (class method)" data-id="Split.hasRedo">hasRedo</a>
</li>
<li id="dropdown_Split.hasUndo" data-id="Split.hasUndo" class="memberLink"><a href="#Split.hasUndo" class="" title="Split.hasUndo (class method)" data-id="Split.hasUndo">hasUndo</a>
</li>
<li id="dropdown_Split.redo" data-id="Split.redo" class="memberLink"><a href="#Split.redo" class="" title="Split.redo (class method)" data-id="Split.redo">redo</a>
</li>
<li id="dropdown_Split.reset" data-id="Split.reset" class="memberLink"><a href="#Split.reset" class="" title="Split.reset (class method)" data-id="Split.reset">reset</a>
</li>
<li id="dropdown_Split.resize" data-id="Split.resize" class="memberLink"><a href="#Split.resize" class="" title="Split.resize (class method)" data-id="Split.resize">resize</a>
</li>
<li id="dropdown_Split.setFontSize" data-id="Split.setFontSize" class="memberLink"><a href="#Split.setFontSize" class="" title="Split.setFontSize (class method)" data-id="Split.setFontSize">setFontSize</a>
</li>
<li id="dropdown_Split.setKeyboardHandler" data-id="Split.setKeyboardHandler" class="memberLink"><a href="#Split.setKeyboardHandler" class="" title="Split.setKeyboardHandler (class method)" data-id="Split.setKeyboardHandler">setKeyboardHandler</a>
</li>
<li id="dropdown_Split.setOrientation" data-id="Split.setOrientation" class="memberLink"><a href="#Split.setOrientation" class="" title="Split.setOrientation (class method)" data-id="Split.setOrientation">setOrientation</a>
</li>
<li id="dropdown_Split.setSession" data-id="Split.setSession" class="memberLink"><a href="#Split.setSession" class="" title="Split.setSession (class method)" data-id="Split.setSession">setSession</a>
</li>
<li id="dropdown_Split.setSplits" data-id="Split.setSplits" class="memberLink"><a href="#Split.setSplits" class="" title="Split.setSplits (class method)" data-id="Split.setSplits">setSplits</a>
</li>
<li id="dropdown_Split.setTheme" data-id="Split.setTheme" class="memberLink"><a href="#Split.setTheme" class="" title="Split.setTheme (class method)" data-id="Split.setTheme">setTheme</a>
</li>
<li id="dropdown_Split.undo" data-id="Split.undo" class="memberLink"><a href="#Split.undo" class="" title="Split.undo (class method)" data-id="Split.undo">undo</a>
</li>
<li id="dropdown_Split.UndoManagerProxy" data-id="Split.UndoManagerProxy" class="memberLink"><a href="#Split.UndoManagerProxy" class="" title="Split.UndoManagerProxy (class method)" data-id="Split.UndoManagerProxy">UndoManagerProxy</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="Split" data-title="Split (class)" class="article">
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="Split.blur" data-title="Split.blur (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.blur" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.blur" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">blur</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.blur" class="ellipsis_description"><p>Blurs the current editor.</p>
</div>
<div class="description"><p>Blurs the current editor.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Split.execute" data-title="Split.execute (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.execute" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.execute" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">execute</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.execute" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="Split.focus" data-title="Split.focus (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.focus" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.focus" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">focus</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.focus" class="ellipsis_description"><p>Focuses the current editor.</p>
</div>
<div class="description"><p>Focuses the current editor.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Split.forEach" data-title="Split.forEach (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.forEach" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.forEach" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">forEach</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Function" class="argument methodClicker" title="Function" data-id="Function">Function</a> callback, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> scope</span>)</li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.forEach" class="ellipsis_description">
</div>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">callback</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Function" class="" title="Function" data-id="Function">Function</a></td><td class="argDescription "><p>Required. A callback function to execute</p>
</td></tr><tr class="argumentRow "><td class="argName ">scope</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The default scope for the callback</p>
<p>Executes <code>callback</code> on all of the available editors.</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Split.getCurrentEditor" data-title="Split.getCurrentEditor (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.getCurrentEditor" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.getCurrentEditor" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">getCurrentEditor</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="editor.html" class="returnType " title="Editor (class)" data-id="Editor">Editor</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.getCurrentEditor" class="ellipsis_description"><p>Returns the current editor.</p>
</div>
<div class="description"><p>Returns the current editor.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Split.getEditor" data-title="Split.getEditor (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.getEditor" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.getEditor" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">getEditor</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> idx</span>)</li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.getEditor" class="ellipsis_description">
</div>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">idx</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The index of the editor you want</p>
<p>Returns the editor identified by the index <code>idx</code>.</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Split.getOrientation" data-title="Split.getOrientation (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.getOrientation" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.getOrientation" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">getOrientation</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.getOrientation" class="ellipsis_description"><p>Returns the orientation.</p>
</div>
<div class="description"><p>Returns the orientation.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Split.getSplits" data-title="Split.getSplits (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.getSplits" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.getSplits" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">getSplits</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.getSplits" class="ellipsis_description"><p>Returns the number of splits.</p>
</div>
<div class="description"><p>Returns the number of splits.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Split.hasRedo" data-title="Split.hasRedo (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.hasRedo" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.hasRedo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">hasRedo</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.hasRedo" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="Split.hasUndo" data-title="Split.hasUndo (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.hasUndo" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.hasUndo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">hasUndo</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.hasUndo" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="Split.redo" data-title="Split.redo (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.redo" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.redo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">redo</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.redo" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="Split.reset" data-title="Split.reset (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.reset" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.reset" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">reset</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.reset" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="Split.resize" data-title="Split.resize (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.resize" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.resize" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">resize</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.resize" class="ellipsis_description"><p>Resizes the editor.</p>
</div>
<div class="description"><p>Resizes the editor.</p>
</div>
</div>
</div>
</div>
</article>
<article id="Split.setFontSize" data-title="Split.setFontSize (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.setFontSize" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.setFontSize" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setFontSize</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> size</span>)</li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.setFontSize" class="ellipsis_description">
</div>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">size</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new font size</p>
<p>Sets the font size, in pixels, for all the available editors.</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Split.setKeyboardHandler" data-title="Split.setKeyboardHandler (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.setKeyboardHandler" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.setKeyboardHandler" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setKeyboardHandler</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> keybinding</span>)</li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.setKeyboardHandler" class="ellipsis_description">
</div>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">keybinding</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. Sets the keyboard handler for the editor.</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Split.setOrientation" data-title="Split.setOrientation (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.setOrientation" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.setOrientation" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setOrientation</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> orientation</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.setOrientation" class="ellipsis_description"><p>Sets the orientation.</p>
</div>
<div class="description"><p>Sets the orientation.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">orientation</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The new orientation value</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Split.setSession" data-title="Split.setSession (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.setSession" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.setSession" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setSession</span></span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> idx</span>)</li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.setSession" class="ellipsis_description">
</div>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The new edit session</p>
</td></tr><tr class="argumentRow "><td class="argName ">idx</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The editor&#39;s index you&#39;re interested in</p>
<p>Sets a new <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a> for the indicated editor.</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Split.setSplits" data-title="Split.setSplits (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.setSplits" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.setSplits" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setSplits</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.setSplits" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="Split.setTheme" data-title="Split.setTheme (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.setTheme" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.setTheme" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">setTheme</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> theme</span>)</li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.setTheme" class="ellipsis_description">
</div>
<div class="description">
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">theme</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. The name of the theme to set</p>
<p>Sets a theme for each of the available editors.</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="Split.undo" data-title="Split.undo (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.undo" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.undo" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">undo</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.undo" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
<article id="Split.UndoManagerProxy" data-title="Split.UndoManagerProxy (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Split.UndoManagerProxy" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Split.UndoManagerProxy" class="member-name methodClicker"><span class="sigClassName">Split.</span><span class="sigMemberName">UndoManagerProxy</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
<li><span class="label undocumented">Undocumented</span></li>
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Split.UndoManagerProxy" class="ellipsis_description">
</div>
<div class="description">
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

248
api/token_iterator.html Normal file
View file

@ -0,0 +1,248 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">TokenIterator</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_TokenIterator.new" data-id="TokenIterator.new" class="memberLink"><a href="#TokenIterator.new" class="" title="TokenIterator.new (constructor)" data-id="TokenIterator.new">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (5)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_TokenIterator.getCurrentToken" data-id="TokenIterator.getCurrentToken" class="memberLink"><a href="#TokenIterator.getCurrentToken" class="" title="TokenIterator.getCurrentToken (class method)" data-id="TokenIterator.getCurrentToken">getCurrentToken</a>
</li>
<li id="dropdown_TokenIterator.getCurrentTokenColumn" data-id="TokenIterator.getCurrentTokenColumn" class="memberLink"><a href="#TokenIterator.getCurrentTokenColumn" class="" title="TokenIterator.getCurrentTokenColumn (class method)" data-id="TokenIterator.getCurrentTokenColumn">getCurrentTokenColumn</a>
</li>
<li id="dropdown_TokenIterator.getCurrentTokenRow" data-id="TokenIterator.getCurrentTokenRow" class="memberLink"><a href="#TokenIterator.getCurrentTokenRow" class="" title="TokenIterator.getCurrentTokenRow (class method)" data-id="TokenIterator.getCurrentTokenRow">getCurrentTokenRow</a>
</li>
<li id="dropdown_TokenIterator.stepBackward" data-id="TokenIterator.stepBackward" class="memberLink"><a href="#TokenIterator.stepBackward" class="" title="TokenIterator.stepBackward (class method)" data-id="TokenIterator.stepBackward">stepBackward</a>
</li>
<li id="dropdown_TokenIterator.stepForward" data-id="TokenIterator.stepForward" class="memberLink"><a href="#TokenIterator.stepForward" class="" title="TokenIterator.stepForward (class method)" data-id="TokenIterator.stepForward">stepForward</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="TokenIterator" data-title="TokenIterator (class)" class="article">
<div class="section description">
<div class="memberContent"><p>This class provides an essay way to treat the document as a stream of tokens, and provides methods to iterate over these tokens.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="TokenIterator.new" data-title="TokenIterator.new (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="TokenIterator.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="TokenIterator.new" class="member-name methodClicker">TokenIterator</span>(<span class="sigArgList"><a href="edit_session.html" class="argument methodClicker" title="EditSession (class)" data-id="EditSession">EditSession</a> session, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> initialRow, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="argument methodClicker" title="Number" data-id="Number">Number</a> initialColumn</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_TokenIterator.new" class="ellipsis_description"><p>Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.</p>
</div>
<div class="description"><p>Creates a new token iterator object. The inital token index is set to the provided row and column coordinates.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">session</td><td class="argType" "><a href="edit_session.html" class="" title="EditSession (class)" data-id="EditSession">EditSession</a></td><td class="argDescription "><p>Required. The session to associate with</p>
</td></tr><tr class="argumentRow "><td class="argName ">initialRow</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The row to start the tokenizing at</p>
</td></tr><tr class="argumentRow "><td class="argName ">initialColumn</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="" title="Number" data-id="Number">Number</a></td><td class="argDescription "><p>Required. The column to start the tokenizing at</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="TokenIterator.getCurrentToken" data-title="TokenIterator.getCurrentToken (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="TokenIterator.getCurrentToken" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="TokenIterator.getCurrentToken" class="member-name methodClicker"><span class="sigClassName">TokenIterator.</span><span class="sigMemberName">getCurrentToken</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_TokenIterator.getCurrentToken" class="ellipsis_description"><p>Returns the current tokenized string.</p>
</div>
<div class="description"><p>Returns the current tokenized string.</p>
</div>
</div>
</div>
</div>
</article>
<article id="TokenIterator.getCurrentTokenColumn" data-title="TokenIterator.getCurrentTokenColumn (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="TokenIterator.getCurrentTokenColumn" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="TokenIterator.getCurrentTokenColumn" class="member-name methodClicker"><span class="sigClassName">TokenIterator.</span><span class="sigMemberName">getCurrentTokenColumn</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_TokenIterator.getCurrentTokenColumn" class="ellipsis_description"><p>Returns the current column.</p>
</div>
<div class="description"><p>Returns the current column.</p>
</div>
</div>
</div>
</div>
</article>
<article id="TokenIterator.getCurrentTokenRow" data-title="TokenIterator.getCurrentTokenRow (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="TokenIterator.getCurrentTokenRow" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="TokenIterator.getCurrentTokenRow" class="member-name methodClicker"><span class="sigClassName">TokenIterator.</span><span class="sigMemberName">getCurrentTokenRow</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Number" class="returnType " title="Number" data-id="Number">Number</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_TokenIterator.getCurrentTokenRow" class="ellipsis_description"><p>Returns the current row.</p>
</div>
<div class="description"><p>Returns the current row.</p>
</div>
</div>
</div>
</div>
</article>
<article id="TokenIterator.stepBackward" data-title="TokenIterator.stepBackward (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="TokenIterator.stepBackward" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="TokenIterator.stepBackward" class="member-name methodClicker"><span class="sigClassName">TokenIterator.</span><span class="sigMemberName">stepBackward</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_TokenIterator.stepBackward" class="ellipsis_description"><p>Tokenizes all the items from the current point to the row prior in the document.</p>
</div>
<div class="description"><p>Tokenizes all the items from the current point to the row prior in the document.</p>
</div>
</div>
</div>
</div>
</article>
<article id="TokenIterator.stepForward" data-title="TokenIterator.stepForward (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="TokenIterator.stepForward" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="TokenIterator.stepForward" class="member-name methodClicker"><span class="sigClassName">TokenIterator.</span><span class="sigMemberName">stepForward</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="returnType " title="String" data-id="String">String</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_TokenIterator.stepForward" class="ellipsis_description"><p>Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns <code>null</code>. Otherwise, it returns the tokenized string.</p>
</div>
<div class="description"><p>Tokenizes all the items from the current point until the next row in the document. If the current point is at the end of the file, this function returns <code>null</code>. Otherwise, it returns the tokenized string.</p>
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

122
api/tokenizer.html Normal file
View file

@ -0,0 +1,122 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">Tokenizer</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Tokenizer.new" data-id="Tokenizer.new" class="memberLink"><a href="#Tokenizer.new" class="" title="Tokenizer.new (constructor)" data-id="Tokenizer.new">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_Tokenizer.getLineTokens" data-id="Tokenizer.getLineTokens" class="memberLink"><a href="#Tokenizer.getLineTokens" class="" title="Tokenizer.getLineTokens (class method)" data-id="Tokenizer.getLineTokens">getLineTokens</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="Tokenizer" data-title="Tokenizer (class)" class="article">
<div class="section description">
<div class="memberContent"><p>This class takes a set of highlighting rules, and creates a tokenizer out of them. For more information, see <a href="https://github.com/ajaxorg/ace/wiki/Creating-or-Extending-an-Edit-Mode#wiki-extendingTheHighlighter">the wiki on extending highlighters</a>.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="Tokenizer.new" data-title="Tokenizer.new (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Tokenizer.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="Tokenizer.new" class="member-name methodClicker">Tokenizer</span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> rules, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="argument methodClicker" title="String" data-id="String">String</a> flag</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Tokenizer.new" class="ellipsis_description"><p>Constructs a new tokenizer based on the given rules and flags.</p>
</div>
<div class="description"><p>Constructs a new tokenizer based on the given rules and flags.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">rules</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. The highlighting rules</p>
</td></tr><tr class="argumentRow "><td class="argName ">flag</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String" class="" title="String" data-id="String">String</a></td><td class="argDescription "><p>Required. Any additional regular expression flags to pass (like &quot;i&quot; for case insensitive)</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="Tokenizer.getLineTokens" data-title="Tokenizer.getLineTokens (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="Tokenizer.getLineTokens" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="Tokenizer.getLineTokens" class="member-name methodClicker"><span class="sigClassName">Tokenizer.</span><span class="sigMemberName">getLineTokens</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> line, <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> startState</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="returnType " title="Object" data-id="Object">Object</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_Tokenizer.getLineTokens" class="ellipsis_description"><p>Returns an object containing two properties: <code>tokens</code>, which contains all the tokens; and <code>state</code>, the current state.</p>
</div>
<div class="description"><p>Returns an object containing two properties: <code>tokens</code>, which contains all the tokens; and <code>state</code>, the current state.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">line</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
</td></tr><tr class="argumentRow "><td class="argName ">startState</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. </p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

271
api/undomanager.html Normal file
View file

@ -0,0 +1,271 @@
<div id="documentation" class="span9">
<div class="classContent">
<div class="membersBackground"></div>
<div class=" members pos0">
<div class=" membersContent pos0">
<h1 class="memberHeader"><span class="name">UndoManager</span>
</h1>
<ul data-tabs="tabs" class="nav tabs pos0">
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Constructors (1)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_UndoManager.new" data-id="UndoManager.new" class="memberLink"><a href="#UndoManager.new" class="" title="UndoManager.new (constructor)" data-id="UndoManager.new">new</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span>Functions (6)</span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li id="dropdown_UndoManager.execute" data-id="UndoManager.execute" class="memberLink"><a href="#UndoManager.execute" class="" title="UndoManager.execute (class method)" data-id="UndoManager.execute">execute</a>
</li>
<li id="dropdown_UndoManager.hasRedo" data-id="UndoManager.hasRedo" class="memberLink"><a href="#UndoManager.hasRedo" class="" title="UndoManager.hasRedo (class method)" data-id="UndoManager.hasRedo">hasRedo</a>
</li>
<li id="dropdown_UndoManager.hasUndo" data-id="UndoManager.hasUndo" class="memberLink"><a href="#UndoManager.hasUndo" class="" title="UndoManager.hasUndo (class method)" data-id="UndoManager.hasUndo">hasUndo</a>
</li>
<li id="dropdown_UndoManager.redo" data-id="UndoManager.redo" class="memberLink"><a href="#UndoManager.redo" class="" title="UndoManager.redo (class method)" data-id="UndoManager.redo">redo</a>
</li>
<li id="dropdown_UndoManager.reset" data-id="UndoManager.reset" class="memberLink"><a href="#UndoManager.reset" class="" title="UndoManager.reset (class method)" data-id="UndoManager.reset">reset</a>
</li>
<li id="dropdown_UndoManager.undo" data-id="UndoManager.undo" class="memberLink"><a href="#UndoManager.undo" class="" title="UndoManager.undo (class method)" data-id="UndoManager.undo">undo</a>
</li>
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
<li data-dropdown="dropdown" class="dropdown">
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div>
</div>
<article id="UndoManager" data-title="UndoManager (class)" class="article">
<div class="section description">
<div class="memberContent"><p>This object maintains the undo stack for an <a href="edit_session.html" class="link-short" title="EditSession (class)" data-id="EditSession"><code>EditSession</code></a>.</p>
</div>
</div>
</article>
<h3 class="sectionHeader">Constructors</h3>
<article id="UndoManager.new" data-title="UndoManager.new (constructor)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="UndoManager.new" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span class="constructorIdentifier">new </span><span id="UndoManager.new" class="member-name methodClicker">UndoManager</span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_UndoManager.new" class="ellipsis_description"><p>Resets the current undo state and creates a new <code>UndoManager</code>.</p>
</div>
<div class="description"><p>Resets the current undo state and creates a new <code>UndoManager</code>.</p>
</div>
</div>
</div>
</div>
</article>
<h3 class="sectionHeader">Methods</h3>
<article id="UndoManager.execute" data-title="UndoManager.execute (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="UndoManager.execute" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="UndoManager.execute" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">execute</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="argument methodClicker" title="Object" data-id="Object">Object</a> options</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_UndoManager.execute" class="ellipsis_description"><p>Provides a means for implementing your own undo manager. <code>options</code> has one property, <code>args</code>, an <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="link-short" title="<code>Array</code>" data-id="<code>Array</code>"><code>Array</code></a>, with two elements:</p>
</div>
<div class="description"><p>Provides a means for implementing your own undo manager. <code>options</code> has one property, <code>args</code>, an <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array" class="link-short" title="<code>Array</code>" data-id="<code>Array</code>"><code>Array</code></a>, with two elements:</p>
<ul>
<li><code>args[0]</code> is an array of deltas</li>
<li><code>args[1]</code> is the document to associate with</li>
</ul>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">options</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object" class="" title="Object" data-id="Object">Object</a></td><td class="argDescription "><p>Required. Contains additional properties</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="UndoManager.hasRedo" data-title="UndoManager.hasRedo (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="UndoManager.hasRedo" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="UndoManager.hasRedo" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">hasRedo</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_UndoManager.hasRedo" class="ellipsis_description"><p>Returns <code>true</code> if there are redo operations left to perform.</p>
</div>
<div class="description"><p>Returns <code>true</code> if there are redo operations left to perform.</p>
</div>
</div>
</div>
</div>
</article>
<article id="UndoManager.hasUndo" data-title="UndoManager.hasUndo (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="UndoManager.hasUndo" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="UndoManager.hasUndo" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">hasUndo</span></span><span class="emptyArgumentList">()</span>
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="returnType " title="Boolean" data-id="Boolean">Boolean</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_UndoManager.hasUndo" class="ellipsis_description"><p>Returns <code>true</code> if there are undo operations left to perform.</p>
</div>
<div class="description"><p>Returns <code>true</code> if there are undo operations left to perform.</p>
</div>
</div>
</div>
</div>
</article>
<article id="UndoManager.redo" data-title="UndoManager.redo (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="UndoManager.redo" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="UndoManager.redo" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">redo</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> dontSelect</span>)</li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_UndoManager.redo" class="ellipsis_description"><p>Perform a redo operation on the document, reimplementing the last change.</p>
</div>
<div class="description"><p>Perform a redo operation on the document, reimplementing the last change.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">dontSelect</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. If <code>true</code>, doesn&#39;t select the range of where the change occured</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
<article id="UndoManager.reset" data-title="UndoManager.reset (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="UndoManager.reset" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="UndoManager.reset" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">reset</span></span><span class="emptyArgumentList">()</span></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_UndoManager.reset" class="ellipsis_description"><p>Destroys the stack of undo and redo redo operations.</p>
</div>
<div class="description"><p>Destroys the stack of undo and redo redo operations.</p>
</div>
</div>
</div>
</div>
</article>
<article id="UndoManager.undo" data-title="UndoManager.undo (class method)" class="article">
<div class="section method">
<div class="memberContent">
<div class="title"><i id="UndoManager.undo" class="methodToggle methodClicker inactive icon-caret-right"></i>
<ul class="signatures">
<li class="signature">
<ul>
<li class="signature-call"><span id="UndoManager.undo" class="member-name methodClicker"><span class="sigClassName">UndoManager.</span><span class="sigMemberName">undo</span></span>(<span class="sigArgList"><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="argument methodClicker" title="Boolean" data-id="Boolean">Boolean</a> dontSelect</span>)
<li class="signature-returns">
<ul class="argument-types">
<li class="argument-type"><a href="range.html" class="returnType " title="Range (class)" data-id="Range">Range</a></li>
</ul>
</li></li>
</ul>
<ul class="metaInfo">
</ul>
</li>
</ul>
</div>
<div class="sideToggler">
<div id="ellipsis_UndoManager.undo" class="ellipsis_description"><p>Perform an undo operation on the document, reverting the last change.</p>
</div>
<div class="description"><p>Perform an undo operation on the document, reverting the last change.</p>
<h4>Arguments</h4><table class="argumentTable argument-list table table-striped table-bordered"><tr class="argumentRow "><td class="argName ">dontSelect</td><td class="argType" "><a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Boolean" class="" title="Boolean" data-id="Boolean">Boolean</a></td><td class="argDescription "><p>Required. If <code>true</code>, doesn&#39;t select the range of where the change occured</p>
</td></tr></table>
</div>
</div>
</div>
</div>
</article>
</div>
<script defer src="./resources/javascripts/ux.js"></script>
<script src="./resources/javascripts/clicker.js"></script>
<script src="./resources/javascripts/jquery-scrollspy.js"></script>
<script defer src="./resources/javascripts/disqus-ext.js"></script>
<script defer src="./resources/javascripts/ga.js"></script>
<div id="disqus_thread"></div>
</div>

2190
api/virtual_renderer.html Normal file

File diff suppressed because it is too large Load diff

1
build Submodule

@ -0,0 +1 @@
Subproject commit a4e495d8901876c6bafe3870a35cb8e32c827e97

View file

@ -1,116 +0,0 @@
2011.08.02, Version 0.2.0
* Split view (Julian Viereck)
- split editor area horizontally or vertivally to show two files at the same
time
* Code Folding (Julian Viereck)
- Unstructured code folding
- Will be the basis for language aware folding
* Mode behaviours (Chris Spencer)
- Adds mode specific hooks which allow transformations of entered text
- Autoclosing of braces, paranthesis and quotation marks in C style modes
- Autoclosing of angular brackets in XML style modes
* New language modes
- Clojure (Carin Meier)
- C# (Rob Conery)
- Groovy (Ben Tilford)
- Scala (Ben Tilford)
- JSON
- OCaml (Sergi Mansilla)
- Perl (Panagiotis Astithas)
- SCSS/SASS (Andreas Madsen)
- SVG
- Textile (Kelley van Evert)
- SCAD (Jacob Hansson)
* Live syntax checks
- Lint for Css using CSS Lint <http://csslint.net/>
- CoffeeScript
* New Themes
- Crimson Editor (iebuggy)
- Merbivore (Michael Schwartz)
- Merbivore soft (Michael Schwartz)
- Solarized dark/light <http://ethanschoonover.com/solarized> (David Alan
Hjelle)
- Vibrant Ink (Michael Schwartz)
* Small Features/Enhancements
- Lots of render performance optimizations (Harutyun Amirjanyan)
- Improved Ruby highlighting (Chris Wanstrath, Trent Ogren)
- Improved PHP highlighting (Thomas Hruska)
- Improved CSS highlighting (Sean Kellogg)
- Clicks which cause the editor to be focused don't reset the selection
- Make padding text layer specific so that print margin and active line
highlight are not affected (Irakli Gozalishvili)
- Added setFontSize method
- Improved vi keybindings (Trent Ogren)
- When unfocused make cursor transparent instead of removing it (Harutyun
Amirjanyan)
- Support for matching groups in tokenizer with arrays of tokens (Chris
Spencer)
* Bug fixes
- Add support for the new OSX scroll bars
- Properly highlight JavaScript regexp literals
- Proper handling of unicode characters in JavaScript identifiers
- Fix remove lines command on last line (Harutyun Amirjanyan)
- Fix scroll wheel sluggishness in Safari
- Make keyboard infrastructure route keys like []^$ the right way (Julian
Viereck)
2011.02.14, Version 0.1.6
* Floating Anchors
- An Anchor is a floating pointer in the document.
- Whenever text is inserted or deleted before the cursor, the position of
the cursor is updated
- Usesd for the cursor and selection
- Basis for bookmarks, multiple cursors and snippets in the future
* Extensive support for Cocoa style keybindings on the Mac <https://github.com/ajaxorg/ace/issues/closed#issue/116/comment/767803>
* New commands:
- center selection in viewport
- remove to end/start of line
- split line
- transpose letters
* Refator markers
- Custom code can be used to render markers
- Markers can be in front or behind the text
- Markers are now stored in the session (was in the renderer)
* Lots of IE8 fixes including copy, cut and selections
* Unit tests can also be run in the browser
<https://github.com/ajaxorg/ace/blob/master/lib/ace/test/tests.html>
* Soft wrap can adapt to the width of the editor (Mike Ratcliffe, Joe Cheng)
* Add minimal node server server.js to run the Ace demo in Chrome
* The top level editor.html demo has been renamed to index.html
* Bug fixes
- Fixed gotoLine to consider wrapped lines when calculating where to scroll to (James Allen)
- Fixed isues when the editor was scrolled in the web page (Eric Allam)
- Highlighting of Python string literals
- Syntax rule for PHP comments
2011.02.08, Version 0.1.5
* Add Coffeescript Mode (Satoshi Murakami)
* Fix word wrap bug (Julian Viereck)
* Fix packaged version of the Eclipse mode
* Loading of workers is more robust
* Fix "click selection"
* Allow tokizing empty lines (Daniel Krech)
* Make PageUp/Down behavior more consistent with native OS (Joe Cheng)
2011.02.04, Version 0.1.4
* Add C/C++ mode contributed by Gastón Kleiman
* Fix exception in key input
2011.02.04, Version 0.1.3
* Let the packaged version play nice with requireJS
* Add Ruby mode contributed by Shlomo Zalman Heigh
* Add Java mode contributed by Tom Tasche
* Fix annotation bug
* Changing a document added a new empty line at the end

View file

@ -1,476 +0,0 @@
Licensed under the tri-license MPL/LGPL/GPL.
MOZILLA PUBLIC LICENSE
Version 1.1
---------------
1. Definitions.
1.0.1. "Commercial Use" means distribution or otherwise making the
Covered Code available to a third party.
1.1. "Contributor" means each entity that creates or contributes to
the creation of Modifications.
1.2. "Contributor Version" means the combination of the Original
Code, prior Modifications used by a Contributor, and the Modifications
made by that particular Contributor.
1.3. "Covered Code" means the Original Code or Modifications or the
combination of the Original Code and Modifications, in each case
including portions thereof.
1.4. "Electronic Distribution Mechanism" means a mechanism generally
accepted in the software development community for the electronic
transfer of data.
1.5. "Executable" means Covered Code in any form other than Source
Code.
1.6. "Initial Developer" means the individual or entity identified
as the Initial Developer in the Source Code notice required by Exhibit
A.
1.7. "Larger Work" means a work which combines Covered Code or
portions thereof with code not governed by the terms of this License.
1.8. "License" means this document.
1.8.1. "Licensable" means having the right to grant, to the maximum
extent possible, whether at the time of the initial grant or
subsequently acquired, any and all of the rights conveyed herein.
1.9. "Modifications" means any addition to or deletion from the
substance or structure of either the Original Code or any previous
Modifications. When Covered Code is released as a series of files, a
Modification is:
A. Any addition to or deletion from the contents of a file
containing Original Code or previous Modifications.
B. Any new file that contains any part of the Original Code or
previous Modifications.
1.10. "Original Code" means Source Code of computer software code
which is described in the Source Code notice required by Exhibit A as
Original Code, and which, at the time of its release under this
License is not already Covered Code governed by this License.
1.10.1. "Patent Claims" means any patent claim(s), now owned or
hereafter acquired, including without limitation, method, process,
and apparatus claims, in any patent Licensable by grantor.
1.11. "Source Code" means the preferred form of the Covered Code for
making modifications to it, including all modules it contains, plus
any associated interface definition files, scripts used to control
compilation and installation of an Executable, or source code
differential comparisons against either the Original Code or another
well known, available Covered Code of the Contributor's choice. The
Source Code can be in a compressed or archival form, provided the
appropriate decompression or de-archiving software is widely available
for no charge.
1.12. "You" (or "Your") means an individual or a legal entity
exercising rights under, and complying with all of the terms of, this
License or a future version of this License issued under Section 6.1.
For legal entities, "You" includes any entity which controls, is
controlled by, or is under common control with You. For purposes of
this definition, "control" means (a) the power, direct or indirect,
to cause the direction or management of such entity, whether by
contract or otherwise, or (b) ownership of more than fifty percent
(50%) of the outstanding shares or beneficial ownership of such
entity.
2. Source Code License.
2.1. The Initial Developer Grant.
The Initial Developer hereby grants You a world-wide, royalty-free,
non-exclusive license, subject to third party intellectual property
claims:
(a) under intellectual property rights (other than patent or
trademark) Licensable by Initial Developer to use, reproduce,
modify, display, perform, sublicense and distribute the Original
Code (or portions thereof) with or without Modifications, and/or
as part of a Larger Work; and
(b) under Patents Claims infringed by the making, using or
selling of Original Code, to make, have made, use, practice,
sell, and offer for sale, and/or otherwise dispose of the
Original Code (or portions thereof).
(c) the licenses granted in this Section 2.1(a) and (b) are
effective on the date Initial Developer first distributes
Original Code under the terms of this License.
(d) Notwithstanding Section 2.1(b) above, no patent license is
granted: 1) for code that You delete from the Original Code; 2)
separate from the Original Code; or 3) for infringements caused
by: i) the modification of the Original Code or ii) the
combination of the Original Code with other software or devices.
2.2. Contributor Grant.
Subject to third party intellectual property claims, each Contributor
hereby grants You a world-wide, royalty-free, non-exclusive license
(a) under intellectual property rights (other than patent or
trademark) Licensable by Contributor, to use, reproduce, modify,
display, perform, sublicense and distribute the Modifications
created by such Contributor (or portions thereof) either on an
unmodified basis, with other Modifications, as Covered Code
and/or as part of a Larger Work; and
(b) under Patent Claims infringed by the making, using, or
selling of Modifications made by that Contributor either alone
and/or in combination with its Contributor Version (or portions
of such combination), to make, use, sell, offer for sale, have
made, and/or otherwise dispose of: 1) Modifications made by that
Contributor (or portions thereof); and 2) the combination of
Modifications made by that Contributor with its Contributor
Version (or portions of such combination).
(c) the licenses granted in Sections 2.2(a) and 2.2(b) are
effective on the date Contributor first makes Commercial Use of
the Covered Code.
(d) Notwithstanding Section 2.2(b) above, no patent license is
granted: 1) for any code that Contributor has deleted from the
Contributor Version; 2) separate from the Contributor Version;
3) for infringements caused by: i) third party modifications of
Contributor Version or ii) the combination of Modifications made
by that Contributor with other software (except as part of the
Contributor Version) or other devices; or 4) under Patent Claims
infringed by Covered Code in the absence of Modifications made by
that Contributor.
3. Distribution Obligations.
3.1. Application of License.
The Modifications which You create or to which You contribute are
governed by the terms of this License, including without limitation
Section 2.2. The Source Code version of Covered Code may be
distributed only under the terms of this License or a future version
of this License released under Section 6.1, and You must include a
copy of this License with every copy of the Source Code You
distribute. You may not offer or impose any terms on any Source Code
version that alters or restricts the applicable version of this
License or the recipients' rights hereunder. However, You may include
an additional document offering the additional rights described in
Section 3.5.
3.2. Availability of Source Code.
Any Modification which You create or to which You contribute must be
made available in Source Code form under the terms of this License
either on the same media as an Executable version or via an accepted
Electronic Distribution Mechanism to anyone to whom you made an
Executable version available; and if made available via Electronic
Distribution Mechanism, must remain available for at least twelve (12)
months after the date it initially became available, or at least six
(6) months after a subsequent version of that particular Modification
has been made available to such recipients. You are responsible for
ensuring that the Source Code version remains available even if the
Electronic Distribution Mechanism is maintained by a third party.
3.3. Description of Modifications.
You must cause all Covered Code to which You contribute to contain a
file documenting the changes You made to create that Covered Code and
the date of any change. You must include a prominent statement that
the Modification is derived, directly or indirectly, from Original
Code provided by the Initial Developer and including the name of the
Initial Developer in (a) the Source Code, and (b) in any notice in an
Executable version or related documentation in which You describe the
origin or ownership of the Covered Code.
3.4. Intellectual Property Matters
(a) Third Party Claims.
If Contributor has knowledge that a license under a third party's
intellectual property rights is required to exercise the rights
granted by such Contributor under Sections 2.1 or 2.2,
Contributor must include a text file with the Source Code
distribution titled "LEGAL" which describes the claim and the
party making the claim in sufficient detail that a recipient will
know whom to contact. If Contributor obtains such knowledge after
the Modification is made available as described in Section 3.2,
Contributor shall promptly modify the LEGAL file in all copies
Contributor makes available thereafter and shall take other steps
(such as notifying appropriate mailing lists or newsgroups)
reasonably calculated to inform those who received the Covered
Code that new knowledge has been obtained.
(b) Contributor APIs.
If Contributor's Modifications include an application programming
interface and Contributor has knowledge of patent licenses which
are reasonably necessary to implement that API, Contributor must
also include this information in the LEGAL file.
(c) Representations.
Contributor represents that, except as disclosed pursuant to
Section 3.4(a) above, Contributor believes that Contributor's
Modifications are Contributor's original creation(s) and/or
Contributor has sufficient rights to grant the rights conveyed by
this License.
3.5. Required Notices.
You must duplicate the notice in Exhibit A in each file of the Source
Code. If it is not possible to put such notice in a particular Source
Code file due to its structure, then You must include such notice in a
location (such as a relevant directory) where a user would be likely
to look for such a notice. If You created one or more Modification(s)
You may add your name as a Contributor to the notice described in
Exhibit A. You must also duplicate this License in any documentation
for the Source Code where You describe recipients' rights or ownership
rights relating to Covered Code. You may choose to offer, and to
charge a fee for, warranty, support, indemnity or liability
obligations to one or more recipients of Covered Code. However, You
may do so only on Your own behalf, and not on behalf of the Initial
Developer or any Contributor. You must make it absolutely clear than
any such warranty, support, indemnity or liability obligation is
offered by You alone, and You hereby agree to indemnify the Initial
Developer and every Contributor for any liability incurred by the
Initial Developer or such Contributor as a result of warranty,
support, indemnity or liability terms You offer.
3.6. Distribution of Executable Versions.
You may distribute Covered Code in Executable form only if the
requirements of Section 3.1-3.5 have been met for that Covered Code,
and if You include a notice stating that the Source Code version of
the Covered Code is available under the terms of this License,
including a description of how and where You have fulfilled the
obligations of Section 3.2. The notice must be conspicuously included
in any notice in an Executable version, related documentation or
collateral in which You describe recipients' rights relating to the
Covered Code. You may distribute the Executable version of Covered
Code or ownership rights under a license of Your choice, which may
contain terms different from this License, provided that You are in
compliance with the terms of this License and that the license for the
Executable version does not attempt to limit or alter the recipient's
rights in the Source Code version from the rights set forth in this
License. If You distribute the Executable version under a different
license You must make it absolutely clear that any terms which differ
from this License are offered by You alone, not by the Initial
Developer or any Contributor. You hereby agree to indemnify the
Initial Developer and every Contributor for any liability incurred by
the Initial Developer or such Contributor as a result of any such
terms You offer.
3.7. Larger Works.
You may create a Larger Work by combining Covered Code with other code
not governed by the terms of this License and distribute the Larger
Work as a single product. In such a case, You must make sure the
requirements of this License are fulfilled for the Covered Code.
4. Inability to Comply Due to Statute or Regulation.
If it is impossible for You to comply with any of the terms of this
License with respect to some or all of the Covered Code due to
statute, judicial order, or regulation then You must: (a) comply with
the terms of this License to the maximum extent possible; and (b)
describe the limitations and the code they affect. Such description
must be included in the LEGAL file described in Section 3.4 and must
be included with all distributions of the Source Code. Except to the
extent prohibited by statute or regulation, such description must be
sufficiently detailed for a recipient of ordinary skill to be able to
understand it.
5. Application of this License.
This License applies to code to which the Initial Developer has
attached the notice in Exhibit A and to related Covered Code.
6. Versions of the License.
6.1. New Versions.
Netscape Communications Corporation ("Netscape") may publish revised
and/or new versions of the License from time to time. Each version
will be given a distinguishing version number.
6.2. Effect of New Versions.
Once Covered Code has been published under a particular version of the
License, You may always continue to use it under the terms of that
version. You may also choose to use such Covered Code under the terms
of any subsequent version of the License published by Netscape. No one
other than Netscape has the right to modify the terms applicable to
Covered Code created under this License.
6.3. Derivative Works.
If You create or use a modified version of this License (which you may
only do in order to apply it to code which is not already Covered Code
governed by this License), You must (a) rename Your license so that
the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
"MPL", "NPL" or any confusingly similar phrase do not appear in your
license (except to note that your license differs from this License)
and (b) otherwise make it clear that Your version of the license
contains terms which differ from the Mozilla Public License and
Netscape Public License. (Filling in the name of the Initial
Developer, Original Code or Contributor in the notice described in
Exhibit A shall not of themselves be deemed to be modifications of
this License.)
7. DISCLAIMER OF WARRANTY.
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
8. TERMINATION.
8.1. This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to cure
such breach within 30 days of becoming aware of the breach. All
sublicenses to the Covered Code which are properly granted shall
survive any termination of this License. Provisions which, by their
nature, must remain in effect beyond the termination of this License
shall survive.
8.2. If You initiate litigation by asserting a patent infringement
claim (excluding declatory judgment actions) against Initial Developer
or a Contributor (the Initial Developer or Contributor against whom
You file such action is referred to as "Participant") alleging that:
(a) such Participant's Contributor Version directly or indirectly
infringes any patent, then any and all rights granted by such
Participant to You under Sections 2.1 and/or 2.2 of this License
shall, upon 60 days notice from Participant terminate prospectively,
unless if within 60 days after receipt of notice You either: (i)
agree in writing to pay Participant a mutually agreeable reasonable
royalty for Your past and future use of Modifications made by such
Participant, or (ii) withdraw Your litigation claim with respect to
the Contributor Version against such Participant. If within 60 days
of notice, a reasonable royalty and payment arrangement are not
mutually agreed upon in writing by the parties or the litigation claim
is not withdrawn, the rights granted by Participant to You under
Sections 2.1 and/or 2.2 automatically terminate at the expiration of
the 60 day notice period specified above.
(b) any software, hardware, or device, other than such Participant's
Contributor Version, directly or indirectly infringes any patent, then
any rights granted to You by such Participant under Sections 2.1(b)
and 2.2(b) are revoked effective as of the date You first made, used,
sold, distributed, or had made, Modifications made by that
Participant.
8.3. If You assert a patent infringement claim against Participant
alleging that such Participant's Contributor Version directly or
indirectly infringes any patent where such claim is resolved (such as
by license or settlement) prior to the initiation of patent
infringement litigation, then the reasonable value of the licenses
granted by such Participant under Sections 2.1 or 2.2 shall be taken
into account in determining the amount or value of any payment or
license.
8.4. In the event of termination under Sections 8.1 or 8.2 above,
all end user license agreements (excluding distributors and resellers)
which have been validly granted by You or any distributor hereunder
prior to termination shall survive termination.
9. LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
10. U.S. GOVERNMENT END USERS.
The Covered Code is a "commercial item," as that term is defined in
48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
software" and "commercial computer software documentation," as such
terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
all U.S. Government End Users acquire Covered Code with only those
rights set forth herein.
11. MISCELLANEOUS.
This License represents the complete agreement concerning subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. This License shall be governed by
California law provisions (except to the extent applicable law, if
any, provides otherwise), excluding its conflict-of-law provisions.
With respect to disputes in which at least one party is a citizen of,
or an entity chartered or registered to do business in the United
States of America, any litigation relating to this License shall be
subject to the jurisdiction of the Federal Courts of the Northern
District of California, with venue lying in Santa Clara County,
California, with the losing party responsible for costs, including
without limitation, court costs and reasonable attorneys' fees and
expenses. The application of the United Nations Convention on
Contracts for the International Sale of Goods is expressly excluded.
Any law or regulation which provides that the language of a contract
shall be construed against the drafter shall not apply to this
License.
12. RESPONSIBILITY FOR CLAIMS.
As between Initial Developer and the Contributors, each party is
responsible for claims and damages arising, directly or indirectly,
out of its utilization of rights under this License and You agree to
work with Initial Developer and Contributors to distribute such
responsibility on an equitable basis. Nothing herein is intended or
shall be deemed to constitute any admission of liability.
13. MULTIPLE-LICENSED CODE.
Initial Developer may designate portions of the Covered Code as
"Multiple-Licensed". "Multiple-Licensed" means that the Initial
Developer permits you to utilize portions of the Covered Code under
Your choice of the NPL or the alternative licenses, if any, specified
by the Initial Developer in the file described in Exhibit A.
EXHIBIT A -Mozilla Public License.
``The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.
The Original Code is ______________________________________.
The Initial Developer of the Original Code is ________________________.
Portions created by ______________________ are Copyright (C) ______
_______________________. All Rights Reserved.
Contributor(s): ______________________________________.
Alternatively, the contents of this file may be used under the terms
of the _____ license (the "[___] License"), in which case the
provisions of [______] License are applicable instead of those
above. If you wish to allow use of your version of this file only
under the terms of the [____] License and not to allow others to use
your version of this file under the MPL, indicate your decision by
deleting the provisions above and replace them with the notice and
other provisions required by the [___] License. If you do not delete
the provisions above, a recipient may use your version of this file
under either the MPL or the [___] License."
[NOTE: The text of this Exhibit A may differ slightly from the text of
the notices in the Source Code files of the Original Code. You should
use the text of this Exhibit A rather than the text found in the
Original Code Source Code for Your Modifications.]
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

View file

@ -1,186 +0,0 @@
Ace (Ajax.org Cloud9 Editor)
============================
Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application. Ace is developed as the primary editor for [Cloud9 IDE](http://www.cloud9ide.com/) and the successor of the Mozilla Skywriter (Bespin) Project.
Features
--------
* Syntax highlighting
* Automatic indent and outdent
* An optional command line
* Handles huge documents (100,000 lines and more are no problem)
* Fully customizable key bindings including VI and Emacs modes
* Themes (TextMate themes can be imported)
* Search and replace with regular expressions
* Highlight matching parentheses
* Toggle between soft tabs and real tabs
* Displays hidden characters
* Drag and drop text using the mouse
* Line wrapping
* Unstructured / user code folding
* Live syntax checker (currently JavaScript/CoffeeScript)
Take Ace for a spin!
--------------------
Check out the Ace live [demo](http://ajaxorg.github.com/ace/) or get a [Cloud9 IDE account](http://run.cloud9ide.com) to experience Ace while editing one of your own GitHub projects.
If you want, you can use Ace as a textarea replacement thanks to the [Ace Bookmarklet](http://ajaxorg.github.com/ace/build/textarea/editor.html).
History
-------
Previously known as “Bespin” and “Skywriter” its now known as Ace (Ajax.org Cloud9 Editor)! Bespin and Ace started as two independent projects, both aiming to build a no-compromise code editor component for the web. Bespin started as part of Mozilla Labs and was based on the canvas tag, while Ace is the Editor component of the Cloud9 IDE and is using the DOM for rendering. After the release of Ace at JSConf.eu 2010 in Berlin the Skywriter team decided to merge Ace with a simplified version of Skywriter's plugin system and some of Skywriter's extensibility points. All these changes have been merged back to Ace. Both Ajax.org and Mozilla are actively developing and maintaining Ace.
Getting the code
----------------
Ace is a community project. We actively encourage and support contributions. The Ace source code is hosted on GitHub. It is released under the Mozilla tri-license (MPL/GPL/LGPL), the same license used by Firefox. This license is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings!
```bash
git clone git://github.com/ajaxorg/ace.git
cd ace
git submodule update --init --recursive
```
Embedding Ace
-------------
Ace can be easily embedded into any existing web page. The Ace git repository ships with a pre-packaged version of Ace inside of the `build` directory. The same packaged files are also available as a separate [download](https://github.com/ajaxorg/ace/downloads). Simply copy the contents of the `src` subdirectory somewhere into your project and take a look at the included demos of how to use Ace.
The easiest version is simply:
```html
<div id="editor">some text</div>
<script src="src/ace.js" type="text/javascript" charset="utf-8"></script>
<script>
window.onload = function() {
var editor = ace.edit("editor");
};
</script>
```
With "editor" being the id of the DOM element, which should be converted to an editor. Note that this element must be explicitly sized and positioned `absolute` or `relative` for Ace to work. e.g.
```css
#editor {
position: absolute;
width: 500px;
height: 400px;
}
```
To change the theme simply include the Theme's JavaScript file
```html
<script src="src/theme-twilight.js" type="text/javascript" charset="utf-8"></script>
```
and configure the editor to use the theme:
```javascript
editor.setTheme("ace/theme/twilight");
```
By default the editor only supports plain text mode; many other languages are available as separate modules. After including the mode's JavaScript file:
```html
<script src="src/mode-javascript.js" type="text/javascript" charset="utf-8"></script>
```
Then the mode can be used like this:
```javascript
var JavaScriptMode = require("ace/mode/javascript").Mode;
editor.getSession().setMode(new JavaScriptMode());
```
Documentation
-------------
You find a lot more sample code in the [demo app](https://github.com/ajaxorg/ace/blob/master/demo/demo.js).
There is also some documentation on the [wiki page](https://github.com/ajaxorg/ace/wiki).
If you still need help, feel free to drop a mail on the [ace mailing list](http://groups.google.com/group/ace-discuss).
Running Ace
-----------
After the checkout Ace works out of the box. No build step is required. Open 'editor.html' in any browser except Google Chrome. Google Chrome doesn't allow XMLHTTPRequests from files loaded from disc (i.e. with a file:/// URL). To open Ace in Chrome simply start the bundled mini HTTP server:
```bash
./static.py
```
Or using Node.JS
```bash
./static.js
```
The editor can then be opened at http://localhost:8888/index.html.
Package Ace
-----------
To package Ace we use the dryice build tool developed by the Mozilla Skywriter team. Before you can build you need to make sure that the submodules are up to date.
```bash
git submodule update --init --recursive
```
Afterwards Ace can be built by calling
```bash
./Makefile.dryice.js normal
```
The packaged Ace will be put in the 'build' folder.
To build the bookmarklet version execute
```bash
./Makefile.dryice.js bm
```
Running the Unit Tests
----------------------
The Ace unit tests run on node.js. Before the first run a couple of node modules have to be installed. The easiest way to do this is by using the node package manager (npm). In the Ace base directory simply call
```bash
npm link .
```
To run the tests call:
```bash
node lib/ace/test/all.js
```
You can also run the tests in your browser by serving:
http://localhost:8888/lib/ace/test/tests.html
This makes debugging failing tests way more easier.
Contributing
------------
Ace wouldn't be what it is without contributions! Feel free to fork and improve/enhance Ace any way you want. If you feel that the editor or the Ace community will benefit from your changes, please open a pull request. To protect the interests of the Ace contributors and users we require contributors to sign a Contributors License Agreement (CLA) before we pull the changes into the main repository. Our CLA is the simplest of agreements, requiring that the contributions you make to an ajax.org project are only those you're allowed to make. This helps us significantly reduce future legal risk for everyone involved. It is easy, helps everyone, takes ten minutes, and only needs to be completed once. There are two versions of the agreement:
1. [The Individual CLA](https://github.com/ajaxorg/ace/raw/master/doc/Contributor_License_Agreement-v2.pdf): use this version if you're working on an ajax.org in your spare time, or can clearly claim ownership of copyright in what you'll be submitting.
2. [The Corporate CLA](https://github.com/ajaxorg/ace/raw/master/doc/Corporate_Contributor_License_Agreement-v2.pdf): have your corporate lawyer review and submit this if your company is going to be contributing to ajax.org projects
If you want to contribute to an ajax.org project please print the CLA and fill it out and sign it. Then either send it by snail mail or fax to us or send it back scanned (or as a photo) by email.
Email: fabian.jakobs@web.de
Fax: +31 (0) 206388953
Address: Ajax.org B.V.
Keizersgracht 241
1016 EA, Amsterdam
the Netherlands

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View file

@ -1,43 +0,0 @@
html {
height: 100%;
width: 100%;
overflow: hidden;
}
body {
overflow: hidden;
margin: 0;
padding: 0;
height: 100%;
width: 100%;
font-family: Arial, Helvetica, sans-serif, Tahoma, Verdana, sans-serif;
font-size: 12px;
background: rgb(14, 98, 165);
color: white;
}
#logo {
padding: 15px;
margin-left: 70px;
}
#editor {
position: absolute;
top: 0px;
left: 300px;
bottom: 0px;
right: 0px;
background: white;
}
#controls {
padding: 5px;
}
#controls td {
text-align: right;
}
#controls td + td {
text-align: left;
}

View file

@ -1,211 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Ace Kitchen Sink</title>
<meta name="author" content="Fabian Jakobs">
<link rel="stylesheet" href="demo/styles.css" type="text/css" media="screen" charset="utf-8">
<!--
Ace
version 0.2.0
commit 6d4df6c5208b7ed4b10caf48dfd3d8c806406d04
-->
</head>
<body>
<img id="logo" src="demo/logo.png">
<table id="controls">
<tr>
<td>
<label for="doc">Document</label>
</td><td>
<select id="doc" size="1">
</select>
</td>
</tr>
<tr>
<td >
<label for="mode">Mode</label>
</td><td>
<select id="mode" size="1">
</select>
</td>
</tr>
<tr>
<td>
<label for="split">Split</label>
</td><td>
<select id="split" size="1">
<option value="none">None</option>
<option value="below">Below</option>
<option value="beside">Beside</option>
</select>
</td>
</tr>
<tr>
<td >
<label for="theme">Theme</label>
</td><td>
<select id="theme" size="1">
<option value="ace/theme/clouds">Clouds</option>
<option value="ace/theme/clouds_midnight">Clouds Midnight</option>
<option value="ace/theme/cobalt">Cobalt</option>
<option value="ace/theme/crimson_editor">Crimson Editor</option>
<option value="ace/theme/dawn">Dawn</option>
<option value="ace/theme/eclipse">Eclipse</option>
<option value="ace/theme/idle_fingers">idleFingers</option>
<option value="ace/theme/kr_theme">krTheme</option>
<option value="ace/theme/merbivore">Merbivore</option>
<option value="ace/theme/merbivore_soft">Merbivore Soft</option>
<option value="ace/theme/mono_industrial">Mono Industrial</option>
<option value="ace/theme/monokai">Monokai</option>
<option value="ace/theme/pastel_on_dark">Pastel on dark</option>
<option value="ace/theme/solarized_dark">Solarized Dark</option>
<option value="ace/theme/solarized_light">Solarized Light</option>
<option value="ace/theme/textmate" selected="selected">TextMate</option>
<option value="ace/theme/twilight">Twilight</option>
<option value="ace/theme/tomorrow">Tomorrow</option>
<option value="ace/theme/tomorrow_night">Tomorrow Night</option>
<option value="ace/theme/tomorrow_night_blue">Tomorrow Night Blue</option>
<option value="ace/theme/tomorrow_night_bright">Tomorrow Night Bright</option>
<option value="ace/theme/tomorrow_night_eighties">Tomorrow Night 80s</option>
<option value="ace/theme/vibrant_ink">Vibrant Ink</option>
</select>
</td>
</tr>
<tr>
<td >
<label for="fontsize">Font Size</label>
</td><td>
<select id="fontsize" size="1">
<option value="10px">10px</option>
<option value="11px">11px</option>
<option value="12px" selected="selected">12px</option>
<option value="14px">14px</option>
<option value="16px">16px</option>
<option value="20px">20px</option>
<option value="24px">24px</option>
</select>
</td>
</tr>
<tr>
<td >
<label for="select_style">Full Line Selection</label>
</td><td>
<input type="checkbox" name="select_style" id="select_style" checked>
</td>
</tr>
<tr>
<td >
<label for="highlight_active">Highlight Active Line</label>
</td><td>
<input type="checkbox" name="highlight_active" id="highlight_active" checked>
</td>
</tr>
<tr>
<td >
<label for="show_hidden">Show Invisibles</label>
</td><td>
<input type="checkbox" name="show_hidden" id="show_hidden" checked>
</td>
</tr>
<tr>
<td >
<label for="show_hscroll">Persistent HScroll</label>
</td><td>
<input type="checkbox" name="show_hscroll" id="show_hscroll">
</td>
</tr>
<tr>
<td >
<label for="keybinding">Key Binding</label>
</td><td>
<select id="keybinding" size="1">
<option value="ace">Ace</option>
<option value="vim">Vim</option>
<option value="emacs">Emacs</option>
<option value="custom">Custom</option>
</select>
</td>
</tr>
<tr>
<td >
<label for="soft_wrap">Soft Wrap</label>
</td><td>
<select id="soft_wrap" size="1">
<option value="off">Off</option>
<option value="40">40 Chars</option>
<option value="80">80 Chars</option>
<option value="free">Free</option>
</select>
</td>
</tr>
<tr>
<td >
<label for="show_gutter">Show Gutter</label>
</td><td>
<input type="checkbox" id="show_gutter" checked>
</td>
</tr>
<tr>
<td >
<label for="show_print_margin">Show Print Margin</label>
</td><td>
<input type="checkbox" id="show_print_margin" checked>
</td>
</tr>
<tr>
<td >
<label for="soft_tab">Use Soft Tab</label>
</td><td>
<input type="checkbox" id="soft_tab" checked>
</td>
</tr>
<tr>
<td >
<label for="highlight_selected_word">Highlight selected word</label>
</td>
<td>
<input type="checkbox" id="highlight_selected_word" checked>
</td>
</tr>
<tr>
<td >
<label for="enable_behaviours">Enable Behaviours</label>
</td>
<td>
<input type="checkbox" id="enable_behaviours">
</td>
</tr>
</table>
<div id="editor">
</div>
<!--
<script type="text/javascript">
var require = {
paths: {
demo: "../demo",
ace: "../lib/ace",
cockpit: "../support/cockpit/lib/cockpit",
pilot: "../support/pilot/lib/pilot"
}
};
</script>
<script src="demo/require.js" data-main="demo/boot" type="text/javascript" charset="utf-8"></script>
-->
<script src="demo/kitchen-sink-uncompressed.js" data-ace-base="src" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
require("demo/boot");
</script>
<!--
</body>
</html>

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
define("ace/keyboard/keybinding/emacs",["require","exports","module","ace/keyboard/state_handler"],function(a,b,c){var d=a("ace/keyboard/state_handler").StateHandler,e=a("ace/keyboard/state_handler").matchCharacterOnly,f={start:[{key:"ctrl-x",then:"c-x"},{regex:["(?:command-([0-9]*))*","(down|ctrl-n)"],exec:"golinedown",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(right|ctrl-f)"],exec:"gotoright",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(up|ctrl-p)"],exec:"golineup",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{regex:["(?:command-([0-9]*))*","(left|ctrl-b)"],exec:"gotoleft",params:[{name:"times",match:1,type:"number",defaultValue:1}]},{comment:"This binding matches all printable characters except numbers as long as they are no numbers and print them n times.",regex:["(?:command-([0-9]*))","([^0-9]+)*"],match:e,exec:"inserttext",params:[{name:"times",match:1,type:"number",defaultValue:"1"},{name:"text",match:2}]},{comment:"This binding matches numbers as long as there is no meta_number in the buffer.",regex:["(command-[0-9]*)*","([0-9]+)"],match:e,disallowMatches:[1],exec:"inserttext",params:[{name:"text",match:2,type:"text"}]},{regex:["command-([0-9]*)","(command-[0-9]|[0-9])"],comment:"Stops execution if the regex /meta_[0-9]+/ matches to avoid resetting the buffer."}],"c-x":[{key:"ctrl-g",then:"start"},{key:"ctrl-s",exec:"save",then:"start"}]};b.Emacs=new d(f)}),define("ace/keyboard/state_handler",["require","exports","module"],function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(state in a)this.$buildBindingsRegex(a[state]);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp("^"+a.key+"$"):Array.isArray(a.regex)?("key"in a||(a.key=new RegExp("^"+a.regex[1]+"$")),a.regex=new RegExp(a.regex.join("")+"$")):a.regex&&(a.regex=new RegExp(a.regex+"$"))})},$composeBuffer:function(a,b,c){if(a.state==null||a.buffer==null)a.state="start",a.buffer="";var d=[];b&1&&d.push("ctrl"),b&8&&d.push("command"),b&2&&d.push("option"),b&4&&d.push("shift"),c&&d.push(c);var e=d.join("-"),f=a.buffer+e;return b!=2&&(a.buffer=f),{bufferToUse:f,symbolicName:e}},$find:function(a,b,c,e,f){var g={};return this.keymapping[a.state].some(function(h){var i;if(h.key&&!h.key.test(c))return!1;if(h.regex&&!(i=h.regex.exec(b)))return!1;if(h.match&&!h.match(b,e,f,c))return!1;if(h.disallowMatches)for(var j=0;j<h.disallowMatches.length;j++)if(!!i[h.disallowMatches[j]])return!1;if(h.exec){g.command=h.exec;if(h.params){var k;g.args={},h.params.forEach(function(a){a.match!=null&&i!=null?k=i[a.match]||a.defaultValue:k=a.defaultValue,a.type==="number"&&(k=parseInt(k)),g.args[a.name]=k})}a.buffer=""}return h.then&&(a.state=h.then,a.buffer=""),g.command==null&&(g.command="null"),d&&console.log("KeyboardStateMapper#find",h),!0}),g.command?g:(a.buffer="",!1)},handleKeyboard:function(a,b,c){if(b==0||c!=""&&c!=String.fromCharCode(0)){var e=this.$composeBuffer(a,b,c),f=e.bufferToUse,g=e.symbolicName;return e=this.$find(a,f,g,b,c),d&&console.log("KeyboardStateMapper#match",f,g,e),e}return null}},b.matchCharacterOnly=function(a,b,c,d){return b==0?!0:b==4&&c.length==1?!0:!1},b.StateHandler=e})

View file

@ -1 +0,0 @@
define("ace/keyboard/keybinding/vim",["require","exports","module","ace/keyboard/state_handler"],function(a,b,c){var d=a("ace/keyboard/state_handler").StateHandler,e=a("ace/keyboard/state_handler").matchCharacterOnly,f=function(a,b,c){return{regex:["([0-9]*)",a],exec:b,params:[{name:"times",match:1,type:"number",defaultValue:1}],then:c}},g={start:[{key:"i",then:"insertMode"},{key:"d",then:"deleteMode"},{key:"a",exec:"gotoright",then:"insertMode"},{key:"shift-i",exec:"gotolinestart",then:"insertMode"},{key:"shift-a",exec:"gotolineend",then:"insertMode"},{key:"shift-c",exec:"removetolineend",then:"insertMode"},{key:"shift-r",exec:"overwrite",then:"replaceMode"},f("(k|up)","golineup"),f("(j|down)","golinedown"),f("(l|right)","golineright"),f("(h|left)","golineleft"),{key:"shift-g",exec:"gotoend"},f("b","gotowordleft"),f("e","gotowordright"),f("x","del"),f("shift-x","backspace"),f("shift-d","removetolineend"),f("u","undo"),{comment:"Catch some keyboard input to stop it here",match:e}],insertMode:[{key:"esc",then:"start"}],replaceMode:[{key:"esc",exec:"overwrite",then:"start"}],deleteMode:[{key:"d",exec:"removeline",then:"start"}]};b.Vim=new d(g)}),define("ace/keyboard/state_handler",["require","exports","module"],function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(state in a)this.$buildBindingsRegex(a[state]);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp("^"+a.key+"$"):Array.isArray(a.regex)?("key"in a||(a.key=new RegExp("^"+a.regex[1]+"$")),a.regex=new RegExp(a.regex.join("")+"$")):a.regex&&(a.regex=new RegExp(a.regex+"$"))})},$composeBuffer:function(a,b,c){if(a.state==null||a.buffer==null)a.state="start",a.buffer="";var d=[];b&1&&d.push("ctrl"),b&8&&d.push("command"),b&2&&d.push("option"),b&4&&d.push("shift"),c&&d.push(c);var e=d.join("-"),f=a.buffer+e;return b!=2&&(a.buffer=f),{bufferToUse:f,symbolicName:e}},$find:function(a,b,c,e,f){var g={};return this.keymapping[a.state].some(function(h){var i;if(h.key&&!h.key.test(c))return!1;if(h.regex&&!(i=h.regex.exec(b)))return!1;if(h.match&&!h.match(b,e,f,c))return!1;if(h.disallowMatches)for(var j=0;j<h.disallowMatches.length;j++)if(!!i[h.disallowMatches[j]])return!1;if(h.exec){g.command=h.exec;if(h.params){var k;g.args={},h.params.forEach(function(a){a.match!=null&&i!=null?k=i[a.match]||a.defaultValue:k=a.defaultValue,a.type==="number"&&(k=parseInt(k)),g.args[a.name]=k})}a.buffer=""}return h.then&&(a.state=h.then,a.buffer=""),g.command==null&&(g.command="null"),d&&console.log("KeyboardStateMapper#find",h),!0}),g.command?g:(a.buffer="",!1)},handleKeyboard:function(a,b,c){if(b==0||c!=""&&c!=String.fromCharCode(0)){var e=this.$composeBuffer(a,b,c),f=e.bufferToUse,g=e.symbolicName;return e=this.$find(a,f,g,b,c),d&&console.log("KeyboardStateMapper#match",f,g,e),e}return null}},b.matchCharacterOnly=function(a,b,c,d){return b==0?!0:b==4&&c.length==1?!0:!1},b.StateHandler=e})

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
define("ace/mode/latex",["require","exports","module","pilot/oop","ace/mode/text","ace/tokenizer","ace/mode/latex_highlight_rules","ace/range"],function(a,b,c){var d=a("pilot/oop"),e=a("ace/mode/text").Mode,f=a("ace/tokenizer").Tokenizer,g=a("ace/mode/latex_highlight_rules").LatexHighlightRules,h=a("ace/range").Range,i=function(){this.$tokenizer=new f((new g).getRules())};d.inherits(i,e),function(){this.toggleCommentLines=function(a,b,c,d){var e=!0,f=[],g=/^(\s*)\%/;for(var i=c;i<=d;i++)if(!g.test(b.getLine(i))){e=!1;break}if(e){var j=new h(0,0,0,0);for(var i=c;i<=d;i++){var k=b.getLine(i),l=k.match(g);j.start.row=i,j.end.row=i,j.end.column=l[0].length,b.replace(j,l[1])}}else b.indentRows(c,d,"%")},this.getNextLineIndent=function(a,b,c){return this.$getIndent(b)}}.call(i.prototype),b.Mode=i}),define("ace/mode/latex_highlight_rules",["require","exports","module","pilot/oop","ace/mode/text_highlight_rules"],function(a,b,c){var d=a("pilot/oop"),e=a("ace/mode/text_highlight_rules").TextHighlightRules,f=function(){this.$rules={start:[{token:"keyword",regex:"\\\\(?:[^a-zA-Z]|[a-zA-Z]+)"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"string",regex:"\\$(?:(?:\\\\.)|(?:[^\\$\\\\]))*?\\$"},{token:"comment",regex:"%.*$"}]}};d.inherits(f,e),b.LatexHighlightRules=f})

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
define("ace/mode/python",["require","exports","module","pilot/oop","ace/mode/text","ace/tokenizer","ace/mode/python_highlight_rules","ace/mode/matching_brace_outdent","ace/range"],function(a,b,c){var d=a("pilot/oop"),e=a("ace/mode/text").Mode,f=a("ace/tokenizer").Tokenizer,g=a("ace/mode/python_highlight_rules").PythonHighlightRules,h=a("ace/mode/matching_brace_outdent").MatchingBraceOutdent,i=a("ace/range").Range,j=function(){this.$tokenizer=new f((new g).getRules())};d.inherits(j,e),function(){this.toggleCommentLines=function(a,b,c,d){var e=!0,f=[],g=/^(\s*)#/;for(var h=c;h<=d;h++)if(!g.test(b.getLine(h))){e=!1;break}if(e){var j=new i(0,0,0,0);for(var h=c;h<=d;h++){var k=b.getLine(h),l=k.match(g);j.start.row=h,j.end.row=h,j.end.column=l[0].length,b.replace(j,l[1])}}else b.indentRows(c,d,"#")},this.getNextLineIndent=function(a,b,c){var d=this.$getIndent(b),e=this.$tokenizer.getLineTokens(b,a),f=e.tokens,g=e.state;if(f.length&&f[f.length-1].type=="comment")return d;if(a=="start"){var h=b.match(/^.*[\{\(\[\:]\s*$/);h&&(d+=c)}return d};var a={pass:1,"return":1,raise:1,"break":1,"continue":1};this.checkOutdent=function(b,c,d){if(d!=="\r\n"&&d!=="\r"&&d!=="\n")return!1;var e=this.$tokenizer.getLineTokens(c.trim(),b).tokens;if(!e)return!1;do var f=e.pop();while(f&&(f.type=="comment"||f.type=="text"&&f.value.match(/^\s+$/)));return f?f.type=="keyword"&&a[f.value]:!1},this.autoOutdent=function(a,b,c){c+=1;var d=this.$getIndent(b.getLine(c)),e=b.getTabString();d.slice(-e.length)==e&&b.remove(new i(c,d.length-e.length,c,d.length))}}.call(j.prototype),b.Mode=j}),define("ace/mode/python_highlight_rules",["require","exports","module","pilot/oop","pilot/lang","ace/mode/text_highlight_rules"],function(a,b,c){var d=a("pilot/oop"),e=a("pilot/lang"),f=a("ace/mode/text_highlight_rules").TextHighlightRules,g=function(){var a=e.arrayToMap("and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield".split("|")),b=e.arrayToMap("True|False|None|NotImplemented|Ellipsis|__debug__".split("|")),c=e.arrayToMap("abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|binfile|iter|property|tuple|bool|filter|len|range|type|bytearray|float|list|raw_input|unichr|callable|format|locals|reduce|unicode|chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|__import__|complex|hash|min|set|apply|delattr|help|next|setattr|buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern".split("|")),d=e.arrayToMap("".split("|")),f="(?:r|u|ur|R|U|UR|Ur|uR)?",g="(?:(?:[1-9]\\d*)|(?:0))",h="(?:0[oO]?[0-7]+)",i="(?:0[xX][\\dA-Fa-f]+)",j="(?:0[bB][01]+)",k="(?:"+g+"|"+h+"|"+i+"|"+j+")",l="(?:[eE][+-]?\\d+)",m="(?:\\.\\d+)",n="(?:\\d+)",o="(?:(?:"+n+"?"+m+")|(?:"+n+"\\.))",p="(?:(?:"+o+"|"+n+")"+l+")",q="(?:"+p+"|"+o+")";this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"string",regex:f+'"{3}(?:[^\\\\]|\\\\.)*?"{3}'},{token:"string",merge:!0,regex:f+'"{3}.*$',next:"qqstring"},{token:"string",regex:f+'"(?:[^\\\\]|\\\\.)*?"'},{token:"string",regex:f+"'{3}(?:[^\\\\]|\\\\.)*?'{3}"},{token:"string",merge:!0,regex:f+"'{3}.*$",next:"qstring"},{token:"string",regex:f+"'(?:[^\\\\]|\\\\.)*?'"},{token:"constant.numeric",regex:"(?:"+q+"|\\d+)[jJ]\\b"},{token:"constant.numeric",regex:q},{token:"constant.numeric",regex:k+"[lL]\\b"},{token:"constant.numeric",regex:k+"\\b"},{token:function(e){return a.hasOwnProperty(e)?"keyword":b.hasOwnProperty(e)?"constant.language":d.hasOwnProperty(e)?"invalid.illegal":c.hasOwnProperty(e)?"support.function":e=="debugger"?"invalid.deprecated":"identifier"},regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"lparen.paren",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]\\)\\}]"},{token:"text",regex:"\\s+"}],qqstring:[{token:"string",regex:'(?:[^\\\\]|\\\\.)*?"{3}',next:"start"},{token:"string",merge:!0,regex:".+"}],qstring:[{token:"string",regex:"(?:[^\\\\]|\\\\.)*?'{3}",next:"start"},{token:"string",merge:!0,regex:".+"}]}};d.inherits(g,f),b.PythonHighlightRules=g}),define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(a,b,c){var d=a("ace/range").Range,e=function(){};(function(){this.checkOutdent=function(a,b){return/^\s+$/.test(a)?/^\s*\}/.test(b):!1},this.autoOutdent=function(a,b){var c=a.getLine(b),e=c.match(/^(\s*\})/);if(!e)return 0;var f=e[1].length,g=a.findMatchingBracket({row:b,column:f});if(!g||g.row==b)return 0;var h=this.$getIndent(a.getLine(g.row));a.replace(new d(b,0,b,f-1),h)},this.$getIndent=function(a){var b=a.match(/^(\s+)/);return b?b[1]:""}}).call(e.prototype),b.MatchingBraceOutdent=e})

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more