Commit Graph

198 Commits

Author SHA1 Message Date
Kevin Sawicki
f21e264189 Inline require of d3
It is almost 8,000 lines and does not need to
be loaded until the heatmap displays.
2013-01-17 16:50:25 -08:00
Kevin Sawicki
60481c58d3 Update selected entry when moving to top/bottom 2013-01-16 09:09:46 -08:00
Kevin Sawicki
f9db8c5263 Remove unused require 2013-01-15 08:48:57 -08:00
Kevin Sawicki
f04ccdaf0e 💄 2013-01-15 08:48:10 -08:00
Kevin Sawicki
6b0f7bca44 Rename variable to pattern to shadow config key path 2013-01-15 08:38:58 -08:00
Kevin Sawicki
8c6a157ce3 Remove unused variable 2013-01-15 08:36:39 -08:00
Kevin Sawicki
e7af5be916 Remove unused require 2013-01-15 08:30:08 -08:00
Kevin Sawicki
28d4c3749f Use octicon for command panel prompt 2013-01-14 09:32:04 -08:00
Kevin Sawicki
fc8fb73176 Use RootView.eachEditor from Autocomplete package 2013-01-12 18:03:16 -08:00
Kevin Sawicki
01233e2990 Use RootView.eachEditor in Tabs package 2013-01-12 15:54:10 -08:00
Kevin Sawicki
026bacabdb Use RootView.eachEditor from StatusBar package 2013-01-11 16:56:51 -08:00
Kevin Sawicki
b5a0b76707 Use RootView.eachEditor from WrapGuide package 2013-01-11 16:46:57 -08:00
Kevin Sawicki
8a9f7200d2 Tweak period location in error messages 2013-01-11 15:53:35 -08:00
Kevin Sawicki
65df35c351 Don't show the move dialog when the project is selected 2013-01-11 14:07:49 -08:00
Kevin Sawicki
c442416c9f Use view class of entry instead of native call 2013-01-11 13:41:21 -08:00
Kevin Sawicki
2cc09988fb Tweak border for TreeView dialogs 2013-01-11 13:40:15 -08:00
Kevin Sawicki
0e982d35b6 Tweak message when prompting for a directory 2013-01-11 13:40:15 -08:00
Kevin Sawicki
497bc258a8 Select the base name when it is equal to the extension 2013-01-11 13:40:15 -08:00
Kevin Sawicki
cd365bc6c5 Add octicons to TreeView add/move dialog 2013-01-11 13:40:15 -08:00
Kevin Sawicki
d3ef4fae00 Add to root if no entry is selected 2013-01-11 11:49:47 -08:00
Kevin Sawicki
0123bc7b91 Remove unneeded package name 2013-01-11 11:31:26 -08:00
Kevin Sawicki
93fc1b6c4d Remove unneeded attachToDom() call in spec 2013-01-11 10:51:01 -08:00
Kevin Sawicki
170b50ddf0 Use search pattern with fewer matches to speed up spec 2013-01-11 10:25:41 -08:00
Kevin Sawicki
7caf45dd25 Make command heatmap take up all available space 2013-01-11 09:49:02 -08:00
Kevin Sawicki
184f7d9f45 💄 2013-01-11 09:22:41 -08:00
Kevin Sawicki
572b258547 Only open paths that are files that exist
The filesystem may have changed while the fuzzy finder
is open or since the last time the paths were loaded so
don't try to open paths unless they are files that
currently exist when confirmed.
2013-01-11 09:19:15 -08:00
Kevin Sawicki
7939b52da0 Marks paths for reload on focus and config events
Show the last loaded paths and load the latest in the
background when the FuzzyFinder is opened after a config
or focus event has been fired.

