Nathan Sobo
8591c86733
Pass a name string to RootView.activatePackage & deactivatePackage
...
Previously we were relying on the package module itself to have a
`name` field. But now that we're using `atom.loadPackage` to load up
packages, we can infer the name of the module from the name of the
package directory.
2013-01-04 14:33:01 -07:00
Kevin Sawicki & Nathan Sobo
96aaefdd7d
Rename Project events to be past-tense
2013-01-04 13:46:27 -07:00
Kevin Sawicki & Nathan Sobo
29f371b347
Use Editor.abort to clear autocomplete's buffer changes on cancel
...
Using this new `abort` mechanism ensures that autocomplete's changes can never be redone, while eliminating the need to track operation counts explicitly.
2013-01-04 12:44:44 -07:00
Kevin Sawicki & Nathan Sobo
8098ee69f3
Rename Editor attach and remove events in accordance w/ new scheme
...
'editor-open' -> 'editor:attached'
'before-remove' -> 'editor:will-be-removed'
2013-01-04 11:25:45 -07:00
Kevin Sawicki & Nathan Sobo
8e835acea4
Rename Buffer 'will-save' event to 'will-be-saved'
2013-01-04 11:25:45 -07:00
Kevin Sawicki & Nathan Sobo
2ffc0cf13d
Rename 'active-editor-path-change' to 'root-view:active-path-changed'
2013-01-04 11:25:45 -07:00
Kevin Sawicki & Nathan Sobo
0589012e86
Rename 'editor-path-change' to 'editor:path-changed'
2013-01-04 11:25:45 -07:00
Kevin Sawicki
4a84b423e4
Use green for path color
2013-01-04 10:01:09 -08:00
Kevin Sawicki
bbe2977502
Add file octicon to path elements
2013-01-04 09:55:20 -08:00
Kevin Sawicki
bd93de5998
Use peach color for paths and increase padding
2013-01-04 09:39:36 -08:00
Kevin Sawicki
3afd87ca58
💄
2013-01-04 09:23:11 -08:00
Kevin Sawicki
6818bf3b93
Add border to command panel
2013-01-04 09:22:49 -08:00
Kevin Sawicki
ef39cc7f2d
Scroll to top when selecting first element
...
This ensures that the top path is always visible
when the first operation is selected.
2013-01-04 09:04:21 -08:00
Kevin Sawicki
a891dec093
Wrap around the preview-list when moving up/down
2013-01-04 08:59:20 -08:00
Kevin Sawicki
7427d4e4ec
Update selector to use li text
2013-01-04 08:44:00 -08:00
Kevin Sawicki
a71ab7d15d
Set path directly on li instead of nested span
2013-01-04 08:42:32 -08:00
Kevin Sawicki
40707f1eee
Make selected operation grey instead of blue
2013-01-04 08:40:18 -08:00
Kevin Sawicki
961774874c
Make paths green instead of yellow
2013-01-04 08:39:03 -08:00
Kevin Sawicki
b4a8884d31
Break words to prevent long lines
2013-01-04 08:24:46 -08:00
Kevin Sawicki
e4513f5d48
Remove unused outlets
2013-01-04 08:24:46 -08:00
Kevin Sawicki
6c9dcb8d25
Set line number column to width of max element
2013-01-04 08:24:46 -08:00
Kevin Sawicki
7685b382f6
Move bg/fg colors to root preview-list
2013-01-04 08:24:46 -08:00
Kevin Sawicki
e4bd764a96
Tweak padding, color, and border-radius of match
2013-01-04 08:24:46 -08:00
Kevin Sawicki
b6374184f5
Remove colon after line number
2013-01-04 08:24:46 -08:00
Kevin Sawicki
8adef01850
Use editor colors in command-panel
2013-01-04 08:24:46 -08:00
Kevin Sawicki
c257f91b82
Start line numbers at 1
2013-01-04 08:24:46 -08:00
Kevin Sawicki
41e2fd4db7
Add operation class to mousedown selector
2013-01-04 08:24:46 -08:00
Kevin Sawicki
2d5fed9243
Display line numbers of operations
...
Group operations by path and place path
above operations
2013-01-04 08:24:46 -08:00
Nathan Sobo
5a409dde3c
Rename File and Directory 'contents-change' to 'contents-changed'
2013-01-03 18:16:19 -07:00
Kevin Sawicki
76cda5f872
Delete suffix before prefix
...
This allows the cursor buffer position to only be
obtained once from the editor.
2013-01-03 17:00:35 -08:00
Kevin Sawicki
7b7dccbd79
Only focus editor when no confirming
2013-01-03 16:27:08 -08:00
Nathan Sobo
fdc1de6be0
Ensure snippets keymaps cascade correctly by breaking into 2 files
2013-01-03 15:20:24 -07:00
Kevin Sawicki
6442a4ba9f
Remove status icon classes before path check
2013-01-03 09:17:56 -08:00
Kevin Sawicki
2971716060
Always use Git instance from project
...
This removes the need to open a new repository
each time a directory-view or file-view is displayed
and also when a status-bar is displayed for a buffer.
2013-01-02 17:21:42 -08:00
Kevin Sawicki
7f0030ef4f
Move package CSS files to stylesheets directory
2013-01-02 16:55:55 -08:00
Kevin Sawicki & Nathan Sobo
bcde77dd0e
Load keymaps from cson
...
All existing .coffee keymaps are now .cson and package
keymaps are now located in a keymaps folder at the root of
the package.
2013-01-02 16:10:46 -08:00
Nathan Sobo
f4f3002e6d
Rename Cursor and CursorView events to passive-voice scheme
...
Any events emitted from DOM nodes should be prefixed with an identifier
for the node that emits them. This eliminates the possibility of ambiguity
when the events bubble up the DOM away from their emitter.
2013-01-02 13:48:11 -07:00
Nathan Sobo
6d9402b5c9
Rename Anchor and Buffer events to passive-voice scheme
2013-01-02 13:48:10 -07:00
Kevin Sawicki
ff7e1b961a
Ignore delete events
2013-01-02 12:25:51 -08:00
Kevin Sawicki
d155ed7bc7
Ignore noisy events that are unimportant
2013-01-02 11:59:42 -08:00
Kevin Sawicki
8a10c48ad2
Update autocomplete position when populating list
...
Previously if the list was displayed above the cursor
position and the list was filtered to decrease in size
it would be displayed several rows above the cursor as
it shrinks.
Now the position is updated each time the list is populated
so it will always use the latest height when calculating
the position in the editor to place the select list at.
2013-01-02 11:35:53 -08:00
Kevin Sawicki
6d50abb6ce
Use subscribe for window focus listener
2013-01-02 11:06:37 -08:00
Nathan Sobo
0a051ea224
Simplify directory-view's unsubscription from its model
...
We can just namespace it by the extension name since this the tree view
will only have one directory view for a given directory. There's no need
to disambiguate further.
2013-01-02 05:13:15 -07:00
Nathan Sobo
13d97fb56b
Tab 💄
2013-01-02 05:07:22 -07:00
Nathan Sobo
9c2f551edc
Ensure status-bar unsubscribes from window focus events
...
By using `@subscribe` convenience method on space pen views
2013-01-02 04:58:08 -07:00
Nathan Sobo
b3b5e63fa9
Remove unnecessary unsubscribe from buffer in autocomplete
...
It no longer subscribes to the buffer, so unsubscribe isn't needed.
2013-01-02 04:51:50 -07:00
Kevin Sawicki
f5c59d33c3
Use space pen to generate error html
2012-12-31 15:03:04 -08:00
Kevin Sawicki
488ec54a78
Place spinner inside of markdown body
2012-12-31 14:53:36 -08:00
Kevin Sawicki
183a6d8e8b
Add helper for markdown extension to fs
2012-12-31 13:49:40 -08:00
Nathan Sobo
ec542170be
Use activatePackage method instead of activateExtension for spec
2012-12-31 14:19:49 -06:00