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
Corey Johnson & Nathan Sobo
038b491247
Add 'mini' option to editor, which styles it with auto-height, no gutter, and overflow hidden on scroller
2012-04-19 16:45:57 -06:00
Corey Johnson
bee683245b
move-up, move-down change selection in autocomplete
2012-04-18 10:23:15 -07:00
Corey Johnson
d41ac6626f
Autocomplete extends View
2012-04-17 17:37:19 -07:00
Nathan Sobo
77ba75a4c6
Trying to position at the bottom. We need a better flexbox impl
2012-04-17 13:41:31 -06:00
Nathan Sobo
08b661e3bf
Fix panes CSS to apply borders to nested rows / columns again
2012-04-12 15:59:55 -06:00
Corey Johnson & Nathan Sobo
416a15e3af
Editors in #panes are always contained by .pane wrappers
...
This prepares us to refactor the split view and editor state code into Column, Row, and Pane objects.
2012-04-11 18:37:22 -06:00
Nathan Sobo
144fb29d83
Make lines have 100% height so the area below last line is clickable
2012-04-11 14:28:26 -06:00
Nathan Sobo
8a4f6510c9
Lighten selections because they're hard to see against darker bg
2012-04-04 11:09:45 -06:00
Nathan Sobo
d521dab2cf
Horizontal scrollbar is always visible, and clicking scrollbars doesn't move cursor.
...
The editor is divided into gutter and scroller. The gutter is scrolled to the correct vertical position whenever the lines are scrolled inside of scroller.
2012-04-03 15:01:28 -06:00
Nathan Sobo
a4c25dc678
Flash red when entering a malformed command in the command panel
2012-03-28 16:11:44 -07:00
Corey Johnson & Nathan Sobo
b2cd059759
Set .hidden-input to fixed position so we don't have to move it when the cursor moves
2012-03-23 10:13:41 -07:00
Nathan Sobo
a91c8098a3
Style the command palette with a ":" before the editor.
2012-03-20 20:35:00 -06:00
Nathan Sobo
e5eedfb7c7
Meta-: toggles the command palette
2012-03-20 19:59:37 -06:00
Nathan Sobo
8ea4b4eb72
File finder opens selected file in the most recent pane.
...
Only editors inside #root-view #panes are tracked as the most recent active editor. Otherwise the file finder tries to open the selected file in its own mini editor.
2012-03-20 15:51:22 -06:00
Nathan Sobo
c0dd87665a
Add a border and subtle inset shadow when panes are split.
2012-03-19 17:01:52 -06:00
Nathan Sobo
81e5a10ddd
Perform vim-style editor pane splitting
...
Using percentage dimensions to absolutely position the panes on screen where they need to be located. Flexbox would have been nice, but unfortunately I could not work around what seem to be bugs (or at least major inconveniences) in its current implementation.
2012-03-19 16:48:13 -06:00