Fabian Jakobs
87bfb14552
fix delta events
2011-01-14 18:27:38 +01:00
Fabian Jakobs
7ccd377f13
Add changeDelta event on the document
...
Conflicts:
lib/ace/document.js
2011-01-14 16:23:31 +01:00
Fabian Jakobs
18adea4251
Merge remote branch 'jviereck/keymapping'
...
Conflicts:
.gitignore
.gitmodules
LICENSE
demo/boot.js
demo/startup.js
lib/ace/editor.js
support/cockpit
2011-01-14 15:21:38 +01:00
Kevin Dangoor
71d98abe1e
add a getValue to match setValue (it's just a synonym for toString)
2011-01-12 15:54:39 -05:00
Fabian Jakobs
ed9b0d4f0a
the document's lines array is no longer public
2011-01-12 15:32:53 +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
Fabian Jakobs
f89ed9a319
fix gh issue #30
...
https://github.com/ajaxorg/ace/issues/#issue/30
2011-01-10 23:26:29 +01:00
Fabian Jakobs
3c4157a09a
fix typo
2011-01-10 08:35:30 +01:00
Fabian Jakobs
ece288b0c7
add multi row document operations n preparation for
...
rectangular selections
2010-12-21 16:34:52 +01: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
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
a0d4f85b9e
use ES5 Array.isArray instead of lang.isArray
2010-12-15 11:41:59 +01:00
Fabian Jakobs
c5f63c7112
put functions from old "ace/lib" modules directly
...
on "exports"
2010-12-15 11:04:14 +01:00
Fabian Jakobs
f07745839c
fix all tests to run with node.js
2010-12-14 15:09:24 +01:00
Fabian Jakobs
6ad890e71e
fix moving lines up
2010-12-14 14:17:52 +01:00
Fabian Jakobs
cbb6215145
rename all language mode classes to 'Mode'.
2010-12-10 18:07:06 +01:00
Fabian Jakobs
f7c217d7a4
Merge remote branch 'remotes/mozilla/master'
...
Conflicts:
demo/editor-build.html
demo/editor.html
2010-12-10 16:54:14 +01:00
Eddy Bruel
6f1f1b1101
Fixed an error with empty documents.
2010-12-10 11:35:03 +01:00
Eddy Bruel
215cfbf4bf
Fixed a bug in single line tabbing that caused
...
the tab length not being taken into account.
Added DOM emulation to the unit tests so that they
can be run from node.
Extended the Mockrenderer for the unit tests.
Made the majority of the unit tests work again
(barring those for moveLinesUp, see below).
Fixed a bug in moveLinesUp that caused an empty
line to be inserted. However, this fix causes the
editor to break (need to look at this).
2010-12-02 11:15:21 +00:00
Eddy Bruel
d30340a809
Fixed a bug in single line tabbing that caused
...
the tab length not being taken into account.
Added DOM emulation to the unit tests so that they
can be run from node.
Extended the Mockrenderer for the unit tests.
Made the majority of the unit tests work again
(barring those for moveLinesUp, see below).
Fixed a bug in moveLinesUp that caused an empty
line to be inserted. However, this fix causes the
editor to break (need to look at this).
2010-11-24 13:27:38 +01:00
Joe Walker
10843ba7e6
remove $ function and property from EventEmitter
2010-11-23 15:52:44 +00:00
Joe Walker
7974ef5a71
s/MEventEmitter/EventEmitter/g
2010-11-23 15:49:02 +00:00
Joe Walker
bd2a2bff98
move event_emitter into pilot
2010-11-23 15:46:59 +00:00
Joe Walker
be9b8a0f3f
move oop.js into pilot
2010-11-23 14:36:12 +00:00
Joe Walker
5f3beef482
move lang.js into pilot
2010-11-23 14:35:01 +00:00
Joe Walker
d074c6b279
basic conversion to new command structure
2010-11-19 12:17:54 +00:00
Joe Walker
16579a9633
convert Search, Selection and TextInput to exports style
2010-11-17 13:50:56 +00:00
Joe Walker
d38f91d31c
convert Range to exports style
2010-11-17 13:06:25 +00:00
Joe Walker
1e1374fef0
convert Document to exports style
2010-11-17 12:56:20 +00:00
Joe Walker
7f0930ea51
convert the remaining modes to exports style
2010-11-17 12:16:51 +00:00
Joe Walker
4ab7c653cc
converting modules to use exports style rather than return style
2010-11-15 13:50:13 +00:00
Joe Walker
b91f4d0941
adjusting paths to use ace/ rather than ./
2010-11-15 12:45:07 +00:00
Fabian Jakobs
fde5198af0
use relative module IDs
2010-11-09 09:34:31 +01:00
Fabian Jakobs
89181da423
fix some refactoring bugs
2010-11-09 09:24:24 +01:00
Fabian Jakobs
2c0368ff6c
rename part #2
2010-11-09 08:50:08 +01:00