Commit Graph

4867 Commits

Author SHA1 Message Date
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
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
756dd4bb47 Merge pull request #136 from github/resize-sidebar-tree-view
Allow tree view sidebar to be resized.
2013-01-21 10:42:36 -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
Kevin Sawicki
9067f1fbb9 Return what function returns from measure 2013-01-17 23:01:53 -08:00
Derek Greentree
b594244007 remove 'returns'; ensure value passed to setText is a string 2013-01-17 17:26:07 -08:00
Kevin Sawicki
62f1155706 Don't prompt to save on close if buffer is opened elsewhere
Only prompt to save when the buffer is dirty and the last
open session on it is being destroyed.
2013-01-17 17:25:52 -08:00
Kevin Sawicki
0ad71a6008 un-f RootView spec 2013-01-17 17:25:12 -08:00
Kevin Sawicki
2ca4b278b0 Set spec body background to white 2013-01-17 16:50:26 -08:00
Kevin Sawicki
60f25d7069 Call atom.show() in spec bootstrap 2013-01-17 16:50:26 -08:00
Kevin Sawicki
7c9ac5a4ac Defer building parser until eval'ing 2013-01-17 16:50:25 -08:00
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
Corey Johnson & Kevin Sawicki
9ff0776fbf Store built parser as class variable 2013-01-17 16:50:25 -08:00
Kevin Sawicki
97e808620e Copy themes folder to bundle 2013-01-17 16:50:25 -08:00
Kevin Sawicki
781f58e33a Precompile cson files to json 2013-01-17 16:50:25 -08:00
Kevin Sawicki
7f8a64b69c Show window only after root view is attached
This prevents a white flicker when the page
starts to load.
2013-01-17 16:50:25 -08:00
Kevin Sawicki
17e7e05e8b Set background color on root HTML element 2013-01-17 16:50:25 -08:00
Kevin Sawicki
ef37659e56 Don't reset body background to white 2013-01-17 16:50:25 -08:00
Kevin Sawicki
12fdf07137 💄 2013-01-17 16:50:25 -08:00
Brian Lopez & Nathan Sobo
23e917147d Make view deserialization work with arbitrary view classes 2013-01-17 16:32:28 -08:00
Brian Lopez & Nathan Sobo
b82e9df5f5 Fix crash when deserializing a pane without a wrapped view 2013-01-17 16:30:09 -08:00
Brian Lopez & Nathan Sobo
a8a46470de add me to the pairs file 2013-01-17 16:29:24 -08:00
Derek Greentree
acaf3d9fd3 remove debugging 2013-01-17 15:46:58 -08:00
Derek Greentree
7efe5888db whitespace 2013-01-17 15:41:48 -08:00
Derek Greentree
b229dd21f4 fuzzy find files using content under cursor 2013-01-17 15:36:22 -08:00
Pat Nakajima
fef9aae2f3 No need for the min-width on tree-view anymore 2013-01-17 15:02:56 -08:00
Pat Nakajima
fbd65ecbb1 Remove unnecessary CSS rules 2013-01-17 14:59:40 -08:00
Pat Nakajima
2e94c130ed Remove use of CSS selectors (use outlets instead) 2013-01-17 14:57:43 -08:00
Pat Nakajima
b241cf9fd4 Prevent selection highlight styles on tabs 2013-01-17 13:24:46 -08:00
Pat Nakajima
a139125c9e Use pointer cursor for package manager 2013-01-17 13:20:32 -08:00
Pat Nakajima
b36228c3ac No need for left padding, since the sidebar is resizable 2013-01-17 13:09:18 -08:00
Pat Nakajima
cb8d18d83c Increase size of resize handle to 10px 2013-01-17 12:56:34 -08:00
Pat Nakajima
c7d12cb6b5 Allow tree view sidebar to be resized. 2013-01-17 12:48:29 -08:00