Commit Graph

672 Commits

Author SHA1 Message Date
Nathan Sobo
1d0cd16cd1 💄 2013-03-07 09:30:24 -08:00
Nathan Sobo
465bb14659 Reflect pane item order in tab bar 2013-03-07 09:30:24 -08:00
Nathan Sobo
3456b2db3c Tabs try to use an item's longTitle if two tab titles are the same
This will replace edit-session-specific functionality that displayed
the file's parent directory when two files with the same name were
open.
2013-03-07 09:30:24 -08:00
Nathan Sobo
0c24843e52 Start converting tabs package to work with new panes / pane-items 2013-03-07 09:30:23 -08:00
Nathan Sobo
dd120663b7 Pane emits 'pane:item-added' events 2013-03-07 09:30:23 -08:00
Nathan Sobo
3382a542b3 Get CommandPalette specs to pass without getActiveEditor 2013-03-07 09:30:23 -08:00
Nathan Sobo
1902a0c553 Get CommandPanel specs passing without getActiveEditor/EditSession 2013-03-07 09:30:23 -08:00
Kevin Sawicki
8660670ae3 Replace RootView.getActiveEditor() with getActiveView() 2013-03-07 09:30:23 -08:00
Kevin Sawicki
ff899e9c1b Replace RootView.getActiveEditor() with getActiveView() 2013-03-07 09:30:23 -08:00
Nathan Sobo
beaeac4425 Rename buildEditSessionForPath to buildEditSession
Since this is the more external method, having a shorter name
is more convenient. The former `buildEditSession` method took a
Buffer, and is now called `buildEditSessionForBuffer`.
2013-03-07 09:28:51 -08:00
probablycorey
17fc679b25 Trigger resize event on editor before wrap guide specs 2013-03-05 09:43:38 -08:00
Corey Johnson & Kevin Sawicki
8c1ec19797 Always destroy misspelling markers 2013-03-05 09:24:41 -08:00
Kevin Sawicki
a1570a77e0 Add back saved event handler 2013-03-04 21:43:35 -08:00
Kevin Sawicki
e3ebda7d30 Show commits ahead/behind upstream in status bar 2013-03-04 21:43:34 -08:00
Kevin Sawicki
7838f3741f Update status finder keybinding to meta-B 2013-03-04 21:43:33 -08:00
Kevin Sawicki
4c773439d2 Bind meta-T to display modified/untracked files 2013-03-04 21:43:33 -08:00
Kevin Sawicki
77bc42bd45 Put status indicator on right side of fuzzy finder
Closes #313
2013-03-04 21:43:33 -08:00
Kevin Sawicki
3852b7212b Remove git-status-changed event from Buffer
This is now fired as a status-changed event from
the Git class when the checkout completes normally
and the status of the path changes.
2013-03-04 21:43:33 -08:00
Kevin Sawicki
77a5f4775a Show Git status indicators on directories
Closes #301
2013-03-04 21:43:33 -08:00
Kevin Sawicki
587a6552ea Use subscribe instead of on 2013-03-04 21:43:33 -08:00
Kevin Sawicki
4fe6db240b Consolidate Git status checking
Now the status bar and tree view both listen for
status change events and use the cached information
available from the git object to update their views.
2013-03-04 21:43:33 -08:00
Kevin Sawicki
2ec4d558ba Make project's Git repository a window global
This allows it to operate independently of the
project and mirror the availability of the root view
and project.
2013-03-04 21:43:33 -08:00
Kevin Sawicki
910be149ab Show status icons in fuzzy finder 2013-03-04 21:43:33 -08:00
Kevin Sawicki
50bc1aac74 Add task to refresh status of repository
By default this will occur when the window gains
focus and the Git class can now be subscribed to
so listeners can become notified when the status
of a repository changes.
2013-03-04 21:43:32 -08:00
probablycorey
30d4cb81b8 Use Courier as the default font for specs
Fixes #323
2013-03-04 16:40:02 -08:00
Adam Roben
6511d0e111 Replace ## in package-generator templates with __
This is a workaround for
<http://code.google.com/p/gyp/issues/detail?id=323>.