Previously the paths were completely cleared and the indexing
message was displayed while the latest paths were loaded.
2013-01-11 08:59:42 -08:00
Kevin Sawicki
618d9f5748 Replace fuzzy-finder with fuzzyFinder in spec config key path 2013-01-11 08:53:15 -08:00
Kevin Sawicki
07fd29ccc4 Remove unneeded attachToDom() call 2013-01-11 08:31:56 -08:00
Kevin Sawicki
30fc2536e0 Ignore basic core move events in heatmap 2013-01-11 08:29:50 -08:00
Kevin Sawicki
3a582eab63 Display editor's grammar name in status bar
Clicking on the grammar name displays the list of
available grammars that can be switched to.
2013-01-10 17:51:15 -08:00
Nathan Sobo
b307bcc0de Handle single long words that exceed the wrap column in autoflow 2013-01-10 17:29:41 -07:00
Nathan Sobo
b0fe034c9a Add autoflow package w/ autoflow:reflow-paragraph command 2013-01-10 17:29:41 -07:00
Kevin Sawicki
8bf16ba602 Don't attach the tree view when a project path changes
The tree view shouldn't automatically open when the
project first gets a path after not having one.

It can be still be toggled to be opened once the
project has a path.
2013-01-10 15:39:32 -08:00
Kevin Sawicki
6d914cdc7a Don't attach the TreeView if RootView's path to open is a file 2013-01-10 14:11:56 -08:00
Kevin Sawicki
1316e2136c Don't attach the TreeView when the project has no path 2013-01-10 13:43:30 -08:00
Kevin Sawicki
196a013cbc Remove unneded focus() call
focus() is called from attach()
2013-01-10 13:38:51 -08:00
Kevin Sawicki
a3f46ed184 Remove command packages now handled by editor 2013-01-10 10:08:46 -08:00
Kevin Sawicki
f63ed1035d Correct typo in spec 2013-01-10 09:30:12 -08:00
Kevin Sawicki
14d9fc5e45 Search for a more specific string
This spec only requires one match so don't search
for something that has many matches and will take
longer to display.

Reduces the run time of this spec by ~1.5 seconds.
2013-01-10 09:01:14 -08:00
Kevin Sawicki
339d29e1b5 Search for something with fewer results
Previously the search query used in the command panel
spec returned 500+ matches when the specs needed far
less to verify moving up and down and scrolling.

This reduces the time take to run the command panel spec
by ~2.5 seconds.
2013-01-10 08:47:10 -08:00
Kevin Sawicki & Nathan Sobo
3db7af1edf Don't show the tree view until the project has a path 2013-01-09 19:27:19 -07:00
Nathan Sobo
46331ded03 Merge remote-tracking branch 'origin/command-extensions' into dev
Conflicts:
	spec/app/editor-spec.coffee
	spec/app/root-view-spec.coffee
	src/app/editor.coffee
	src/extensions/strip-trailing-whitespace.coffee
2013-01-09 14:18:10 -07:00
Nathan Sobo
2c4da1b8dd Merge branch 'snippets' into dev
Conflicts:
	src/app/package.coffee
	src/packages/snippets/src/snippets.coffee
2013-01-09 13:10:11 -07:00
Nathan Sobo
6c2607a5e0 Sort $0 tab stops last instead of first for TextMate compatibility 2013-01-09 12:32:11 -07:00
Nathan Sobo
e33f93b40c Load snippets from TextMate bundles
There's still a bunch of holes in this. TextMate snippets have features
that we don't support yet. But the basic ones should now work.
2013-01-09 11:43:11 -07:00
Kevin Sawicki
6f5e29d48e Throw exception when repository fails to open
Removes need to check if the repository is valid before
each native API call and also removes calling into the
native-side if no repository can be opened for the project
page.
2013-01-08 21:15:41 -08:00
Corey Johnson
95dcf275e4 Remove *.getLastCursor() 2013-01-08 18:27:29 -08:00
Nathan Sobo
cab5b25e76 Fix undo/redo of snippet expansions. Tab stops are restored correctly.
We're giving up on correctly restoring snippet expansions that
occurred in a different EditSession.
2013-01-08 12:54:49 -07:00
Nathan Sobo
a03bb7bf2e Un-f 2013-01-08 12:53:43 -07:00