Commit graph

5,835 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
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