Commit Graph

240 Commits

Author SHA1 Message Date
Nathan Sobo
acc0503684 Merge remote-tracking branch 'origin/master' into config
Conflicts:
	src/app/keymap.coffee
	src/extensions/outline-view/src/keymap.coffee
	src/extensions/outline-view/src/tag-reader.coffee
	src/packages/fuzzy-finder/spec/fuzzy-finder-spec.coffee
	src/packages/fuzzy-finder/src/fuzzy-finder.coffee
2012-12-18 20:32:05 -07:00
Kevin Sawicki
d0a213b2b1 Move octicon values to content property 2012-12-11 17:13:25 -08:00
Kevin Sawicki
707996dcb1 Move branch icon value to content attribute 2012-12-11 16:57:45 -08:00
Corey Johnson & Nathan Sobo
d4f44f6554 Give selection view '.selection' class and region divs '.region' class 2012-11-30 12:52:38 -07:00
Corey Johnson & Nathan Sobo
f09fefb780 Selection color is set in themes 2012-11-30 12:44:19 -07:00
Corey Johnson & Nathan Sobo
c7363b3347 Highlight selection w/ animation when autoscroll is true 2012-11-30 12:44:12 -07:00
Corey Johnson & Nathan Sobo
1aa8f26e94 Scrolling does not jerk to a stop when scrolling w/ a trackpad
When scrolling with a trackpad, webkit repeatedly triggers multiple mousewheel events on the original event's target element to simulate the velocity effect we're accustomed to with touchscreen UIs. When scrolling quickly, this clashed with our strategy of removing off-screen lines, because the element was removed before the velocity were done firing.

The solution is to make the overlayer accept mouse events. It lays on top of all the lines, so it is never removed and therefore allows the mousewheel events to run to completion. But, this means we need to transfer mousedown events from the overlayer to the underlying lines.
2012-11-28 12:25:14 -07:00
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