Corey Johnson
9eee6ad9ad
Some app errors
2011-09-20 13:44:42 -07:00
Corey Johnson
e60fa30daa
Made App a fake singleton. It only has class methods and variables.
2011-09-20 11:06:34 -07:00
Corey Johnson
39080d0132
not ready yet
2011-09-16 15:35:59 -07:00
Corey Johnson
ef3fc1d278
Tab tells editor to close file. Tab is then
...
notified about closer.
This is in prep for reopening files on app
relaunch.
2011-09-13 16:44:30 -07:00
Chris Wanstrath
37c6e4f64e
since we're being opionated
2011-09-10 00:09:50 -07:00
Corey Johnson
d501e85a46
Remove trailing whitespace on save. Fixes #18 .
2011-09-09 16:36:10 -07:00
Corey Johnson
89855a6da2
showing invisibles by default.
2011-09-09 15:44:36 -07:00
Corey Johnson
bc616d05e7
Got rid of the untitled tab.
...
It still gives you an empty editor document. I'd
like to get rid of this too and maybe show a
"recently opened" window.
2011-09-09 14:19:56 -07:00
Corey Johnson
475d199052
I don't think we need this anymore? It works for
...
me with the default timeout of 1.
2011-09-09 11:50:52 -07:00
Chris Wanstrath
7ea2efaf06
delete the editor session when closing a tab
2011-09-08 00:41:41 -07:00
Chris Wanstrath
c3dc1cc3eb
detect indentation, tabs vs spaces
2011-09-08 00:37:40 -07:00
Chris Wanstrath
3b8bf900a4
add @code() and @switchToSession() to Editor
2011-09-05 23:47:33 -07:00
Chris Wanstrath
36895ec5a3
editor managers a pool of edit sessions
2011-09-05 23:47:07 -07:00
Chris Wanstrath
ad9028e803
cancel open
2011-09-04 19:29:43 -07:00
Chris Wanstrath
d45edcd5ff
addPane takes a Pane. turn project and tab plugins into Panes
2011-09-04 19:23:52 -07:00
Chris Wanstrath
45d2bdc5fd
move open, openURL, new, reload, & showConsole key commands into Window
2011-09-04 19:23:52 -07:00
Chris Wanstrath
793946faf8
panes have keymaps. good or bad?
2011-09-04 19:23:52 -07:00
Chris Wanstrath
b9689679e5
Turn editor.coffee into an Editor class which subclasses Pane
...
This isn't great but I think it's a step in the right direction.
2011-09-04 19:23:52 -07:00
Chris Wanstrath
804b67f8df
osx.coffee is dead.
...
Split Chrome into App and Window, in app.coffee and window.coffee
2011-09-04 14:17:46 -07:00
Chris Wanstrath
67419b9b4d
isDirectory
2011-09-04 00:36:51 -07:00
Chris Wanstrath
2b1e04264c
kill Process, split into fs module and system module
2011-09-04 00:36:51 -07:00
Chris Wanstrath
8b0b0e4ea3
move Dir into fs.coffee and commonjs it
2011-09-04 00:36:50 -07:00
Chris Wanstrath
884686f55f
move File module into fs.coffee. rename File.expand to File.absolute
...
absolute() is the commonjs form of expand()
2011-09-04 00:36:50 -07:00
Corey Johnson
db24c17d22
we only need the setTimeout on the first window load. must be some magic caching going on somewhere.
2011-09-02 19:38:57 -07:00
Corey Johnson
7309d86bfb
these only need a tiny bit of timeout
2011-09-02 19:28:19 -07:00
Corey Johnson
4b66101755
just adding the editor pane statically
2011-09-02 19:28:05 -07:00
Corey Johnson
5d758bf358
added a resize editor method
2011-09-02 18:01:39 -07:00
Chris Wanstrath
56245f8ecc
kill me now
2011-08-30 01:39:23 -07:00
Chris Wanstrath
10b6e50b11
modes plugin
2011-08-30 01:39:21 -07:00
Chris Wanstrath
23fc7223b3
export ace, emit 'save' and 'open' events
2011-08-30 01:14:35 -07:00
Chris Wanstrath
c1faebd044
Social coding.
2011-08-30 01:12:26 -07:00
Chris Wanstrath
918ee8e15e
Removing any parens we're not forced to use. Lean into it.
2011-08-30 01:12:24 -07:00
Chris Wanstrath
5770b38c5d
we still use open()
2011-08-29 22:49:51 -07:00
Corey Johnson
01ed2ce204
export 'open' explicitly pass in the file path to open.
2011-08-29 20:37:18 -07:00
Corey Johnson
bbae26312c
Helper for reloading everything.
...
Probably should put in my .atomicity dir but I am social coding.
2011-08-29 20:36:29 -07:00
Corey Johnson
8392019108
you can open directories
...
(we should open directories in new windows, but baby steps)
2011-08-29 17:05:07 -07:00
Corey Johnson
27759ac812
Display console with cmd-ctrl-k. how do you close the console? You can't yet.
...
http://www.opensource.apple.com/source/WebKit/WebKit-6531.9/mac/WebInspector/
2011-08-29 15:57:13 -07:00
Chris Wanstrath
01c4fd8978
gaaaaaaaaaaaaaah
2011-08-28 12:30:27 -07:00
Chris Wanstrath
868c0f08c2
hardcore require(). _ and $ are no longer global. ultimate victory.
...
CoffeeScript is still a global because it's used by require() to
open .coffee files. However, you can also load your own:
cs4 = require('my-coffee-script').CoffeeScript
🚬
2011-08-28 12:30:22 -07:00
Chris Wanstrath
e288902540
moving this hax to my personal ~/.atomicity for now
2011-08-28 01:47:58 -07:00
Chris Wanstrath
223e39a617
move ~/.atomicity loading into plugins.coffee
2011-08-28 01:47:36 -07:00
Chris Wanstrath
455ddd459e
plugins.coffee
2011-08-28 01:40:30 -07:00
Chris Wanstrath
d7ef98de4f
don't let plugin break each other
2011-08-28 01:02:05 -07:00
Chris Wanstrath
003776da8f
boom. errors with scripts and line numbers now show up in web inspector
...
https://img.skitch.com/20110828-rrfnqet2y2yrxq6witst6mrscx.png
fixes #3
atomicity modules that want to export an api must use define().
this mirrors ace's module definition style so it should fit in
fine.
$, _, and CoffeeScript are now global
scripts show up as loaded
before:
https://img.skitch.com/20110828-japr2cp4ucbr4a1kmp9degs3t.png
after:
https://img.skitch.com/20110828-txc782k47gn4rb67mhbujsgkw5.png
2011-08-28 00:26:38 -07:00