Commit Graph

14093 Commits

Author SHA1 Message Date
Jon Rohan
65de43fb34 something was wrong with the scrolling, the root view shouldn't be scrolled 2012-12-26 13:16:40 -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
7cdf12dead updating status bar colors 2012-12-26 13:10:48 -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
ab407a297a Put z-index on select-list class 2012-12-26 11:51:41 -08:00
Jon Rohan
4a46e9f32a fuzzy finder is high on the z-index 2012-12-26 11:49:57 -08:00
Jon Rohan
6bdaf53289 fuzzy finder should be on top of all 2012-12-26 11:44:35 -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
Kevin Sawicki
cf66892b09 💄 2012-12-26 11:38:15 -08:00
Jon Rohan
696155f865 adding icons to file tree 2012-12-26 11:36:31 -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
Kevin Sawicki
14e5dde418 Create custom jQuery event for shift select on gutter 2012-12-26 11:08:28 -08:00
Jon Rohan
708cdbf7b5 Merge pull request #112 from github/system-font
Only using the fixed width font inside the editor
2012-12-26 10:59:04 -08:00
Jon Rohan
d6973dc24f Not overriding font-size 2012-12-25 12:40:13 -08:00
Jon Rohan
14ca750932 Changing around the status bar html 2012-12-25 11:18:13 -08:00
Jon Rohan
72d9470ed1 Creating a new style for the tree-view 2012-12-24 17:16:32 -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
f27d84a7f0 Only using the fixed width font inside the editor. 2012-12-24 13:23:15 -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
515feca7a6 Kill scoped config settings docs. This behavior is moved to syntax.
We can explain scoped properties
2012-12-23 15:01:56 -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
f7878a02dd Add no selection rule to spec selector 2012-12-22 22:13:51 -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
aaac5a8659 💄 2012-12-21 18:24:06 -07:00
Nathan Sobo
6e5f9b9a27 Kill unused require 2012-12-21 18:20:28 -07:00
Nathan Sobo
9b6c310239 Implement scoped config settings
You can pass a scope stack when calling `config.get`, which will prefer
settings under the most specific matching scope selector for the given
scope stack.
2012-12-21 18:20:20 -07:00
Kevin Sawicki
559b9132f9 Parse until position equals line length including trailing newline 2012-12-21 13:22:13 -08:00
Kevin Sawicki
0938811612 Clear anchor positions in stack after line is tokenized 2012-12-21 13:22:13 -08:00
Kevin Sawicki
8aba95191d Append anchor characters when placeholder is not added 2012-12-21 13:22:13 -08:00
Kevin Sawicki
4c1ecf61df Anchor second capture index 2012-12-21 13:22:13 -08:00