Commit graph

544 commits

Author SHA1 Message Date
Joe Walker
596fc88708 significant work to push tab completion down from cli-view into requisition 2010-12-15 18:58:47 +00:00
Joe Walker
5faea6a934 fix various styling issues 2010-12-15 18:58:47 +00:00
Joe Walker
ce8f86e587 fix help command 2010-12-15 18:58:46 +00:00
Joe Walker
ad3d075bb9 fix failure to merge args for single text param 2010-12-15 18:58:46 +00:00
Joe Walker
71e069dec1 rename plain to cliView, have max height on console output and fix scroll to bottom 2010-12-15 18:58:46 +00:00
Joe Walker
9e2e7336bd making command documentation more compact and tweaking how hints work 2010-12-15 18:58:46 +00:00
Joe Walker
fc00e42b3e adding commands from skywriter 2010-12-15 18:58:46 +00:00
Joe Walker
15fddc071c separation of rows and cli, more refactoring for new world, copying images from skywriter 2010-12-15 18:58:46 +00:00
Joe Walker
b4411583dd fixed action of TAB, and made RETURN be more useful than to cause failures. Refactor plain.js and add mouse click updates 2010-12-15 18:58:46 +00:00
Joe Walker
9cff2e0908 lots of work fixing bugs with the command line, also removal of useless console.log 2010-12-15 18:58:46 +00:00
Joe Walker
1e65d71bde make the command line ui process hints at least to a basic extent 2010-12-15 18:58:46 +00:00
Kevin Dangoor
b75e43962a add register hook to register global things (settings, commands, types)
from plugins. startup hook is used for starting an individual instance.
2010-12-14 11:16:53 -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
Joe Walker
8dc758dcc1 ton of work porting input.js from old bespin 2010-11-26 16:12:10 +00:00
Joe Walker
3fd894954b minor tidy-up 2010-11-26 16:11:40 +00:00
Joe Walker
022f3b240d make fromString return a conversion object. rather than the converted value 2010-11-26 12:04:34 +00:00
Joe Walker
ab25eee135 Add greatly simplified Requisition and Assignment from old bespin 2010-11-26 12:04:27 +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
7b2bee9d49 remove command support from the plugin manager, and tidy up 2010-11-24 15:56:53 +00: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