Commit Graph

12724 Commits

Author SHA1 Message Date
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
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
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
Jon Rohan
4f433ce0e8 Changing the close icon when the tab is modified 2012-12-27 21:01:17 -08: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
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
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
ab144a6d31 removing the tree view core:close test, because cmd-w no longer closes the sidebar. 2012-12-26 21:26:30 -08:00
Jon Rohan
ef48c355fb don't close the tree view on cmd-w 2012-12-26 21:05:59 -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
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
Corey Johnson
e5e5c497e1 Load themes from ~/.atom/themes 2012-12-26 17:41:48 -08:00
Corey Johnson
bae9ae6d59 Fuzzy finder ignores core.ignoredNames as well as fuzzy-finder.ignoredNames 2012-12-26 17:41:48 -08:00
Jon Rohan
b7e6bfcbdc Merge pull request #113 from github/tree-massage
Cleaning up the tree view style
2012-12-26 17:13:46 -08:00
Kevin Sawicki
ff4ae5ce05 Use octicon disclosure arrow 2012-12-26 16:38:21 -08:00
Kevin Sawicki
e6343b7773 Alphabetize extension arrays 2012-12-26 15:55:46 -08:00
Kevin Sawicki
b6a0b8bfdb Use image, pdf, and compressed file icons 2012-12-26 15:55:07 -08:00
Kevin Sawicki
110ccc9b7a Match firstLineRegex against entire file 2012-12-26 15:22:41 -08:00
Jon Rohan
8a83c45a50 fixing the treeView tests 2012-12-26 15:17:33 -08:00
Kevin Sawicki
7cce042f03 Change case of prefix and suffix to matched word
Previously an inserted automcomplete match would not
update the case of the prefix or suffix of the match
and instead only insert the text from the matched word
between the prefix and suffix.

Now the entire matched word is inserted as-is replacing
the existing prefix and suffix.
2012-12-26 15:09:07 -08:00
Jon Rohan
10866223d3 Merge branch 'master' into tree-massage 2012-12-26 13:13:08 -08:00
Jon Rohan
afef7c5a7a Merge pull request #114 from github/foot-loose
Everybody everybody cut footloose
2012-12-26 13:12:10 -08:00
Jon Rohan
ca39b9dccb re-organizing the cursor position text 2012-12-26 13:06:27 -08:00
Jon Rohan
b737977c61 fixin spec tests 2012-12-26 12:52:01 -08:00
Kevin Sawicki
a9b9c09a86 Only show wrap guide when enough space
Previously the wrap guide would cause the
editor to scroll if the editor was narrower
than the wrap guide column without taking into
account whether any lines actually reach the guide.

Now the wrap guide only displays when either the wrap
guide column is less than the minimum width of the
editor layer or if the wrap guide column is less than
the entire width of the editor.
2012-12-26 12:48:49 -08:00
Jon Rohan
4ce71e5bc2 Merge branch 'master' into foot-loose 2012-12-26 12:47:59 -08:00
Kevin Sawicki
f592242737 Terminate when no more tokens and at end of line
This corrects a regression when pattern matching
to the newline was added.

If the newline is never matched the loop still needs to
terminated so now when the position is before the newline
and the last match had no tokens the loop is broken out of.
2012-12-26 11:44:15 -08:00
Jon Rohan
fe72776a7b Merge branch 'master' into tree-massage 2012-12-26 11:18:52 -08:00
Jon Rohan
3436d05116 Merge pull request #111 from github/table-tabs
Changing the tab display style to a table layout.
2012-12-26 11:13:54 -08:00
Kevin Sawicki
518a71910d Support clicking past last editor line
Clicking below the last line of an editor
now either moves the cursor to the end of
the file or selects to the end of the file
if shift is pressed.
2012-12-26 11:08:28 -08:00
Jon Rohan
14ca750932 Changing around the status bar html 2012-12-25 11:18:13 -08:00
Jon Rohan
3863e73df8 Add a .highlight span in each li 2012-12-24 17:16:17 -08:00