Commit Graph

233 Commits

Author SHA1 Message Date
Nathan Sobo
06e281321b Set z-index on vertical scrollbar so scrollbar can be clicked 2012-11-26 15:06:18 -07:00
Corey Johnson
040575f0ae Add error div to select-list 2012-11-16 11:04:56 -08:00
Nathan Sobo
6a4f2a4478 💩 Forgot to commit the cursor blink stylesheet!
Sorry. It will blink correctly now.
2012-11-16 07:36:35 -07:00
Corey Johnson & Nathan Sobo
3b70df87a7 Remove cursor animation, which slows down screen updates when typing 2012-11-14 11:14:08 -07:00
Corey Johnson & Nathan Sobo
7c16c48e2a Ensure underlayer and overlayer are always the same width as lines
Also… simplify CSS rules for lines element. No display table or padding, instead we just set the min width when typing.
2012-11-09 11:12:33 -07:00
Corey Johnson & Nathan Sobo
d739736997 Add underlayer / overlayer for the selection and cursor
The renderedLines div can now only contain actual lines, nothing else. Thes divs are designed to match the lines div in dimensions and make it easy to put things in front of or behind the text.
2012-11-09 10:43:58 -07:00
Nathan Sobo
f136212677 Eliminate occasional rubber-band effect on document body on scroll 2012-11-07 19:56:49 -07:00
Nathan Sobo
cd9e3b774a Always move the hidden input element to the cursor's screen location
This avoids spuriously auto-scrolling to the left when opening an autocomplete in an editor that's scrolled to the right.
2012-11-07 13:04:54 -07:00
Kevin Sawicki
55d77eea8b Add empty mac stylesheet 2012-11-03 15:28:07 -07:00
Corey Johnson
bef4f9aaa5 💄 2012-11-02 16:09:02 -07:00
Corey Johnson & Kevin Sawicki
3772a4ce1b Add new status icon to status bar 2012-11-02 15:37:05 -07:00
Corey Johnson & Kevin Sawicki
c9f1064d6b Add Git status indicator to status bar 2012-11-02 15:36:35 -07:00
Kevin Sawicki
c24952231e Lighten ignored color 2012-11-02 15:33:38 -07:00
Kevin Sawicki
20c69118ff Decorate ignored files/folders in tree-view 2012-11-02 15:33:38 -07:00
Kevin Sawicki
e4fb12a398 Add octicon to branch label 2012-11-02 15:31:11 -07:00
Nathan Sobo
045cdda41d Fix cursor line highlight style 2012-11-02 12:16:03 -06:00
Nathan Sobo
4539977800 I'm worried overflow:hidden on lines is screwing rendering up
It's hard to reproduce, so I'm going to disable it and see if I see any more artifacts.
2012-11-02 12:12:02 -06:00
Nathan Sobo
c6075b0fa6 Optimize highlighting of the current line in the gutter 2012-11-01 17:37:50 -06:00
Corey Johnson
abfe3b93cc Add css styling to CommandPanel errors 2012-11-01 15:56:24 -07:00
Corey Johnson
837005176c animation 💄 2012-11-01 15:56:23 -07:00
Corey Johnson
933c3415c9 Make sure elements with .error classes are shown as red 2012-11-01 15:56:23 -07:00
Nathan Sobo
42d0c53a60 Use min-width on rendered lines to replace js logic w/ CSS 2012-11-01 11:49:50 -06:00
Corey Johnson & Nathan Sobo
de3bbce29f Only show events w/ descriptions in EventPalette
Also, auto-generate human readable event name in editor. This is a good example of how we could do this automatically for some kind of `onCommand`, `command`, `onInteractiveEvent` method that combines the event name, documentation string, and handler in one shot.
2012-10-19 11:24:40 -06:00
Nathan Sobo
2b8c946a65 Merge branch 'master' into event-palette
Conflicts:
	spec/extensions/fuzzy-finder-spec.coffee
	src/extensions/fuzzy-finder/fuzzy-finder.coffee