A future change will cause gyp to generate Makefiles to compile
.coffee/.cson files to .js/.json. Makefiles use # as the comment
character, and gyp isn't smart enough to escape the #. So now we don't
use # in filenames to work around this bug.
2013-03-04 11:21:29 -05:00
Kevin Sawicki
58bd83a225 Always unsubscribe when changing buffers
Previously subscribeToBuffer() returned early
in certain cases without first unsubscribing to
the current buffer.
2013-03-01 10:54:52 -08:00
Kevin Sawicki
14bd7741d1 Change octicon based on creating file or folder 2013-02-28 16:04:18 -08:00
Kevin Sawicki
e36a3c18fb Remove .coffee extension from package main 2013-02-28 15:15:09 -08:00
Kevin Sawicki
35ca8a42a1 Display error when symbol's file does not exist 2013-02-28 15:06:48 -08:00
Kevin Sawicki
56d92fe029 Hide/show loading message instead of toggling 2013-02-28 11:25:02 -08:00
Kevin Sawicki
23c3b18cf4 Add [] as word boundaries
This is a common boundary used in markdown link text
2013-02-27 11:08:35 -08:00
Kevin Sawicki
a4efc32d45 Display corrections for misspelling on meta-0
A select list will now display with possible corrections
and the misspelling will be replaced when one is selected.
2013-02-27 10:08:02 -08:00
Kevin Sawicki
b5c9e634fd Add addViews method to mirror destroyViews 2013-02-27 08:42:01 -08:00
Kevin Sawicki
1f4df2878f Add spec for disabling spell check of a grammar 2013-02-27 08:39:51 -08:00
Kevin Sawicki
2f8b8c4fc7 💄 2013-02-27 08:33:06 -08:00
Kevin Sawicki
0398e160ae Include apostrophe in word regex 2013-02-26 19:15:18 -08:00
Kevin Sawicki
65cb929b99 Add initial spell checker package
This adds spell checking to editor's using the
text, markdown, or Git commit message grammars.
2013-02-26 18:49:22 -08:00
Corey Johnson & Kevin Sawicki
6e4f497ef6 💄 2013-02-26 09:58:55 -08:00
Corey Johnson & Kevin Sawicki
34ab1d5c03 Remove unused variable 2013-02-25 18:20:42 -08:00
Kevin Sawicki
9f6855e2cb Remove useless div around function details 2013-02-25 15:29:46 -08:00
Kevin Sawicki
6d7971cd50 Reduce flakiness of symbols view spec
Make sure file is removed before a file is moved
over top of it.
2013-02-25 14:03:16 -08:00
Kevin Sawicki & Nathan Sobo
94a17e73ba Don't automatically focus when attach is called
Only focus when toggling the tree view or revealing
an active file.

This prevents the tree view from stealing focus when it
is attached during deserialization.
2013-02-25 11:53:42 -08:00
Kevin Sawicki
6563dabe51 Simplify loading message toggling
Add the 'is-loading' class and text from the
content method and just call toggle directly on
the outlet to hide/show.
2013-02-25 10:19:11 -08:00
Kevin Sawicki
9b231e8c4e Add increase indent pattern for GFM scope 2013-02-25 08:58:47 -08:00
Kevin Sawicki
8b2c088bc9 Add support for escaped characters in TOML strings 2013-02-24 19:40:47 -08:00
Kevin Sawicki
fca182a470 Add initial TOML support 2013-02-24 09:56:26 -08:00
Kevin Sawicki
a712f00d7e Put expects in a runs block 2013-02-22 21:48:50 -08:00
Corey Johnson & Kevin Sawicki
c7ff431d13 Don't rely on specific time in EditorStats spec 2013-02-22 17:17:07 -08:00
Kevin Sawicki
297ee396ca Remove empty package-generator keymap 2013-02-22 11:44:23 -08:00