Commit Graph

51 Commits

Author SHA1 Message Date
Kevin Sawicki
f11803df60 Remove window.site shim 2013-11-20 12:48:04 -08:00
probablycorey
bf05ddb958 🔫
I screwed up a rebase, this nasty commit is the result.
2013-11-19 15:15:12 -08:00
probablycorey
aaa82e23da Rename Editor to TextEditorView 2013-11-19 14:34:20 -08:00
Kevin Sawicki
d793d114d4 Use atom.site instead of window.site 2013-11-11 08:44:26 -08:00
Nathan Sobo
62ccf92a5d Get core specs passing w/ Telepath v0.14.0. Delete replication specs.
Telepath v0.14.0 is a ground-up rewrite of the replication library,
which is principally designed to support moving document fragments
within the overall document. But it's also a lot better in a number of
ways. This commit does the minimal to get things working on the new
telepath. Standard package specs don't pass yet. Also, I deleted the
replication specs since they are extremely convoluted and will be able
to be replaced with much better versions once I complete the changes
enabled by the new Telepath.
2013-10-31 17:08:40 -06:00
Ben Ogle
a212a7c259 pane.split() doesn't implicitly copy the active item. 2013-10-30 11:25:30 -07:00
probablycorey
d07bf338c8 Consolidate pane item destruction 2013-10-29 15:55:07 -07:00
Corey Johnson
0c77712a77 Merge pull request #1041 from atom/cj-move-autosave-to-package
Move autosave to package
2013-10-29 13:27:50 -07:00
Ben Ogle
a00db81765 Only call itemAdded when there is a container
Sometimes in the tests, rootView.open is called. Sometimes by the time 
the promise is fired and callback to add the pane is called, the 
rootView and container no longer exists. See the find-and-replace tests 
that create a ResultsPaneView.
2013-10-29 12:44:11 -07:00
probablycorey
e7e28b568b Purge autosave from Atom source 2013-10-28 17:27:44 -07:00
probablycorey
b1f5d1e276 Emit pane:before-item-destroyed event 2013-10-28 15:40:28 -07:00
Kevin Sawicki
08e5c42f0c Explicitly make pane active
Previously it relied on focus firing an event which will not occur
when not on the DOM.
2013-10-16 13:35:12 -07:00
Kevin Sawicki
5883dd4f16 Add tab index to pane
This is required in jquery 2.0 in order for the
focus event to be received.
2013-10-16 13:35:11 -07:00
Kevin Sawicki
d0f6e83726 Reference correct attached variable 2013-10-16 13:34:41 -07:00
Kevin Sawicki
9d51d1a143 Use jquery provided by space-pen 2013-10-16 13:34:41 -07:00
Kevin Sawicki
216a5e61fd Update underscore-extensions requires 2013-10-15 13:50:16 -07:00
Ben Ogle
1120a14351 Fix removal of editors 2013-10-10 17:03:29 -07:00
Ben Ogle
192df9c496 Make each tab have its own editor.
Remove the viewsByClassName from the pane. Pane specs are broken.
2013-10-10 17:03:29 -07:00
Kevin Sawicki
a433f5eb61 Use current window by default in atom.confirmSync
Closes atom/tree-view#7
2013-09-27 12:10:36 -07:00
Kevin Sawicki
27573fe619 Use relative require paths 2013-09-20 10:02:23 -07:00
Kevin Sawicki
41fc4f7fe6 Use relative require paths in src/ files 2013-09-20 10:02:20 -07:00
Corey Johnson
0b73020a35 Use pane events to trigger pane-container:active-pane-item-changed 2013-09-03 14:48:42 -07:00
Corey Johnson
915159d7a0 Fix pane:became-inactive and pane:became-active events 2013-09-03 14:48:42 -07:00
Corey Johnson
7fd0d934ef Add pane-container:active-item-changed event 2013-09-03 14:48:42 -07:00
Corey Johnson
44de8fe2d3 Add getActivePaneItem method to Pane and PaneAxis 2013-09-03 14:48:42 -07:00
Kevin Sawicki & Nathan Sobo
e28ef3a76c 🚱 Call off on active item when it is removed 2013-08-27 13:00:41 -07:00
Matt Colyer
7c55348fde Fix incorrect biscotto references 2013-08-27 10:17:01 -07:00
Matt Colyer
f239cdf307 Add comments to pane.coffee 2013-08-27 10:17:01 -07:00
Kevin Sawicki
419be22b7b Use Subscriber::subscribe for telepath change listeners 2013-08-26 13:04:13 -07:00
Kevin Sawicki
76332c76bd Flatten src directory
* Move src/app to src/
  * Move src/stdlib to src/
  * Remove src/app and src/stdlib from NODE_PATH
2013-08-19 20:13:57 -07:00
Chris Wanstrath
9dea4c24b2 atom and stdlib 2011-11-09 18:33:43 -08:00
Corey Johnson
7ab473b0ce Browser and Editor are panes. I hate the pane HTML code now. 2011-11-07 14:51:21 -08:00
Corey Johnson
c67917efa3 tabs 2011-11-02 10:27:25 -07:00
Corey Johnson
3c976e37f3 things got a little out of hand 2011-10-27 17:45:42 -07:00
Corey Johnson
e64a0e64a1 wip 2011-10-26 11:10:52 -07:00
Corey Johnson
9bb92a4dd5 The main pane always exists so it is independent of plugin load order. 2011-09-26 17:29:10 -07:00
Corey Johnson
da64efc06c this isn't working 2011-09-26 13:45:21 -07:00
Corey Johnson
5c54dd77c9 pane adds itself. 2011-09-23 16:41:41 -07:00
Corey Johnson
620538a6b5 Plugin does a lot of things we thought Pane would. 2011-09-21 17:38:14 -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
7347f4c8a4 persistence, but it's too magic 2011-09-15 16:53:18 -07:00
Corey Johnson
26901718dd keep these on one line? What should the rule be? 2011-09-15 08:57:57 -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
Chris Wanstrath
e5ccae5bd9 keymap values can be functions 2011-09-08 02:21:29 -07:00
Chris Wanstrath
e5a5c422a4 subtle indentation error 2011-09-08 01:00:01 -07:00
Chris Wanstrath
9413af5816 those guys too 2011-09-04 19:23:53 -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