Commit Graph

795 Commits

Author SHA1 Message Date
Kevin Sawicki
9708f436c5 Remove unneeded empty string span values 2013-03-29 22:21:50 -04:00
Kevin Sawicki
2a2a391d13 Extend highlight span to be entire width of tree
Closes #219
2013-03-29 22:20:26 -04:00
probablycorey
0fe93bef91 StatusBar now triggers grammar-selector:show 2013-03-27 17:34:14 -07:00
Kevin Sawicki
70010bad56 Un-f grammar-selector specs 2013-03-27 20:30:22 -04:00
probablycorey
5308e03096 Move GrammarView into GrammarSelector package 2013-03-27 17:02:13 -07:00
probablycorey
8323b0defd 💄 2013-03-27 16:30:33 -07:00
Kevin Sawicki
b6334483c9 Hide the loading message when eval throws an error 2013-03-27 15:43:09 -04:00
Kevin Sawicki
7f8adf247e Show root view events when no element has focus
Closes #327
2013-03-27 14:28:18 -04:00
Kevin Sawicki
4c9ebc940c Remove unneeded initialization of variable from superclass 2013-03-27 14:28:17 -04:00
Kevin Sawicki
5a7f2a9ef4 Don't show duplicates in open buffer list
Closes #378
2013-03-27 11:56:32 -04:00
Kevin Sawicki
8d22b6d1b3 💄 2013-03-27 11:56:32 -04:00
Cheng Zhao
4768ae9008 Rename node-nsspellchecker to node-spellchecker. 2013-03-27 12:25:55 +08:00
Cheng Zhao
3ed35574d4 Use node-nsspellchecker to replace $native's spell checker. 2013-03-27 12:25:54 +08:00
probablycorey
7e405138fc Beep when only one matches is found by repeatRelativeAddress
Closes #45
2013-03-26 16:45:21 -07:00
probablycorey
f817e37a01 Refactor repeatRelativeAddress/repeatRelativeAddressInReverse 2013-03-26 16:45:21 -07:00
probablycorey
2ffb88e936 💄 2013-03-26 16:45:21 -07:00
Nathan Sobo
1f74b5ccb4 Rename textmate package w/ invalid snippets 2013-03-26 17:35:44 -06:00
Corey Johnson & Nathan Sobo
8437f3ff7f Only load TextMate packages as needed in specs
Also: when a TextMate package is deactivated, remove its grammars
2013-03-26 17:35:42 -06:00
Nathan Sobo
bb8b3782b9 Serialize package states independently of RootView
Previously, package specs needed to deactivate the root view to test
their package serialization. Now, specs can just deactivate and then
reactivate the package, relying on serialization infrastructure that's
independent of the lifecycle of the RootView.
2013-03-26 17:35:42 -06:00
Nathan Sobo
f5774972e9 Add atom.deactivatePackage(id)
It serializes the package state to the atom.packageStates hash when
the package is deactivated, which means we will be able to test 
package serialization independent of the overall window lifecycle by
just deactivating and re-activating the package.
2013-03-26 17:35:42 -06:00
Nathan Sobo
58ef6c6582 Use atom.activatePackage directly in specs 2013-03-26 17:35:42 -06:00
Kevin Sawicki
4e9b33075f Upgrade to ctags 0.3.0 2013-03-26 17:03:33 -04:00
Kevin Sawicki
0887ec2e55 Move fuzzy finder stylesheet into package directory 2013-03-25 22:58:40 -04:00
Kevin Sawicki
68dc76def3 Move command panel stylesheet into package directory 2013-03-25 22:56:51 -04:00
Kevin Sawicki
5a4108f3c8 Consolidate tree-view stylesheets 2013-03-25 22:56:00 -04:00
Kevin Sawicki
a83cb88630 Move tabs stylesheet into package directory 2013-03-25 22:54:45 -04:00
Kevin Sawicki
a52c516c88 Move status bar stylesheet into package directory 2013-03-25 22:53:42 -04:00
Kevin Sawicki
6f8c07e917 Enforce stricter requirements for Editor.getPane()
Previously it would return the closest '.pane' element
which would cause an editor inside of another editor
to report having a pane such as in the autocomplete view.
2013-03-25 17:10:33 -04:00
Kevin Sawicki
513ed3b4b1 Show symlink file icon in tree view 2013-03-25 16:51:39 -04:00
Kevin Sawicki
7756f8e86d Show ignored icon in status bar 2013-03-25 12:00:11 -04:00
Kevin Sawicki
9604d81ec8 Update titles after adding/removing tabs
The duplicate title detection requires the tab be on the DOM
so update the title after it is inserted and also update titles
of remaining tabs after one is removed so long titles being used
can go back to short titles if no other tab title duplicates exist.

