Commit Graph

4595 Commits

Author SHA1 Message Date
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
Kevin Sawicki
3e8913f518 Be quiet 2013-01-04 08:18:52 -08:00
Kevin Sawicki
b0d38d0ac7 Sync submodules before updating 2013-01-04 08:18:52 -08:00
Kevin Sawicki
b2ec05a2f2 Remove old bundles directory from include paths 2013-01-04 08:18:52 -08:00
Kevin Sawicki
59dced23a0 Update URL of git.tmbundle
Contains fix to colorize .gitmodules files
as config files.
2013-01-04 08:18:52 -08:00
Kevin Sawicki
4078046ac6 Vendor textmate bundles as submodules 2013-01-04 08:18:52 -08:00
Nathan Sobo
73b38b6b59 Passivize names remaining events triggered by EditSession 2013-01-03 18:16:19 -07:00
Nathan Sobo
fb6fe04023 Passivize more event names: 'change(d)' & 'screen-lines-change(d)' 2013-01-03 18:16:19 -07: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
Nathan Sobo
a9bb4ea163 When loading a package, honor the 'keymaps' manifest in package.json
Also, add a spec to cover the loading of keymaps in `atom-spec` and
reset the `keymap`'s internal data after each spec gets run to prevent
test pollution with keymaps.
2013-01-03 15:17:09 -07:00
Kevin Sawicki
6442a4ba9f Remove status icon classes before path check 2013-01-03 09:17:56 -08:00
Kevin Sawicki
654554a2cd Remove unused stylesheet 2013-01-02 18: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
c765ec80a1 Load stylesheets from package stylesheets directory 2013-01-02 16:40:30 -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
Kevin Sawicki
24ef66374b Add pygments styles to markdown-preview stylesheet 2013-01-02 16:10:46 -08:00
Kevin Sawicki
f18086e36c Add wrap-guide config example to docs 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
0f59f5f58a Rename config "update" event to "updated" 2013-01-02 13:48:10 -07:00
Nathan Sobo
6d9402b5c9 Rename Anchor and Buffer events to passive-voice scheme 2013-01-02 13:48:10 -07:00
Kevin Sawicki
789f262da0 Update markdown-preview doc to be accurate 2013-01-02 12:35:03 -08: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
109770805d Use same color for tab and root-view background 2013-01-02 11:38:49 -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
Nathan Sobo
bce5104d15 Delete dead code 2013-01-02 04:23:48 -07:00
Nathan Sobo
bb710d0ae0 Buffer.save only writes to disk if the buffer is modified
This prevents autosave from writing unmodified buffers to disk, which
was causing the tree view to rebuild directory contents based on the
write event just when switching tabs.
2013-01-02 04:23:03 -07:00
Nathan Sobo
cb4d2f63ad Log errno when path watcher fails to open an fd 2013-01-02 03:44:25 -07:00
Nathan Sobo
de21db0ea8 Simplify Editor subscriptions
We no longer subscribe to `RootView` so we don't need to unsubscribe.
We can use `@subscribe` to subscribe to window, so we don't need to
genette a unique id for the editor in order to unsubscribe, because the
editor will unsubscribe automatically when removed now.
2013-01-02 03:22:16 -07:00
Nathan Sobo
f0ee7a06f7 Log a better error upon failing to open an fd in path watcher
I've been struggling with some intermittent failures, so I'm hoping the
code returned from `open` might shed some light on the issue.
2013-01-02 03:18:50 -07:00
Nathan Sobo
0851bedbe8 Forgot to delete text-mate-bundle.coffee 2013-01-01 13:28:39 -07:00
Nathan Sobo
08a27cf93d Load grammars from TextMatePackage. Delete TextMateBundle.
TextMatePackage is only designed to load resources out of a TextMate
bundle. It's used only at load time, and from that point out we only
refer to our own global `syntax` data structure to access the data that
it loads.
2012-12-31 18:28:38 -06:00
Nathan Sobo
188d8f8604 Store grammars on the syntax global 2012-12-31 18:26:58 -06:00
Nathan Sobo
4f50133fd8 💩 remove print statements 2012-12-31 17:49:39 -06:00
Nathan Sobo
7af5067152 Move Theme loading to instance methods on TextMate & Atom subclasses 2012-12-31 17:48:46 -06:00
Kevin Sawicki
ea44d270d6 Add default list style types cleared in reset.css 2012-12-31 15:08:53 -08:00