Commit Graph

2846 Commits

Author SHA1 Message Date
Corey Johnson
0d946078c9 Atom Themes can be loaded 2012-12-27 14:31:13 -08:00
Corey Johnson
d509507b0c TextMateTheme extend Theme 2012-12-27 12:12:58 -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
Jon Rohan
fbbe59714e Having the trailing / in the directory treeview is cruft
I wanted to remove the trailing / in the tree view. However, I have no
idea if this breaks other stuff?
@nathansobo @probablycorey
2012-12-24 17:15:50 -08:00
Jon Rohan
29c3c9f0a9 having div here is invalid li can only be in a list 2012-12-24 17:03:12 -08:00
Jon Rohan
9bd6883eac really using the system font, determined via css2.1 2012-12-24 13:19:20 -08:00
Jon Rohan
174925be3d changing the max tab size 2012-12-24 13:14:41 -08:00
Jon Rohan
0dab956588 system wide font 2012-12-24 13:11:51 -08:00
Jon Rohan
d697986e3e updating the tab font-family 2012-12-24 13:05:27 -08:00
Jon Rohan
7f32c7f3bb oops, doesn't belong here 2012-12-24 12:49:07 -08:00
Jon Rohan
f62563e232 fixing the min-width on the tabs 2012-12-24 12:08:21 -08:00
Jon Rohan
4c243c5f7b updating the style to have reverse rounded corners at bottom 2012-12-24 11:54:08 -08:00
Jon Rohan
01cde54b76 Changing the tab display style to a table layout. 2012-12-24 11:22:56 -08:00
Nathan Sobo
a1d28a9f74 WIP: Start on Package class w/ TextMate- & Atom-specific subclasses
The `load` method on the superclass will provide a general template for
loading the package's resource. Each subclass will be responsible for
loading resources in a manner appropriate for the package type. There's
some initial progress on loading TextMate settings as scoped properties,
translating the TextMate scope selectors to CSS-style atom selectors.
2012-12-23 15:36:06 -06:00
Nathan Sobo
f76bab512f Most recently added scoped properties win in case of a specificity tie
This makes the scoped property system mimic the behavior of CSS. When 
there is a tie, the scoped properties loaded later in the cascade win.
I also optimize the scanning of all the properties, checking only those
sets of properties that have a value for the desired key path, to reduce
the need to match a ton of scope selectors.
2012-12-23 13:19:20 -07:00
Nathan Sobo
bbd2e384c5 Merge branch 'master' into config 2012-12-23 12:52:02 -07:00
Nathan Sobo
886995364f Start on syntax global. Use it to replace scoped config settings.
We'll store all syntax-related global state in the `syntax` global. For
now, this means that all scoped properties will be stored here, as well
as all grammars.
2012-12-23 12:50:58 -07:00
Kevin Sawicki
ff3b04e01e Support clicking line numbers in gutter
Clicking moves the cursor to the start of the
row and shift-clicking selects to the start of
the row
2012-12-22 23:40:23 -08:00
Kevin Sawicki
b59bd7a099 Check selection being empty before comparing highlighted rows 2012-12-22 22:16:38 -08:00
Kevin Sawicki
905002cd58 Highlight foreground of selected line numbers
Previously no gutter highlight was displayed unless
the selection was empty.

Now there is a separate CSS class for no selection
that changes the background color independently
from the foreground color.
2012-12-22 22:06:46 -08:00
Nathan Sobo
6e5f9b9a27 Kill unused require 2012-12-21 18:20:28 -07:00