Commit Graph

3188 Commits

Author SHA1 Message Date
Kevin Sawicki
7c7ca4a6c3 Don't auto outdent if already fully outdented 2013-01-22 17:39:03 -08:00
Kevin Sawicki
59f7b6650c Don't auto outdent if preceding row is null 2013-01-22 17:38:23 -08:00
Kevin Sawicki
9d3751052a Support hitting tab in snippets with no tab stops
Closes #149
2013-01-22 16:44:45 -08:00
Jon Rohan
3b257988d7 Merge branch 'dev' into restore-fixed-position-for-resizer
Conflicts:
	src/packages/tree-view/spec/tree-view-spec.coffee
2013-01-22 16:38:07 -08:00
Jon Rohan
bfe43008ed fixing the tree-view specs 2013-01-22 16:34:35 -08:00
Jon Rohan
9b10278557 Fixing a treeView scroll spec 2013-01-22 15:25:43 -08:00
Jon Rohan
5359a3297a Fixing the scrolling errors created by adding a wrapper 2013-01-22 15:17:23 -08:00
Kevin Sawicki
a77623c118 Always subscribe to created file 2013-01-22 14:52:08 -08:00
Kevin Sawicki
39fd4f7059 Remove extra subscribeToFile() call
This was causing an event listener to leak
on each call to save()

Closes #152
2013-01-22 14:44:34 -08:00
Jon Rohan
8039b7c7c1 updating tree-view html to better situate the resizer 2013-01-22 14:31:34 -08:00
Jon Rohan
bb43b2e79a Merge branch 'dev' into restore-fixed-position-for-resizer
Conflicts:
	src/packages/tree-view/stylesheets/tree-view.css
2013-01-22 14:30:49 -08:00
Kevin Sawicki
7c3141783b Check if file exists before reading
Closes #153
2013-01-22 13:51:26 -08:00
Jon Rohan
e1e764418b making the packageDirPaths order back to the way it was 2013-01-22 13:17:06 -08:00
Jon Rohan
8bb8fe814a Merge branch 'dev' into css-theme-refactor 2013-01-22 12:48:41 -08:00
Jon Rohan
379824f6b0 adding vendor/themes and themes to themeDirPaths 2013-01-22 12:41:59 -08:00
Jon Rohan
5969e79ebc allow leading dot in extension names in fs resolve 2013-01-22 12:41:33 -08:00
Jon Rohan
9be6d67c7e removing second lookup in requireStylesheet 2013-01-22 12:40:31 -08:00
Pat Nakajima
31f0e739cd Bring back position:fixed for tree view resizer
Without position fixed, the resizer breaks when the tree
view is scrolled.
2013-01-22 12:19:10 -08:00
Kevin Sawicki
37379851a6 Only select entry nodes
This ensure the resizer or any other non-entry
nodes are never selected when moving up or down.
2013-01-22 09:11:08 -08:00
Jon Rohan
8e7fb55f75 refactoring the status-bar 2013-01-21 21:12:41 -08:00
Jon Rohan
f8520162a0 Updating the tabs 2013-01-21 21:03:47 -08:00
Jon Rohan
76ff418575 command-logger refactor 2013-01-21 19:19:41 -08:00
Jon Rohan
0e84361397 updating textmate theme builder with line select color 2013-01-21 19:18:35 -08:00
Jon Rohan
260cacdacf autocomplete.css refactor 2013-01-21 18:44:18 -08:00
Jon Rohan
ea068c5cd7 adding back some tree-view 2013-01-21 17:33:27 -08:00
Jon Rohan
d11317c9b3 some style updates to the resizer 2013-01-21 17:22:45 -08:00
Jon Rohan
5b241c1e1c In requireStylesheet, check loadedThemes for the required stylesheet
I've made requireStylesheet also check the loadedThemes for the
requiredStylesheet.

In the event that we have 2 stylesheets with the same name `editor.css`
and `editor.css` I want the `static/` directory stylesheet to be above
the userTheme stylesheet, so that proper cascading occurs. This commit
also adding class names to the styles.
2013-01-21 16:55:21 -08:00
Kevin Sawicki
ba7449411e Throw error if grammar cannot be resolved for path 2013-01-21 16:48:13 -08:00
Kevin Sawicki
2c4a57c293 Guard against possibly null repo 2013-01-21 16:22:34 -08:00
Corey Johnson
7149e70fe5 Merge remote-tracking branch 'origin/dev' into fuzzy 2013-01-21 15:20:31 -08:00
Corey Johnson
32e281bcc6 Add getWordUnderCursor to Editor and EditSession 2013-01-21 15:19:01 -08:00
Corey Johnson
ad8a29df80 Display error if no files match word under cursor 2013-01-21 15:01:44 -08:00
Corey Johnson
0a5e0a85f8 Using getCurrentWordBufferRange instead of getCurrentWord 2013-01-21 15:00:17 -08:00
Jon Rohan
e80a54f207 Merge branch 'dev' into css-theme-refactor 2013-01-21 14:59:56 -08:00
Corey Johnson
f2dcf40a2c Make test use word under cursor 2013-01-21 14:38:47 -08:00
Corey Johnson
46d20250d3 Fixed fuzzy-finder's file regex 2013-01-21 14:37:24 -08:00
Corey Johnson
7df999dc32 Remove options.includeDelimiter
It was not being used anywhere
2013-01-21 13:27:59 -08:00
Corey Johnson
dd5f63022a 💄
Minor tweaks to make the code match Atom's other code.
2013-01-21 13:02:55 -08:00
Nathan Sobo
2389893799 Absorb parse errors and ignore hidden files when loading atom snippets 2013-01-21 13:49:24 -07:00
Corey Johnson
7fe6d09cbc Merge remote-tracking branch 'origin/dev' into fuzzy 2013-01-21 12:42:14 -08:00
Corey Johnson
3a5d02fccf Serialize TreeView width 2013-01-21 10:41:27 -08:00
Corey Johnson
9e5c7a77d5 Add min-width back for TreeView
In case someone sets the width to 0 and wonders where it went.
2013-01-21 10:39:31 -08:00
Corey Johnson
a6dfabfe71 Remove width from .tree-view-resizer 2013-01-21 10:38:41 -08:00
Corey Johnson
2db8dce4b6 Merge remote-tracking branch 'origin/dev' into sidebar 2013-01-21 10:02:05 -08:00
Andy Delcambre
759fe2dd5b Bind meta-= to autoindent currently selected rows
Closes #142
2013-01-18 11:33:20 -08:00
Derek Greentree
176ca529e3 Bind meta-S to save as in editor
Close #144
2013-01-18 11:29:34 -08:00
Kevin Sawicki
f386d5cc4b Call fs.list() without prior call to fs.exists()
fs.list() returns an empty array if calle for a
non-existent or non-directory path.
2013-01-18 11:19:54 -08:00
Kevin Sawicki
43d0c8a2a1 Perform extension test once
This does not need to be computed on each path since
file isn't changing between paths visited
2013-01-18 09:14:17 -08:00
Kevin Sawicki
a7f03f4aeb Use __moduleExists from require 2013-01-18 09:08:34 -08:00
Kevin Sawicki
f29c3a0836 Check if module path is already loaded before doing fs operations
resolve now checks the existence of a module already loaded at the
given path before checking if the file exists on disk.

This removes the need for many redundant fs.exists and fs.isFile
calls for already loaded modules.

This speeds up package loading since most packages have a common
set of requires that were doing needless fs operations for each
searched path when the module was already in the cache at that
path.
2013-01-18 08:54:59 -08:00