Commit Graph

708 Commits

Author SHA1 Message Date
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
Nathan Sobo
9fab492f66 Fix horizontal split inside top-level vertical split. 2012-03-19 12:37:53 -06:00
Nathan Sobo
29d0e1fe3d Move all screen-splitting-related selectors to atom.css 2012-03-19 12:23:39 -06:00
Nathan Sobo
5b145f64c2 Add vertical splitting. Still some issues with some nested arrangements. 2012-03-19 12:15:37 -06:00
Nathan Sobo
509bac15b6 Cursor is colored / blinks on on focused editor pane 2012-03-19 09:31:03 -06:00
Corey Johnson & Nathan Sobo
2e42df3401 WIP: alt-meta-right splits editor pane to the right 2012-03-19 08:34:37 -06:00
Nathan Sobo
0aeb826bbf Don't display a margin below file-finder list when it's empty 2012-03-16 11:29:48 -06:00
Nathan Sobo
5d1bde62a6 Ensure gutter drop-shadow always extends to bottom of window, even if file is shorter.
This is fragile. Had to apply a min-height of 100% to horizontal scroller. If I apply it to gutter it causes rendering artifacts. I think we're on the edge of the flexbox code here and may even be causing crashes.
2012-03-16 05:49:03 -06:00
Nathan Sobo
174c4e18cc Fix scrolling misbehavior and display artifacts.
Switching back to the new flexbox and re-introducing a scrollable-content node that the flexbox is applied to. This has no height settings so it grows to contains the gutter and lines. The editor outside of it has a width / height of 100% of its container plus overflow-y of scroll. Trying to apply flexbox AND a 100% height + scroll all to the editor causes display artifacts.
2012-03-16 05:41:43 -06:00
Corey Johnson & Nathan Sobo
fd5439f357 Simplify layout and prevent scrollbar flash when toggling file finder. 2012-03-15 17:18:26 -06:00
Nathan Sobo
60056e57fb Use an editor in the file finder instead of an input element. 2012-03-15 13:41:37 -06:00
Nathan Sobo
601cf41108 Fix bug where file-finder pushed editor up.
For now, I'm removing the flexbox treatment of #app-vertical because the file finder just needs to overlay the bottom and absolute positioning is simpler. I'm also using requireStylesheet to load the file finders CSS instead of a link tag.
2012-03-14 18:28:23 -06:00
Nathan Sobo
f02244412f Disable scrolling on the horizontal scroller when soft wrap is on. 2012-03-13 12:13:47 -06:00
Nathan Sobo
6d303aad18 Add a horizontal-scroller to address selection issues when scrolled right
The lines element is now display: table and contained inside of the
scroller. This means the lines element always expands to contain all
lines, which allows absolute positioning inside of it to be relative to
the entire scroll contents, not just to the currently visible area.
2012-03-08 11:23:05 -07:00
Corey Johnson
3a6b3e6650 💄 2012-03-07 11:42:39 -08:00
Corey Johnson
29c697faaa Disable auto-scroll and make overflow-x hidden when soft-wrap is enabled 2012-03-07 11:29:33 -08:00
Corey Johnson & Nathan Sobo
696948cc9b Gutter is renders line numbers when buffer is assigned. 2012-03-02 16:13:29 -08:00
Corey Johnson & Nathan Sobo
b3c4fd5cce Add a nonfunctional gutter to editor layout. 2012-03-02 15:42:04 -08:00
Corey Johnson & Nathan Sobo
ebca007ca4 Merge branch 'chrome' 2012-03-01 16:24:01 -08:00