Commit Graph

155 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
430fc0eff1 Put a bit more space between editor lines 2012-08-01 17:16:15 -06:00
Nathan Sobo
6de055aa1c Lines aren't taller when they contain an Inconsolata em dash (–) character 2012-08-01 17:04:33 -06:00
Corey Johnson
0c15b0f7be Remove width 100% from .commandPanel (it was not needed and now command panels border is consistent) 2012-07-26 10:19:13 -07:00
Nathan Sobo
454557b502 Merge branch 'master' into global-find
Conflicts:
	spec/extensions/command-panel-spec.coffee
	src/app/buffer.coffee
	src/extensions/command-panel/command-panel.coffee
	src/extensions/command-panel/keymap.coffee
2012-07-24 17:59:49 -06:00
Nathan Sobo
5ebcabb813 Fix preview list cursor styling 2012-07-23 20:14:15 -06:00
Nathan Sobo
07cd01571e Apply some more styling, for better or worse :-) 2012-07-23 20:02:32 -06:00
Nathan Sobo
8f0c8633f8 Move-up / move-down on command panel change the selected operation 2012-07-23 15:01:03 -06:00
Corey Johnson & Nathan Sobo
cc292b604d Select preview item when preview list is shown 2012-07-20 14:19:19 -07:00
Corey Johnson
52d60df272 Stylize command panel preview 2012-07-18 09:22:32 -07:00
Corey Johnson
a5032e3811 PreviewItem displays matched text 2012-07-17 20:12:57 -07:00
Corey Johnson & Nathan Sobo
faea4aedcc Show preview list when X x operation completes 2012-07-17 18:39:29 -06:00
Corey Johnson
e089b74867 Editor.renderedLines' css width is set to 100% when editor.maxScreenLineLength() is less than Editor.scrollView's width 2012-07-16 09:14:33 -07:00
Corey Johnson & Nathan Sobo
d44c648d4b Editor.renderedLines' width is set to the maximum of either Editor.scrollView's width or the maximum rendered line width 2012-07-13 09:05:38 -07:00
Corey Johnson & Nathan Sobo
c39172d625 Change fold colors for twilight theme 2012-07-13 09:04:22 -07:00
Nathan Sobo
3ee7c0dc0f "Scroll" gutter by relatively positioning its line numbers
This matches how we scroll lines, and eliminates opportunities for the gutter to get out of sync with the lines. If that happened, it would probably be a bug, but this at least eliminates one source of confusion when debugging.
2012-07-03 11:09:34 -06:00
Nathan Sobo
4aed73d947 Selections don't absorb click events
Clicking on a selection was causing the click event not to reach the editor, which was causing the editor to lose focus. Using CSS to disallow pointer events on selection region elements fixes this.
2012-06-29 13:34:01 -06:00
Nathan Sobo
5ea1e6f05c Merge remote-tracking branch 'origin/select-from-file-finder'
Conflicts:
	src/extensions/fuzzy-finder.coffee
	static/fuzzy-finder.css
