Cheng Zhao
a630f05ae4
The dragged tab should carry information of file.
2013-04-09 15:37:30 +08:00
Kevin Sawicki
9173711b58
Look for markdown preview in all panes to update
...
Previously only the next pane was checked to see if a preview
exists to update. This would fail to update the preview if
it was moved moved from its original pane to a different pane.
Now the view tracks the buffer and updates on 'saved' events and
shows the preview if it is not in the active pane.
2013-04-08 18:26:55 -07:00
Kevin Sawicki
758ff58d2d
💄
2013-04-08 17:04:53 -07:00
Nathan Sobo
78cb747a39
No need to .off events explicitly now
2013-04-08 17:25:13 -06:00
Nathan Sobo
2601f266fa
Add subscribeToCommand to track command subscriptions on other views
2013-04-08 17:09:12 -06:00
Kevin Sawicki
cd7a906b9a
Use Pane.activeView instead of Pane.viewForActiveItem()
...
viewForActiveItem() can create a view which we don't want to do
when responding to events in the status bar. Instead we just want
to access the already existing view for the active item.
2013-04-08 13:58:22 -07:00
Kevin Sawicki
5e504d6c08
Support more than just editors in the status bar
...
The status bar view now tracks the active pane item
and hides and shows elements that apply for the active
item such as path, cursor position, grammar, etc.
2013-04-08 13:26:57 -07:00
Kevin Sawicki
63017b7800
Attach editor and update display in spec
...
This is required now that the editor checks visibility
before updating the display.
2013-04-08 12:10:57 -07:00
Kevin Sawicki
dc94855e1a
Parse emoji start, word, and end into different scopes
2013-04-07 15:07:57 -07:00
Kevin Sawicki
4636e9ca40
Unsubscribe if editor has no session
2013-04-07 14:52:20 -07:00
Cheng Zhao
20580a5da8
Merge pull request #478 from github/no-drag-drop
...
Don't respond to drag-drop of external files
2013-04-05 23:39:42 -07:00
Kevin Sawicki
b9fcfda904
Only match brackets if underlayer is visible
2013-04-05 15:05:43 -07:00
Kevin Sawicki
c8dd9f8d82
Use indexOf instead of substring to check path
2013-04-05 09:07:31 -07:00
Cheng Zhao
33de90a0b6
dataTransfer.setData only accepts string.
2013-04-05 10:30:18 +08:00
Cheng Zhao
f37265978e
Only respond to drag-drop of tabs in tab bar.
2013-04-04 16:23:46 +08:00
Kevin Sawicki
bac2209449
Remove unneeded syntax.off() call
...
syntax.on() is no longer called anywhere in the package.
2013-04-03 17:51:24 -07:00
Corey Johnson & Nathan Sobo
5c9dd50e39
Start spell-checking immediately
...
When the grammar changes, spell check will detect this and toggle
itself accordingly. Before a grammar matches a buffer, it has the
NullGrammar, which won't be spell-checked.
2013-04-03 18:34:54 -06:00
Corey Johnson & Nathan Sobo
1b56cfb270
LanguageMode switches to a better-matching grammar when it is added
2013-04-03 18:34:54 -06:00
Kevin Sawicki
cf357376b3
Only add wrap guide to pane-based editors
2013-04-03 17:30:24 -07:00
Kevin Sawicki
b4eb7d072e
Only expand folder when needed for file asserts
...
Closes #470
2013-04-03 17:07:23 -07:00
Kevin Sawicki
b50b2231d6
Render all operations when moving to bottom
2013-04-03 15:55:07 -07:00
Kevin Sawicki
a762291de9
Render more operations when path is collapsed
...
Previously the command panel would shrink when a path was
collapsed since operations that hadn't been rendered yet weren't
properly added to the DOM.
This removes the collapse/expand animation since it becomes jittery
when combined with rendering new path and operation views.
2013-04-03 15:53:07 -07:00
Kevin Sawicki
ec2b116674
💄
2013-04-03 15:53:07 -07:00
Kevin Sawicki
d1fd3c8d7c
Invoke callback with empty array on non-zero exit code
2013-04-03 13:54:52 -07:00
Kevin Sawicki
a5870cedd2
Use more generic core.excludeVcsIgnoredPaths config key
2013-04-03 11:45:55 -07:00
Kevin Sawicki
ede5e88a19
Merge origin/master into nak-powered-search
...
Conflicts:
src/packages/command-panel/lib/preview-list.coffee
src/packages/fuzzy-finder/lib/load-paths-task.coffee
2013-04-03 11:43:35 -07:00
Kevin Sawicki
0b3a91b5fe
Rename VCS ignore config setting to fuzzyFinder.hideVcsIgnoredPaths
2013-04-03 11:39:16 -07:00
Kevin Sawicki
ace71acb3c
Invoke callback even when command fails
2013-04-03 11:34:27 -07:00
Kevin Sawicki
19cf333e52
Use long opts for readability
2013-04-03 11:32:42 -07:00
Kevin Sawicki
e176141846
Follow symlinks loading paths
2013-04-03 11:22:20 -07:00
Nathan Sobo
930cd9551b
💄 add eof newlines
2013-04-03 12:01:37 -06:00
Nathan Sobo
f03b6207de
Make all requires of 'fs-utils' assign to fsUtils var instead of fs
2013-04-03 12:01:37 -06:00
Nathan Sobo
59a5a5bc8f
Always pass a hash to TextBuffer.scanInRange iterators
...
This makes it easy to only assign variables for the information you
need in the iterator. Before, we always forced you to take a match and
a range as the first two arguments even if you weren't using them.
2013-04-03 11:16:49 -06:00
Nathan Sobo
68a02fe009
Use backwardsScanInRange instead of passing true
2013-04-03 11:03:45 -06:00
Kevin Sawicki
aa8fb3eb4b
Add failing symlink spec
2013-04-03 08:33:16 -07:00
Kevin Sawicki
917fbaadad
Use splat instead of apply
2013-04-03 08:27:36 -07:00
Kevin Sawicki
2dc1817807
Push new paths onto existing array
2013-04-03 08:24:31 -07:00
Kevin Sawicki
320d177038
Use consistent quotes
2013-04-03 08:19:04 -07:00
Kevin Sawicki
acf538cf4b
Remove unused aborted ivar
2013-04-03 08:18:00 -07:00
probablycorey
f4264f00f8
Modernize markdown preview spec
2013-04-02 17:09:08 -07:00
Corey Johnson
606f446c27
Log warning when trying to render non-markdown file
2013-04-02 17:00:42 -07:00
Corey Johnson
2944b64795
Show GitHub API error message when markdown preview fails
2013-04-02 17:00:41 -07:00
Corey Johnson
55d4625091
Only display markdown preview on save if preview already exists
2013-04-02 17:00:41 -07:00
Corey Johnson
5f2c4dad95
Only show markdown preview if the edit session's grammar is GFM
2013-04-02 16:59:44 -07:00
Corey Johnson
e03f2fd738
Markdown preview listens to core:save on activate
2013-04-02 16:59:44 -07:00
Mutwin Kraus
5c93fd4574
Update markdown preview when markdown buffer is saved
2013-04-02 16:59:44 -07:00
Kevin Sawicki
22af597c42
💄
2013-04-02 16:50:53 -07:00
Kevin Sawicki
699212a13e
Always pull line text from buffer
...
This accounts for positional changes that may occur if the marker
the operation is tracking moves.
2013-04-02 14:24:36 -07:00
Garen Torikian
7ab79d05f0
Merge master
2013-04-02 14:12:20 -07:00
Garen Torikian
206b58a86c
Merge branch 'nak-powered-search' of github.com:github/atom into nak-powered-search
2013-04-02 14:05:00 -07:00