Commit graph

5,472 commits

Author SHA1 Message Date
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
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
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
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
2327d155b4 fix autocomplete regression from 80187560 2014-05-14 16:38:50 +04: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
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
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