Commit Graph

2823 Commits

Author SHA1 Message Date
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
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
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
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
Kevin Sawicki
9f6d1f987f Add initial support for replacing anchors 2012-12-21 13:22:08 -08:00
Kevin Sawicki
628d22de0a Use tab invisible that is available in Inconsolata
Previously a non-Inconsolata character
was being used which caused alignment issues
with selections and the cursor

Also switch values in editor.coffee to use codes
so they can be viewed in any font.
2012-12-20 14:50:51 -08:00
Nathan Sobo
8d63805072 Pull out ConfigObserver & Subscriber mixins; Add unobserveConfig 2012-12-19 17:32:04 -07:00
Kevin Sawicki
da841b0ac6 Use consistent quotes in strip-trailing-whitespace 2012-12-19 08:48:21 -08:00
Kevin Sawicki
6d31946d31 Merge single-trailing-newline into strip-trailing-whitepsace
single-trailing-newline functionality is now available as a
config option on the strip-trailing-whitespace package
2012-12-19 08:45:44 -08:00
Kevin Sawicki
b937e0dfbd Remove unused require 2012-12-18 22:19:22 -08:00
Kevin Sawicki
9ab75fd09b Remove duplicate package 2012-12-18 22:16:17 -08:00
Kevin Sawicki
22d4c679f5 Move status-bar to packages folder 2012-12-18 22:09:02 -08:00