Commit Graph

47 Commits

Author SHA1 Message Date
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
Corey Johnson
1c1c065799 death to define 2011-08-29 17:05:22 -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
acde2b1961 tabs (enable with Cmd-Ctrl-T) 2011-08-28 01:40:27 -07:00
Chris Wanstrath
c0e526ca07 smart 2011-08-28 00:43:04 -07:00
Chris Wanstrath
e465d7f690 turn plugins into define() style modules 2011-08-28 00:33:35 -07:00
Corey Johnson
01d9598984 💄 2011-08-27 21:51:54 -07:00
Corey Johnson
3cbd52895b stylin' 2011-08-27 21:51:38 -07:00
Corey Johnson
90aea78c65 Moving code to a better place 2011-08-27 21:51:14 -07:00
Corey Johnson
9b7b956ccd Don't need it 2011-08-27 21:50:49 -07:00
Chris Wanstrath
9af38c8c53 plugins/ (not working yet) 2011-08-27 15:13:12 -07:00