Commit graph

568 commits

Author SHA1 Message Date
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
5383a297c2 comment out console.log statements as the log
module is not yet loaded at these points
2010-12-15 14:14:41 +01:00
Fabian Jakobs
7bb4950a1c fix lib functions 2010-12-15 14:14:15 +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
65407f8ef8 fix css and move scripts to the bottom to improve
load time and to avoid having to wait for 
document.onload
2010-12-15 14:12:04 +01:00
Fabian Jakobs
46552265e5 fix url to the demo page 2010-12-15 12:37:47 +01:00
Fabian Jakobs
caec77b63f remove function, which uses getters and setters 2010-12-15 12:36:13 +01:00
Fabian Jakobs
32058c5206 fix syntax error 2010-12-15 12:35:36 +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
19eecaaefc replace lang.arrayIndexOf with ES5 indexOf() 2010-12-15 11:59:05 +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
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