Fabian Jakobs
523bbba377
remove defineProperty shim
2010-12-15 11:10:31 +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
d6ccdce008
minor fix
2010-12-14 14:18:09 +01:00
Fabian Jakobs
6ad890e71e
fix moving lines up
2010-12-14 14:17:52 +01:00
Eddy Bruel
d46de9b118
Merge branch 'master' of github.com:ajaxorg/ace
2010-12-14 11:48:08 +01:00
Eddy Bruel
8b15b3c0a7
Added paths.js and requireJS-node.js
2010-12-14 11:47: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
46ac14ab62
make sure the browser fix is always loaded
2010-12-13 10:40:48 +01:00
Fabian Jakobs
f370a6f7fa
remove lib directory from plugins otherwise the
...
modules cannot be loaded with nodejs
2010-12-13 10:40:40 +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
7d74739262
update build
2010-12-09 11:00:07 +01:00
Fabian Jakobs
2f36e65d43
update editor demo to add python mode
2010-12-09 10:59:57 +01: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
38c9fc7a93
a big lump of work to get the command line able to execute commands, and to hack in a trivial cli
2010-12-08 13:13:33 +00: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
Joe Walker
0c0357c177
convert settings API to have Setting class with get() and set() methods. Also several tidy-ups
2010-12-03 15:38:51 +00:00
Joe Walker
0930c37675
Rename Input to Cli. Extract CliUi as an interface. Add knowledge of cursor positioning to convert INCOMPLETE hints to INVALID if the cursor isnt in that hint. Many tidyups and tweaks as we create a test suite
2010-12-03 15:38:35 +00:00
Joe Walker
2c4bfd4310
Lots of work to flesh out the cli test suite
2010-12-03 15:38:14 +00:00
Joe Walker
3dbb9d4c65
Have Status use string constants in place of numbers for easy debugging for now
2010-12-03 15:38:13 +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
f8af72dd07
fix hints, now all cli tests pass
2010-12-02 12:43:11 +00:00
Joe Walker
59794db155
convert Assignment from using plain text to using an Argument
2010-12-02 12:22:50 +00: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
Joe Walker
5ba1d3f75e
Move types from commands/settings.js into types/settings.js
2010-12-02 11:15:31 +00:00
Joe Walker
d0fc416e01
addition of a new commandType that we use to generate completion hints
2010-12-02 11:15:31 +00:00
Joe Walker
c3d74828dc
new arrayRemove method
2010-12-02 11:15:31 +00:00
Joe Walker
e544ad30fc
rename Type methods: s/toString/stringify and s/fromString/parse to avoid clash with built in meaning for toString. Also add lots of documentation, a new DeferredType, and lots more checks to how types are created
2010-12-02 11:15:31 +00:00
Joe Walker
84a174f9d7
make sure new settings and commands are registered properly
2010-12-02 11:15:31 +00:00
Joe Walker
b44e8c83b6
minor tweaks
2010-12-02 11:15:31 +00:00
Joe Walker
f256175f71
A ton of fixes from the creation of unit tests. Addition of ConversionHint and Argument and classes from canon. Also Input is a lot flatter than it was (easier testing)
2010-12-02 11:15:31 +00:00
Joe Walker
e5b1a59c5e
make addCommand convert parameters types to Types, make exec work on commands as well as command names, and thus remove execRequisition. Move Requisition and Assignment into canon, and lots of tidyup
2010-12-02 11:15:31 +00:00
Joe Walker
e63a3fb496
lots of new unit tests
2010-12-02 11:15:31 +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
feisty
ab01692314
fixing typo
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