Commit Graph

142 Commits

Author SHA1 Message Date
Corey Johnson
0e4f156cb0 WIP: making folded lines look better 2012-07-06 11:19:19 -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
Corey Johnson & Nathan Sobo
466ad3cfc1 Add #horizontal flexbox container to RootView. TreeView places itself inside it. 2012-04-27 10:24:30 -06:00
Corey Johnson
0a39ca25a9 Pressing 'm' in tree view brings up a move dialog 2012-04-26 17:12:56 -07:00
Nathan Sobo
fd900d5760 TreeView entry selection background is green when TreeView is focused 2012-04-24 13:23:37 -06:00
Nathan Sobo
dd736ddf67 TreeView directories can be selected by clicking them. Start on keyboard nav. 2012-04-24 12:51:01 -06:00
Nathan Sobo
dc8a9f090a When a file is clicked in the tree view, it is opened in the active editor 2012-04-23 17:13:05 -06:00
Nathan Sobo
607dfb4987 Expand/collapse directories when their disclosure arrow is clicked 2012-04-23 15:29:16 -06:00
Nathan Sobo
b23785f28f Display directories first in the tree view. Style file names at same indent as directory names (beyond disclosure arrow) 2012-04-23 15:00:11 -06:00
Nathan Sobo
55c78e9550 Start on TreeView. It renders the entries in the current project's root directory. 2012-04-23 14:20:17 -06:00
Corey Johnson & Nathan Sobo
f652b4e357 Position autocomplete menu above cursor if there isn't room below 2012-04-20 17:18:07 -06:00
Corey Johnson & Nathan Sobo
41a5f217a5 Scroll to selected match when moving up/down in autocomplete menu 2012-04-20 14:55:54 -06:00
Corey Johnson & Nathan Sobo
1a398ffcb9 Use class instead of id for autocomplete 2012-04-20 14:29:00 -06:00
Corey Johnson & Nathan Sobo
9a15f7a02f visual 💄 2012-04-20 11:47:31 -07:00
Nathan Sobo
c0aae15280 Cleanup autocomplete css to accomodate mini-editor 2012-04-19 16:47:04 -06:00