2012-10-18 16:33:44 -06:00
Corey Johnson & Nathan Sobo
33b1b66ee4 Merge branch 'invisibles' 2012-10-18 14:44:48 -07:00
Corey Johnson
d3c52ae96d Make invisible coloring less obnoxious 2012-10-18 11:33:19 -07:00
Corey Johnson & Nathan Sobo
d6418b8b94 Set dummy vertical scrollbar width to be as wide as the scrollbar 2012-10-17 17:55:31 -07:00
Kevin Sawicki
033a037ea5 💄 2012-10-11 15:05:02 -07:00
Will Farrington
09024e0dc8 Merge remote-tracking branch 'origin/master' into status-bar-buffer-modified-indicator 2012-10-07 09:13:08 -10:00
Nathan Sobo
081a57b511 Position select lists at the top center like Sublime Text does 2012-10-04 10:26:07 -10:00
Jerry Cheung & Nathan Sobo
b5cb125b7f Select list scrolls to selected item on move-up/move-down 2012-10-04 10:26:06 -10:00
Corey Johnson
905ab5e736 Only highlight line and gutter row if editor is active 2012-10-01 15:44:58 -07:00
Kevin Sawicki
a4ad5829a5 Disable gutter background highlight on multiline selections 2012-10-01 15:44:57 -07:00
Corey Johnson & Kevin Sawicki
6b835920bf Add padding to gutter numbers instead of entire gutter 2012-10-01 15:44:57 -07:00
Kevin Sawicki
be8120e8c6 Add initial support for line highlighting 2012-10-01 15:44:56 -07:00
Kevin Sawicki
4a04fabe9b Add h3 and h4 styles to markdown preview stylesheet 2012-09-30 10:50:14 -07:00
Will Farrington
ef86043252 css style consistency 2012-09-29 19:37:39 -07:00
Will Farrington
da62c5c202 fix display of modified identifier to remain inline 2012-09-29 19:24:56 -07:00
Will Farrington
fb7f5deb94 first spike of buffer modified indicator 2012-09-29 19:18:42 -07:00
Nathan Sobo
dc4d981e2a Fix selector that prohibits weird characters from making lines extra-tall
Now that selectors can nest, this needed to be more permissive
2012-09-28 16:43:41 -06:00
Kevin Sawicki
02fa815459 Highlight the line number of the current cursor row 2012-09-28 09:52:34 -07:00
Kevin Sawicki
758812bd2b Add hover color that is the same as the selected color 2012-09-27 13:46:31 -07:00
Kevin Sawicki
d8011fe853 Add initial markdown preview extension
Uses the GitHub Markdown API to render the current
editor contents for .md and .markdown files.
2012-09-27 13:07:22 -07:00
Kevin Sawicki
71a3842c12 Disable text selection in fuzzy finder list
Mirror the style in the tree view where the
cursor indicates text selection is not possible
2012-09-27 13:07:22 -07:00
Nathan Sobo
5f253d78e9 Optimization: Use absolute positioning instead of flexbox in editor
Flexbox was causing layouts and repaints to cover the entire scroll view instead of just the edited line. This cuts down on DOM manipulation cost significantly.
2012-09-25 14:58:31 -06:00
Nathan Sobo
d3df0a305b Use <pre> tag for lines instead of using white-space: pre css property
One less CSS rule, since the whitespace behavior of a `pre` tag is already baked into the browser's default styles.
2012-09-25 13:09:12 -06:00
Nathan Sobo
e8e9abc0b8 Universal selectors degrade performance, and I can't figure what this did 2012-09-25 12:51:22 -06:00
Corey Johnson
1168404d6d Merge remote-tracking branch 'origin/master' into making-things-easy 2012-09-19 16:12:46 -07:00
Kevin Sawicki
e9abf1e3b9 Add wrap guide extension
Initially places a vertical line in each editor
at 80 characters.
2012-09-19 11:28:20 -07:00
Corey Johnson
3026c7767b Add doctype to index.html and css styles to make html take up 100% of the screen. 2012-09-11 08:45:47 -07:00