Closes #446
2013-03-25 11:32:37 -04:00
Kevin Sawicki
7a56d4080c Hide the grammar name when it is the null grammar 2013-03-23 09:00:54 -07:00
Corey Johnson & Nathan Sobo
db4420e068 Move grammar overrides to syntax (no serialization yet) 2013-03-22 17:35:35 -06:00
Nathan Sobo
ab934cfbfb Replace LoadTextMatePackagesTask with async grammar loading 2013-03-22 15:29:07 -06:00
Kevin Sawicki
266c305ebb Implement getPath() in markdown preview view
This allows it to be shown in the tree view when the
reveal command is triggered.
2013-03-22 09:55:21 -07:00
Kevin Sawicki
a362a14f75 Only add view when grammars-loaded event fires
Previously the views would be added immediately
if more than one grammar was already registered.

This was unneeded since the event will always fire
after the package is activated.
2013-03-21 17:22:39 -07:00
Corey Johnson & Nathan Sobo
ef595c74ef Update GFM snippets to atom syntax instead of textmate 2013-03-21 16:17:50 -06:00
Corey Johnson & Nathan Sobo
2f3b4b9e5f Move scoped properties out of the grammar file and into a directory
Closes #435
2013-03-21 14:07:32 -07:00
Corey Johnson & Nathan Sobo
0b719bfecf Atom packages can load cson grammars and TextMate packages can't 2013-03-21 13:26:56 -07:00
Kevin Sawicki
1929899365 Remove z-index on editor stats
Wasn't needed now that it just sits below the status bar.

Closes #389
2013-03-21 11:28:16 -07:00
Kevin Sawicki
1051ad83c8 Use async queue in fs-utils traverseTree()
This removes the need for tracking when the traversal is done.
2013-03-20 15:54:23 -07:00
probablycorey
d2b2c6fc8d Remove unused code 2013-03-20 14:33:52 -07:00
Corey Johnson & Kevin Sawicki
6c357aaca7 Make paths absolute before calling $native.watchPath
Also return a subscription that can be unwatched instead
of returning an id that is later passed to $native.unwatchPath
along with the watched path.

This allows specs to pass when run from a symlink'ed folder.
2013-03-20 13:27:49 -07:00
Kevin Sawicki
ae96a48572 Call populateProjectPaths when callback completes
This removes duplicate code for the cases when a callback
is used and when the view already has populated paths.
2013-03-20 11:59:38 -07:00
Kevin Sawicki & Nathan Sobo
501dc9b76c Merge remote-tracking branch 'origin/master' into cefode
Conflicts:
	native/v8_extensions/native.mm
	spec/app/config-spec.coffee
	spec/app/window-spec.coffee
	spec/spec-helper.coffee
	spec/stdlib/fs-utils-spec.coffee
	src/app/atom-package.coffee
	src/app/config.coffee
	src/app/window.coffee
	src/packages/fuzzy-finder/lib/load-paths-handler.coffee
	src/packages/markdown-preview/lib/markdown-preview-view.coffee
	src/packages/tree-view/spec/tree-view-spec.coffee
	src/stdlib/require.coffee
2013-03-20 10:46:50 -06:00
probablycorey
9c6978e913 Operation creates a marker immediately when given a buffer 2013-03-19 14:32:25 -07:00
probablycorey
35ab49eff0 SelectAllMatchesInProject Operations create buffers on demand 2013-03-19 11:30:49 -07:00
Corey
1f23fa8cfc 💄 2013-03-19 11:30:49 -07:00
Corey Johnson
4702f3775d Calling collapseAllPaths creates elements for every Dom node 2013-03-19 11:30:48 -07:00
Corey Johnson & Nathan Sobo
10f405f61f Create preview list Dom elements only when needed 2013-03-19 11:30:48 -07:00