2012-06-29 10:40:34 -06:00
Nathan Sobo
ed48622a3a Rename FileFinder to FuzzyFinder, which will make more sense when we can also use it to fuzzy-find on open buffers 2012-06-28 11:35:30 -06:00
Kevin Sawicki
7b15e18c98 Support clicking on entries in file finder
Add a hover color and register a mousedown listener
that opens the selected path.
2012-06-07 18:33:39 -07:00
Corey Johnson
6952e09646 Moved font-size back to 'px' and fixed specs 2012-06-01 11:06:13 -07:00
Corey Johnson
3c826ec898 Use 'pt' instead of 'px' for font sizes 2012-06-01 11:06:13 -07:00
Corey Johnson
1a9566d954 Merge branch 'master' into binding-viewer 2012-05-31 15:55:23 -07:00
Corey Johnson
130361fc1c Keybinding view is an extension 2012-05-31 15:54:40 -07:00
Nathan Sobo
b1573438a7 Kill inset box-shadow on editor frame because it slows down repaint 2012-05-30 10:51:02 -06:00
Corey Johnson
cbf5c5d16c ctrl-? brings up keybindings for focused view.
it is very ugly.
2012-05-29 17:59:00 -07:00
Nathan Sobo
7c105a0446 Tweak fold line colors
The deselected orange is now a darkened version of the orange used for coffeescript arrows in the twilight theme. The selected color is now a green based on the color of the cursor, to lend a feeling of similarity between the fold line and the cursor.
2012-05-25 12:46:27 -07:00
Corey Johnson & Nathan Sobo
f8c3d89e60 When folds are selected they are highlighted 2012-05-24 16:39:14 -07:00
Corey Johnson & Nathan Sobo
c11ee74405 Remove unused css 2012-05-24 14:08:32 -07:00
Nathan Sobo
527e243d1a Style fold lines a bit 2012-05-21 14:30:35 -07:00
Nathan Sobo
96d92be230 Rename Editor.scrollbar to verticalScrollbar for clarity 2012-05-11 13:45:57 -06:00
Nathan Sobo
b64e9ae10f Rename Editor.scroller to Editor.scrollView to distinguish it from the vertical scrollbar.
Also, base edit session scroll top on the scrollbar instead of the scrollView.
2012-05-11 13:42:57 -06:00
Corey Johnson & Nathan Sobo
c93c63d721 Editor.scroller WheelEvents are forwarded to Editor.scrollbar 2012-05-11 11:04:04 -07:00
Corey Johnson & Nathan Sobo
9427c82084 WIP: Getting specs passing with new stand-in vertical scrollbar 2012-05-11 11:52:03 -06:00
Corey Johnson & Nathan Sobo
1a6ef9d7e2 Revert "Temporarily disable gutter. Add transition affect to margin-top."
This reverts commit 811e5264cf.
2012-05-10 18:00:58 -06:00
Corey Johnson & Nathan Sobo
811e5264cf Temporarily disable gutter. Add transition affect to margin-top. 2012-05-10 17:52:41 -06:00
Corey Johnson & Nathan Sobo
502b463a72 WIP: Adding an artificial scrollbar so we can render content before we scroll. It's blue. 2012-05-10 16:59:46 -06:00
Corey Johnson & Nathan Sobo
d3127a2686 slowed cursor blink down 2012-05-09 12:24:27 -07:00
Nathan Sobo
8b1ac28b89 Editor font sizes can be adjusted with RootView.proto.setFontSize 2012-05-09 08:34:08 -06:00
Nathan Sobo
79315b0ef6 Merge branch 'master' of github.com:github/atom
Conflicts:
	static/command-panel.css
2012-05-08 15:11:27 -06:00
Corey Johnson
77baa7be09 Extract command panel as an extension 2012-05-08 13:49:06 -07:00
Nathan Sobo
a59c96d3a9 Flash red and show an error message when there's an error on moving a file 2012-05-08 14:18:21 -06:00
Nathan Sobo
b528196d1b Refactor AddDialog and MoveDialog into a single Dialog class 2012-05-08 13:16:52 -06:00
Nathan Sobo
eeb28111f3 Double clicking a file changes focus to editor. Double clicking a directory toggles expansion. Single clicking doesn't ever change focus away from tree view. 2012-05-07 14:55:33 -06:00
Nathan Sobo
f41ca1843b Make editor scroller overflow be auto, not scroll 2012-05-07 12:35:25 -06:00
Nathan Sobo
37438c6da8 Status bar path and cursor position updates 2012-05-04 13:58:11 -06:00
Corey Johnson & Nathan Sobo
28ff26e845 Merge branch 'master' into statusbar
Conflicts:
	src/app/editor.coffee
	src/app/project.coffee
	src/app/root-view.coffee
2012-05-04 11:41:13 -06:00
Corey Johnson & Nathan Sobo
5a836f5aaf Tree view resonds to tree-view:add events 2012-04-30 12:04:17 -07:00
Nathan Sobo
18ccee32b8 Add a prompt to the move dialog 2012-04-27 17:27:08 -06:00
Corey Johnson & Nathan Sobo
4ca75b02c5 Move-dialog overlays the bottom of the RootView instead of appearing next to the element 2012-04-27 10:39:55 -06:00
Corey Johnson & Nathan Sobo
d737d97a81 Merge branch 'master' of github.com:github/atom 2012-04-27 10:25:45 -06:00