Commit graph

151 commits

Author SHA1 Message Date
Fabian Jakobs
ecf7ef04c8 allow all characters a regexp flags 2011-01-12 11:56:28 +01:00
Fabian Jakobs
ed2300a72c revert stupid fix 2011-01-12 11:53:31 +01:00
Fabian Jakobs
dd45dfd661 Merge branch 'master' of github.com:ajaxorg/ace 2011-01-12 10:39:33 +01:00
Fabian Jakobs
0b3e7262bf remove unused argument 2011-01-12 10:12:32 +01:00
Julian Viereck
45f27b3fae Don't perform a replace operation in Document.replace if there is nothing to replace. Increases performance in wrapMode if inserting many lines 2011-01-11 20:05:07 +08:00
Julian Viereck
6db9e31ab6 Use e.clipboardData.getData to get the pasted data if available. Increases speed if pasting a lot of lines 2011-01-11 20:03:43 +08:00
Fabian Jakobs
f89ed9a319 fix gh issue #30
https://github.com/ajaxorg/ace/issues/#issue/30
2011-01-10 23:26:29 +01:00
nightwing
21d2d83af1 allow layers to be sized automatically 2011-01-10 15:21:07 +01:00
Fabian Jakobs
a8ba592fd2 fix typo 2011-01-10 13:29:42 +01:00
Fabian Jakobs
59133faa2c make rhino happy 2011-01-10 13:22:01 +01:00
nightwing
a4e6e77106 marker.type=="text" should be one character longer to account for endofline character 2011-01-10 11:21:34 +01:00
Fabian Jakobs
1c432b976c fix toggle show invisibles and add it to the demo 2011-01-10 11:18:57 +01:00
nightwing
9ddc3dbc3b don't scroll on selectAll 2011-01-10 10:30:33 +01:00
Fabian Jakobs
4ca58558f1 move setInnerHtml to pilot/dom 2011-01-10 10:29:22 +01:00
nightwing
cf5b3eadcf delete node and set innerhtml on new node 2011-01-10 09:45:40 +01:00
Fabian Jakobs
b6498028e5 fix typo 2011-01-10 08:38:26 +01:00
Fabian Jakobs
3c4157a09a fix typo 2011-01-10 08:35:30 +01:00
Fabian Jakobs
c73e2c1c8d can't use true as property name with "." 2011-01-03 18:25:01 +01:00
Fabian Jakobs
4a1a77b05b fix default commands: read selection from the editor 2011-01-03 09:52:20 +01:00
Fabian Jakobs
ece288b0c7 add multi row document operations n preparation for
rectangular selections
2010-12-21 16:34:52 +01:00
André Fiedler
c01b99180a doc comment mode: added TODO 2010-12-20 03:52:09 +08:00
André Fiedler
b777e08e1a php mode: added highlighting for STD*** constants 2010-12-20 03:52:08 +08:00
André Fiedler
a2dc7c8456 php mode: nicer regexp 2010-12-20 03:52:08 +08:00
Fabian Jakobs
b6bd3fb726 backspace should eat 4 spaces when the cursor is positioned after a tab
(also for navigation and selection)
2010-12-18 16:24:48 +01:00
Fabian Jakobs
16b12da3e3 make test definitions async 2010-12-18 15:45:23 +01:00
SunboX
44907e90f4 Merge branch 'master' of https://github.com/ajaxorg/ace 2010-12-16 21:59:47 +01:00
SunboX
8db8b9b828 some smoother colors 2010-12-16 21:35:56 +01:00
SunboX
d4d47c9ddd one more bug fix :/ 2010-12-16 21:22:21 +01:00
SunboX
193c9cfd8b small fix & changed contributor ;o) 2010-12-16 21:18:23 +01:00
SunboX
f6cae22c2c new color theme: Pastel on dark 2010-12-16 21:02:23 +01:00
SunboX
832e4402d6 added php syntax highlighting 2010-12-16 20:36:47 +01:00
Fabian Jakobs
ad19a8f98e consolidate user agent sniffing from util.js and
core.js into a new module useragent.js
2010-12-16 18:50:26 +01:00
Fabian Jakobs
80a11082b1 auto indent fix 2010-12-16 15:06:40 +01:00
Fabian Jakobs
78af5b6bae some CSS highlighting fixes 2010-12-16 11:50:34 +01:00
Fabian Jakobs
4b5c5f324f fix boolean highlighting 2010-12-16 11:45:21 +01:00
Fabian Jakobs
97c24a7769 all tests are working now 2010-12-16 10:56:33 +01:00
Fabian Jakobs
bf71127511 remove references to window (not supported by node) 2010-12-15 20:01:26 +01:00
Fabian Jakobs
36595bd9d6 convert missing unit tests 2010-12-15 20:01:09 +01:00
Fabian Jakobs
123da20bd5 no capture groups in tokenizer regexps 2010-12-15 20:00:46 +01:00
Fabian Jakobs
ba7168156b fix move lines up + unit test 2010-12-15 19:28:30 +01:00
Fabian Jakobs
79872cac5d collapse line selection for outdented rows 2010-12-15 19:17:45 +01:00
Fabian Jakobs
aa594119b7 toggleCommentLines and indentRows now take row
numbers instead of ranges as arguments
2010-12-15 19:16:44 +01:00
Fabian Jakobs
bfa4748b1b add collapse lines in range 2010-12-15 18:40:46 +01:00
Fabian Jakobs
062c396432 IE rendering fix 2010-12-15 17:34:24 +01:00
Fabian Jakobs
e97f9dbbb7 removed redundant "undefined" 2010-12-15 16:19:09 +01:00
Fabian Jakobs
633293ee5e fix character size measurement 2010-12-15 15:41:08 +01:00
Fabian Jakobs
a2d271677f some Opera key handling fixes (not perfect yet) 2010-12-15 15:40:53 +01:00
Fabian Jakobs
634e9ac890 optimize text size measurement code and fix ugly
off by one error
2010-12-15 14:13:44 +01:00
Fabian Jakobs
9fad3c4eb8 we need more precision when measuring the character width
fixes https://github.com/ajaxorg/editor/issues/issue/8
2010-12-15 12:35:17 +01:00
Fabian Jakobs
69095379c3 use ES5 bind() instead of lang.bind() 2010-12-15 11:43:02 +01:00