Commit Graph

265 Commits

Author SHA1 Message Date
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
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
0e8dbd0397 This was causing errors. I don't even get how this
would work.

Also, this fixed the "Yellow screen on first load"
but I was having.
2011-09-08 20:09:40 -07:00
Corey Johnson
108f0ab142 @defunkt put that in your ~/.atomicity file, it's
erring in my console!
2011-09-08 20:09:40 -07:00
Chris Wanstrath
4f1397ef3c make _.js work in strict mode 2011-09-08 18:04:33 -07:00
Chris Wanstrath
c69ac0f49a require() loads js in strict mode
Main advantage: variables won't accidentally
leak into the global scope.

$ cat gg.js
bad = true

https://img.skitch.com/20110909-kry3pm4ask5qhj5rg43yb37tci.png
2011-09-08 18:04:23 -07:00
Corey Johnson
1cc3a61172 project drawer twiddles 2011-09-08 16:29:06 -07:00
Corey Johnson
3b0c10ccf9 resource dir is where we want to be 2011-09-08 16:28:53 -07:00
Chris Wanstrath
7a6ea1dfac keymap for tabs. ⌘-Shift-[, ⌘-Shift-], ⌘-1, ⌘-2, etc 2011-09-08 02:23:22 -07:00
Chris Wanstrath
e5ccae5bd9 keymap values can be functions 2011-09-08 02:21:29 -07:00
Chris Wanstrath
1966d92c7d require.resolve tests 2011-09-08 01:59:20 -07:00
Chris Wanstrath
6ec348068c use require.paths when resolving 2011-09-08 01:59:20 -07:00
Chris Wanstrath
22abf6497c make expandPath fit in 2011-09-08 01:59:20 -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
e5a5c422a4 subtle indentation error 2011-09-08 01:00:01 -07:00
Chris Wanstrath
32f7a080ef upgrade ace and pilot to newest 2011-09-08 00:43:51 -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
10d02d966b disable ace workers 2011-09-08 00:29:07 -07:00
Corey Johnson
a9ff117e44 Ideas for keybinding syntax 2011-09-06 11:59:26 -07:00
Corey Johnson
df7a81c1ec don't override cmd-q 2011-09-06 11:59:15 -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
7fd6fafb7f move handleKeyEvent into keybinder.coffee 2011-09-06 00:10:44 -07:00
Chris Wanstrath
5c7c97f3df Merge remote-tracking branch 'origin/key-bindings'
Conflicts:
	src/startup.coffee
2011-09-06 00:09:05 -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
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
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
Corey Johnson
18df46bbde eat the key bindings we want. 2011-09-05 10:27:07 -07:00
Corey Johnson
df24e48c63 remember the jscocoa instance! 2011-09-05 10:26:51 -07:00
Corey Johnson
e79d1eb752 add the break to the switch 2011-09-05 10:26:30 -07:00
Chris Wanstrath
fdfcd0ac25 de-debug 2011-09-04 21:24:11 -07:00
Chris Wanstrath
06e0a46c1c make ace's coffee mode 1000x better
before and after:

https://img.skitch.com/20110905-najte87m4cq32unmd6eyigikcf.png

submitted upstream:

https://github.com/ajaxorg/ace/pull/411
2011-09-04 21:20:55 -07:00
Chris Wanstrath
0b86dd54a6 lol ruby 2011-09-04 20:48:07 -07:00
Chris Wanstrath
8fa91ed75d clear all key modifiers on blur 2011-09-04 20:26:26 -07:00
Chris Wanstrath
ad9028e803 cancel open 2011-09-04 19:29:43 -07:00
Chris Wanstrath
4dee3710f0 blur matters 2011-09-04 19:29:37 -07:00
Chris Wanstrath
9413af5816 those guys too 2011-09-04 19:23:53 -07:00
Chris Wanstrath
1d3b31849b use keymaster instead of ace for keybindings.
keybindings now work anywhere in the window, not just when ace has
focus!
2011-09-04 19:23:52 -07:00
Chris Wanstrath
6186c278fd tweak keymater with our own changes 2011-09-04 19:23:52 -07:00
Chris Wanstrath
3efba12e10 vendor keymaster 2011-09-04 19:23:52 -07:00
Chris Wanstrath
9d200700bc can't read file 2011-09-04 19:23:52 -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