Commit Graph

67 Commits

Author SHA1 Message Date
Corey Johnson
4e262caee0 Let editor decide if it wants to open a file. 2011-11-07 08:53:07 -08:00
Chris Wanstrath
8e56bf8a6e browsers hide themselves 2011-11-06 23:20:31 -08:00
Chris Wanstrath
ac9a5efb94 move iframe creation into Browser 2011-11-06 23:18:23 -08:00
Chris Wanstrath
b0efbc7196 yay for weird ui loading bugs 2011-11-06 23:03:45 -08:00
Chris Wanstrath
f7aebfc3bc Browser works! (pretty hacky tho) 2011-11-06 22:53:56 -08:00
Chris Wanstrath
bb46049f47 rb-mode for Rakefile, Gemfile, .gemspec, and .ru 2011-11-06 22:10:41 -08:00
Chris Wanstrath
cba6fb844a atomController.path => window.path 2011-11-06 15:59:26 -08:00
Corey Johnson
745a05089f fixed tree bug 2011-11-04 18:31:41 -07:00
Corey Johnson
750ede4f2c handle storage on the objective-c side. 2011-11-04 17:43:15 -07:00
Corey Johnson
7e7bbe3f01 Multiple windows can be opened, and their buffer state is saved. 2011-11-03 15:48:19 -07:00
Corey Johnson
e4d79c6625 don't error when opening untitled buffer 2011-11-03 13:41:39 -07:00
Corey Johnson
fe734a1b11 it remembers what buffers a window has open 2011-11-02 16:57:34 -07:00
Corey Johnson
9a596734ff editor is more editorish 2011-11-02 15:22:52 -07:00
Corey Johnson
c67917efa3 tabs 2011-11-02 10:27:25 -07:00
Corey Johnson
9e21d8da04 Dirty and window title added back. Dirty close prompts user. 2011-11-01 16:07:20 -07:00
Corey Johnson
445e5a8ce0 Every window has a path 2011-10-28 17:12:16 -07:00
Corey Johnson
8b906e40c1 actually working 2011-10-28 10:58:16 -07:00
Corey Johnson
3c976e37f3 things got a little out of hand 2011-10-27 17:45:42 -07:00
Corey Johnson
6c56221afe Editor is now a plugin! This means everything is pretty modular now (and the code is a little event heavy) 2011-09-26 17:29:10 -07:00
Corey Johnson
226fb9e26e Moving event handling out of editor into window 2011-09-26 11:10:27 -07:00
Corey Johnson
dda91e39f2 editor will be a plugin, for now force keybinding
creation
2011-09-22 17:29:03 -07:00
Corey Johnson
012fc4826d Editor is starting to act more like a plugin.
Eventually it will be a plugin.
2011-09-21 17:37:39 -07:00
Corey Johnson
664fa5b06f bindkey takes a scope, keycap is a method 2011-09-20 15:25:36 -07:00
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