Commit Graph

73 Commits

Author SHA1 Message Date
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
537b6c3fda Fix references to editor. 2011-09-26 13:45:41 -07:00
Corey Johnson
4ed258e729 Make tab text 'unselectable' 2011-09-26 11:11:05 -07:00
Corey Johnson
226fb9e26e Moving event handling out of editor into window 2011-09-26 11:10:27 -07:00
Corey Johnson
46d68cd934 Propagate the event, but only handle it once in
the project plugin pane
2011-09-26 09:56:03 -07:00
Corey Johnson
ba4dae531c filefinder working. I'll admit, I half-assed getting this one into the new format. 2011-09-22 17:15:50 -07:00
Corey Johnson
62a5074edd tinytest! 2011-09-22 17:05:32 -07:00
Corey Johnson
60507a9509 events get loaded in constructor. 2011-09-22 16:49:03 -07:00
Corey Johnson
cae63c6d00 tabs be working 2011-09-22 16:48:06 -07:00
Corey Johnson
733302c764 Modes work again 2011-09-22 11:10:06 -07:00
Corey Johnson
290f519d76 Added 'load' method for plugins.
This is called after all the plugins have been
created.
2011-09-22 11:08:53 -07:00
Corey Johnson
67728f2b7b project plugin works again! 2011-09-21 17:41:21 -07:00
Corey Johnson
664fa5b06f bindkey takes a scope, keycap is a method 2011-09-20 15:25:36 -07:00
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