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
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
5e0695b588
pass in the env to canon.execute to allow multiple editors
2010-12-14 11:36:21 +01:00
Fabian Jakobs
cbb6215145
rename all language mode classes to 'Mode'.
2010-12-10 18:07:06 +01:00
Fabian Jakobs
5224b0cf97
add python file to the demo
2010-12-10 17:26:14 +01:00
Fabian Jakobs
a4fcd3fd89
convert python mode to exports style and add it to the demo
2010-12-10 17:11:43 +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
Fabian Jakobs
5a0c5c053a
fix sneaked in code
2010-12-10 15:18:40 +01:00
Eddy Bruel
a3cb7b3f84
Merge branch 'master' of github.com:ajaxorg/ace
2010-12-10 11:35:13 +01:00
Eddy Bruel
6f1f1b1101
Fixed an error with empty documents.
2010-12-10 11:35:03 +01:00
Aaron
deb757ae3f
Fixed issue with rendering of initially empty documents
2010-12-09 21:45:40 +08:00
Fabian Jakobs
14593ac154
use lower case file names step #2
2010-12-09 10:37:13 +01:00
Fabian Jakobs
d566212191
use lower case file names step #1
2010-12-09 10:36:43 +01:00
Colin Gourlay
921bbe8949
Added Python syntax support
2010-12-09 17:26:28 +08:00
Joe Walker
1e01007990
Merge branch 'master' of https://github.com/ajaxorg/ace
...
Conflicts:
lib/ace/scrollbar.js
lib/ace/virtual_renderer.js
2010-12-03 16:31:37 +00:00
Eddy Bruel
f222d0e649
Fixed some minor issues and removed some spurious
...
comments
2010-12-02 16:23:32 +01:00
Eddy Bruel
6d73a44c9a
Fixed the 'my editor is hungry and eats my lines'
...
issue.
2010-12-02 15:37:17 +01:00
Joe Walker
864eb77d4d
Merge remote branch 'origin/master'
...
Conflicts:
lib/ace/editor.js
lib/ace/test/change_document_test.js
lib/ace/test/event_emitter_test.js
lib/ace/test/text_edit_test.js
lib/ace/test/virtual_renderer_test.js
2010-12-02 11:21:09 +00:00
wittemann
b9982435f7
Fixed win key bindings.
2010-12-02 11:15:31 +00: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
Fabian Jakobs
abb53c3faa
fix editor rendering bugs
2010-12-02 11:05:15 +00:00
Fabian Jakobs
014e5c39f5
fix render update when scrolling and text changes happen at the same time
2010-12-02 11:02:19 +00:00
Fabian Jakobs
ea0b9e3c92
fix default theme
2010-12-02 11:02:19 +00:00
Joe Walker
8f0d0a555f
merge
2010-11-26 17:09:26 +00:00
wittemann
8d3e6e7449
Fixed win key bindings.
2010-11-25 20:56:46 +08:00
Fabian Jakobs
bd9b05ba00
Merge branch 'master' of http://github.com/ajaxorg/ace
2010-11-25 13:11:54 +01:00
Fabian Jakobs
7c42e9517a
fix editor rendering bugs
2010-11-25 12:11:38 +01:00
Fabian Jakobs
5b465da4e3
fix render update when scrolling and text changes happen at the same time
2010-11-25 10:11:50 +01:00
Joe Walker
a2cca9118e
make keybindings use the canon
2010-11-24 15:56:52 +00:00
Joe Walker
efa5909c76
morph ace commands to more closely resemble skywriter commands
2010-11-24 15:56:52 +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