Commit Graph

4541 Commits

Author SHA1 Message Date
Nathan Sobo
e3bbea3397 Fix spec now that Theme.load returns a theme instead of an array 2012-12-31 14:26:22 -06:00
Nathan Sobo
ec542170be Use activatePackage method instead of activateExtension for spec 2012-12-31 14:19:49 -06:00
Nathan Sobo
2d73aa292d Make theme loading more similar to package loading
These changes are mostly aesthetic in nature. I just thought it would 
be a good idea to have theme loading be parallel to package loading as
much as possible. So I localized more logic on the `atom` global.
2012-12-31 14:18:45 -06:00
Nathan Sobo
bb913ef9e8 Merge branch 'config' 2012-12-31 12:43:25 -06:00
Nathan Sobo
2b6ee54a81 Move all bundles in ~/.atom/bundles to packages if that dir exists
This fixes a bug where we always moved the `bundles` dir inside the
`packages` dir if it existed, which caused a load error trying to load
the `bundles` dir as if it were a package.
2012-12-31 12:40:39 -06:00
Nathan Sobo
e11c7e21fb This code didn't do what the comment said it did. 2012-12-31 12:35:26 -06:00
Nathan Sobo
fa7bcfe51b Bundle a themes directory so we don't depend on ~/.atom/themes
We'll look first in the user themes directory, then in the built-in
themes directory. This allows us to default to 'IR_Black' and not crash
if the user doesn't setup their `~/.atom/themes` directory.
2012-12-31 12:08:36 -06:00
Kevin Sawicki
bf86f7ca7b Use getActivePath() helper from attach() 2012-12-29 20:29:18 -08:00
Kevin Sawicki
5a29f9a32c Remove unused require 2012-12-29 20:19:55 -08:00
Kevin Sawicki
6c9537132f Include commands with no category 2012-12-29 20:18:09 -08:00
Kevin Sawicki
1956b98995 Don't strip newline when buffer is a single newline 2012-12-29 10:44:53 -08:00
Kevin Sawicki
e1db5432dd Support toggling dev tools from event palette 2012-12-29 10:31:38 -08:00
Kevin Sawicki
384db4209e Lighten wrap-guide color 2012-12-29 10:31:25 -08:00
Jon Rohan
57d106ff2f matching the background color to the markdown preview background 2012-12-28 20:35:35 -08:00
Jon Rohan
0d76ff2ac9 Adding meta-index key commands to editor to access a buffer directly 2012-12-28 20:30:20 -08:00
Jon Rohan
85423d0034 just a little more something on the markdown preview 2012-12-28 18:15:24 -08:00
Jon Rohan
a437ba6ca9 giving the markdown preview a little more umpf. 2012-12-28 18:06:11 -08:00
Jon Rohan
92a9831201 writing spec for .backspaceToBeginningOfLine() 2012-12-28 17:24:57 -08:00
Kevin Sawicki
e2e10950fd 💄 2012-12-28 17:10:11 -08:00
Kevin Sawicki
272a2edcbe Drop () from around run count 2012-12-28 17:10:11 -08:00
Kevin Sawicki
0ce33490f9 Disable text selections inside nodes 2012-12-28 17:10:11 -08:00
Kevin Sawicki
53b82dad2c Use cursor pointer inside nodes 2012-12-28 17:10:11 -08:00
Kevin Sawicki
a41e4adc79 Remove unneeded property 2012-12-28 17:10:11 -08:00
Kevin Sawicki
be56be362c Use space pen to create inner node HTML 2012-12-28 17:10:11 -08:00
Kevin Sawicki
eeac345210 Use pixels for text-shadow 2012-12-28 17:10:11 -08:00
Kevin Sawicki
b4ced55609 💄 2012-12-28 17:10:10 -08:00
Kevin Sawicki
8c07d0d0bb Use white text 2012-12-28 17:10:10 -08:00
Kevin Sawicki
ee8c949409 Add missing semicolon 2012-12-28 17:10:10 -08:00
Kevin Sawicki
9609352336 Style inside of nodes with HTML instead of SVG 2012-12-28 17:10:10 -08:00
Kevin Sawicki
8b88ebb93e Add border to tree map 2012-12-28 17:10:10 -08:00
Kevin Sawicki
8b40656ef7 💄 2012-12-28 17:10:10 -08:00
Kevin Sawicki
967ef703b9 💄 2012-12-28 17:10:10 -08:00
Kevin Sawicki
4773df0f3d Use cleaner root hash initialization 2012-12-28 17:10:10 -08:00
Kevin Sawicki
bd68dc618a Add d3 treemap of command logger data 2012-12-28 17:10:10 -08:00
Kevin Sawicki
1723aba993 Remove unneeded require 2012-12-28 17:10:10 -08:00
Kevin Sawicki
92661041f8 Add package to log command details
Logs the count and most recent time a command
is triggered and displays them in a sorted list.
2012-12-28 17:10:10 -08:00
Jon Rohan
1396794a12 using just a higher contrast silver for the focused tree-view 2012-12-28 17:04:20 -08:00
Jon Rohan
006a6d958d Adding meta-backspace which will backspace from cursor to the beginning of line 2012-12-28 16:58:22 -08:00
Kevin Sawicki
4be8805c37 Add placeholder file icon 2012-12-28 15:39:19 -08:00
Jon Rohan
b09b55704c got my gradients reveresed 2012-12-28 15:25:49 -08:00
Jon Rohan
f8414437e9 some tricks to make it more obvious which pane has focus 2012-12-28 15:24:45 -08:00
Kevin Sawicki
99ec611b98 Restore prefix when cancelling an autocomplete
Undo all operations that were performed during an
autocomplete session and only retain the confirmed
operation.

Previously the undo stack would fill with all the
selections made before confirmation and the prefix
was restored to its original text when the operation
was cancelled.
2012-12-28 14:49:23 -08:00
Kevin Sawicki
61be7669da Remove unused requires 2012-12-28 13:59:37 -08:00
Kevin Sawicki
296138b558 Don't show eol invisible in mini editors 2012-12-28 13:56:44 -08:00
Kevin Sawicki
acf5aeb884 Cancel select list when an empty selection is confirmed 2012-12-28 13:49:13 -08:00
Nathan Sobo
736bd1156b 💄 2012-12-28 15:46:23 -06:00
Kevin Sawicki
0ac47f8ec0 Use select list in autocomplete package 2012-12-28 13:24:31 -08:00
Nathan Sobo
bb4f3c4efa Store foldEndPattern in syntax global's scoped properties
There's a slight wrinkle in this commit… TextMate grammars sometimes store
the `foldStopMarker` directly in the grammar, rather than storing it
in a separate scoped preferences file like the other settings. So we
have to scan through grammars looking for those that have the fold end
marker and make a scoped property for that grammar's scope.
2012-12-28 14:46:39 -06:00
Nathan Sobo
5a075d515e Retrieve indent/outdent patterns from scoped properties, not TM bundle 2012-12-28 13:47:50 -06:00
Nathan Sobo
9c7c2ab800 Store TM bundle start/end comment strings in scoped properties
Previously, we had a custom method on the `TextMateBundle` class for
retrieving these variables from the bundle. Now we're using Atom's
`syntax.getProperty` mechanism. The idea is to map TextMate concepts
to their Atom equivalent, rather than building everything directly
around TextMate.
2012-12-28 13:27:54 -06:00