Commit Graph

60 Commits

Author SHA1 Message Date
Corey Johnson
45b1f0ef64 pane storage is super simple now. 2011-09-19 11:12:18 -07:00
Corey Johnson
64dafdfad9 A simple storage scheme. 2011-09-16 16:01:13 -07:00
Corey Johnson
cc3abee58a mergin 2011-09-16 09:31:46 -07:00
Corey Johnson
7347f4c8a4 persistence, but it's too magic 2011-09-15 16:53:18 -07:00
Corey Johnson
5a6e12234f keep these on one line? What should the rule be? 2011-09-15 16:47:55 -07:00
Corey Johnson
ac9d92de53 don't remove dirs corey 2011-09-15 16:47:55 -07:00
Corey Johnson
26901718dd keep these on one line? What should the rule be? 2011-09-15 08:57:57 -07:00
Chris Wanstrath
b55cd6e559 Command-T: File Finder™ 2011-09-15 00:42:02 -07:00
Chris Wanstrath
a001be87e4 activeWindow.project and project.paths array 2011-09-15 00:35:46 -07:00
Corey Johnson
d299a64db2 don't remove dirs corey 2011-09-14 13:14:38 -07:00
Corey Johnson
486716f48c cleaning shit up 2011-09-14 12:13:45 -07:00
Corey Johnson
34cdcdce4a on launch, reopen files. 2011-09-14 11:45:34 -07:00
Corey Johnson
0dfd813e21 get takes a default value 2011-09-14 11:42:07 -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
Corey Johnson
f599058a56 store project drawer state. this code makes me
shudder and will need a massage.
2011-09-13 15:54:46 -07:00
Corey Johnson
3843285eba opening file/dir works again.
but I don't like it. I feel like opening a file or
directory should create a new window, unless the 
file or directory you are opening is contained in
the current projects dir.
2011-09-13 11:11:07 -07:00
Corey Johnson
4f55f4d4a0 Added toggle to Pane. Makes more sense there.
Also made pane be more jquery'y
2011-09-12 17:50:17 -07:00
Corey Johnson
5ae4975e98 don't think we need this code anymore
A window's cad should be constant.
2011-09-12 13:39:50 -07:00
Chris Wanstrath
2f2ab2697f rely even less on cwd 2011-09-09 23:49:56 -07:00
Chris Wanstrath
25219b8516 fix for different projects being open in different windows 2011-09-09 23:46:41 -07:00
Chris Wanstrath
918fbe5db9 de-parens 2011-09-09 23:42:09 -07:00
Corey Johnson
9b8f1d00f0 some files do not have extensions 2011-09-09 15:24:13 -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
b4ae8c29b7 overflow on the project drawer makes it scroll 2011-09-09 11:23:48 -07:00
Chris Wanstrath
94f4c5539a tweak spacing in project drawer 2011-09-08 22:35:06 -07:00
Corey Johnson
1cc3a61172 project drawer twiddles 2011-09-08 16:29:06 -07:00
Chris Wanstrath
7a6ea1dfac keymap for tabs. ⌘-Shift-[, ⌘-Shift-], ⌘-1, ⌘-2, etc 2011-09-08 02:23:22 -07:00
Chris Wanstrath
f293966a70 Command-Ctrl-T to run Atomicity's tests. Output is in the console. 2011-09-08 01:59:17 -07:00
Chris Wanstrath
7ea2efaf06 delete the editor session when closing a tab 2011-09-08 00:41:41 -07:00
Corey Johnson
bb5a8cd70e Kind of got tab closing to work. Still need to deal with that untitled tab. 2011-09-06 11:12:18 -07:00
Chris Wanstrath
d04e4dc176 enable tabs and project pane by default 2011-09-05 23:47:35 -07:00
Chris Wanstrath
3f16a2d58b so, tabs work 2011-09-05 23:47:35 -07:00
Chris Wanstrath
bae1574424 shut up, modes.coffee 2011-09-05 23:04:58 -07:00
Chris Wanstrath
6b87c59d8d alpha order methods in tabs.coffee 2011-09-05 23:02:42 -07:00
Chris Wanstrath
c630c17ac2 remove 'add tab' tab 2011-09-05 22:40:15 -07:00
Chris Wanstrath
0b86dd54a6 lol ruby 2011-09-04 20:48:07 -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
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
befc802ea1 switch to module.exports = style in tabs.coffee 2011-09-04 00:36:51 -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
Corey Johnson
a481313826 whitespace 2011-09-02 18:05:35 -07:00
Chris Wanstrath
10b6e50b11 modes plugin 2011-08-30 01:39:21 -07:00
Chris Wanstrath
eac9aaec3b jazz up the project browser 2011-08-30 01:16:07 -07:00
Chris Wanstrath
7396c156db we can require() any files we want! non-js files come back as plaintext.
this commit also fixes reloading of html files, since require() will
look in your dev paths by way of require.paths 
2011-08-30 01:12:26 -07:00
Chris Wanstrath
be836fe462 scope project css to #project 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
Corey Johnson
6ef437167c This will open up files in the editor. Files are red (duh) 2011-08-29 20:38:29 -07:00