Commit Graph

4495 Commits

Author SHA1 Message Date
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
Nathan Sobo
736bd1156b 💄 2012-12-28 15:46:23 -06: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
Nathan Sobo
f4d53a017c Merge branch 'master' into config 2012-12-28 11:32:24 -06:00
Kevin Sawicki
5993b04e62 Colorize new and modified files in tree view 2012-12-28 09:17:23 -08:00
Kevin Sawicki
0aa8a65903 Support using custom guide columns via config 2012-12-28 08:45:07 -08:00
Jon Rohan
f24f95560e Orange you glad I didn't say banana 2012-12-28 08:28:20 -08:00
Jon Rohan
b88d097a42 Revert "removing the tree view core:close test, because cmd-w no longer closes the sidebar."
This reverts commit ab144a6d31.
2012-12-27 22:59:36 -08:00
Jon Rohan
f225b88bb2 Revert "don't close the tree view on cmd-w"
This reverts commit ef48c355fb.
2012-12-27 22:59:23 -08:00
Jon Rohan
51e9cdbb94 removing the gradient from the status bar, and adding padding around command-panel 2012-12-27 22:48:23 -08:00
Jon Rohan
5289705602 Adjusting the text and icon colors in the tabs 2012-12-27 22:39:09 -08:00
Jon Rohan
d162644ada Merge pull request #117 from github/modified-tab
Changing the close icon when the tab is modified
2012-12-27 22:29:18 -08:00
Jon Rohan
c0fc67bb3b matching the circle color to the x 2012-12-27 22:23:21 -08:00
Jon Rohan
6c66f20d68 using @subscribe to subscribe to the buffer
for garbage collection
2012-12-27 22:23:08 -08:00
Kevin Sawicki
575e34d5e4 Forward window focus when active element is body
This problem was when the focus element is detached
when navigating away from the window and when
the window is then given focus again nothing has
focus.

The solution is to use RootView's focus handler
on the window to bring focus to the editor or
other view when the document's active element
is the body meaning nothing inside the RootView
currently has focus.
2012-12-27 21:56:43 -08:00
Kevin Sawicki
f07f42fc38 Add higher z-index to tree view dialog 2012-12-27 21:17:05 -08:00
Jon Rohan
4fa92c72c2 matching the status-bar modified color to the tab color 2012-12-27 21:04:18 -08:00
Jon Rohan
4f433ce0e8 Changing the close icon when the tab is modified 2012-12-27 21:01:17 -08:00
Nathan Sobo
ea322d5895 Un-F 2012-12-27 20:17:53 -06:00
Nathan Sobo
16c248dbe6 Deal w/ the fact that TextMate settings aren't *always* scoped 2012-12-27 20:13:02 -06:00
Corey Johnson
4a6d336763 Theme.load can take multiple theme names 2012-12-27 16:13:53 -08:00
Corey Johnson
4244e673af Load themes from Config.load 2012-12-27 15:52:09 -08:00
Corey Johnson
71267fd7fe Make required path lowercase 2012-12-27 15:51:43 -08:00
Corey Johnson
82abbaa71c Break AtomTheme out into its own file. 2012-12-27 15:25:16 -08:00
Corey Johnson
0d946078c9 Atom Themes can be loaded 2012-12-27 14:31:13 -08:00
Jon Rohan
d97651d19a These importants are too harsh. and not necessary 2012-12-27 13:39:02 -08:00
Corey Johnson
d509507b0c TextMateTheme extend Theme 2012-12-27 12:12:58 -08:00
Kevin Sawicki
d328db65f2 Free path after generating diff list 2012-12-27 10:54:06 -08:00
Kevin Sawicki
a561d5efab Only create diff options when necessary 2012-12-27 10:53:13 -08:00
Kevin Sawicki
d3ed0fca27 Free reference before returning result 2012-12-27 10:51:35 -08:00
Kevin Sawicki
219aaca0f5 Show diff stat in status bar
Include the number of lines added and removed for
new and modified files
2012-12-27 10:41:29 -08:00
Corey Johnson
d77fc88ff4 Merge remote-tracking branch 'origin/master' into config 2012-12-27 10:38:24 -08:00
Corey Johnson
747b2b6bad Use an offensive icon for Atom 2012-12-27 10:15:42 -08:00
Kevin Sawicki
e941459ca7 Register click past last line handler on underlayer 2012-12-27 08:26:32 -08:00
Jon Rohan
2f7776d971 Just some tabs and tree view style tweaks 2012-12-26 23:10:20 -08:00
Jon Rohan
20eba7438b making the underlayer min-height instead of height, to see the wrap guide go full screen 2012-12-26 22:16:18 -08:00
Jon Rohan
dc6970b72e Merge pull request #115 from github/dirty-linen
Dirty Laundry: Removing the linen background.
2012-12-26 21:27:42 -08:00
Jon Rohan
ab144a6d31 removing the tree view core:close test, because cmd-w no longer closes the sidebar. 2012-12-26 21:26:30 -08:00
Kevin Sawicki
6d5ae9fcb9 Add json bundle to Rakefile 2012-12-26 21:08:09 -08:00
Jon Rohan
ef48c355fb don't close the tree view on cmd-w 2012-12-26 21:05:59 -08:00
Kevin Sawicki
bfe58de64e Darken icon color 2012-12-26 20:35:38 -08:00
Jon Rohan
09abc6c682 Removing the linen background. 2012-12-26 20:20:19 -08:00
Kevin Sawicki
d51fae9c3e Add left margin to file icon 2012-12-26 20:18:52 -08:00
Kevin Sawicki
ae6039e74d Add octicons to fuzzy-finder
Also place file base name first followed by
directory path in darker color
2012-12-26 20:13:53 -08:00
Corey Johnson
83af57db41 cibuild removes ~./atom before running specs 2012-12-26 18:08:18 -08:00
Corey Johnson
6914bff9e6 Use a valid SHA for the rails bundle. 2012-12-26 18:02:40 -08:00
Corey Johnson
5eb16d8304 Add window.removeStylesheet 2012-12-26 17:41:49 -08:00
Corey Johnson
b08422bc6b TextMateTheme@load will load absolute paths 2012-12-26 17:41:49 -08:00