Commit graph

5,517 commits

Author SHA1 Message Date
nightwing
6d2fbb3ed5 fix cursor on lines with tab 2014-06-12 01:53:31 +04:00
Brion Vibber
bcba9bea6e Support variable-width text
Updated from 2011 patch by fjakobs:
36ebe6c496

* removes old double-width CJK handling
* replaces monospace assumptions with measurements of actual text
* appears to work for Latin, CJK, Thai, Malayalam in ad-hoc testing
* does NOT fully handle RTL text issues (Hebrew, Arabic)

Conflicts:
	demo/kitchen-sink/doclist.js
	lib/ace/edit_session.js
	lib/ace/layer/text.js
	lib/ace/virtual_renderer.js
2014-06-12 01:42:58 +04: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
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
Adam Jimenez
07fb7738db Highlight matching HTML tag
fixes #1308
2014-06-05 19:56:46 +01:00
Adam Jimenez
617cd3202a fix "{$this->foo->bar('foobar')}" 2014-06-04 10:39:50 +01: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
nightwing
a7cac9466d add vala mode 2014-06-01 22:54:30 +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
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
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
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