Commit Graph

100 Commits

Author SHA1 Message Date
Corey Johnson
26a2f51a03 Append autocomplete to editor instead of renderedLines 2012-06-11 15:48:03 -07:00
Nathan Sobo
2161336c78 Move logic out of CompositeSelection into EditSession 2012-06-08 17:46:14 -06:00
Corey Johnson
4b68fa3cae Remove detach recursion from autocomplete cancel.
miniEditor.focusOut was causing cancel to be called multiple times.
2012-06-05 13:43:03 -07:00
Corey Johnson
33053b08b4 💄 2012-06-05 13:43:02 -07:00
Corey Johnson
0cfb2e9ef4 Rename Editor.visibleLines to Editor.renderedLines 2012-06-04 17:53:58 -07:00
Corey Johnson
7364ea79cc TreeView serializes its attached state 2012-06-04 16:02:50 -07:00
Nathan Sobo
58c082445b Merge branch 'master' of github.com:github/atom 2012-06-01 14:01:44 -06:00
Nathan Sobo
2baf374937 Newline at end of file 💄 2012-06-01 14:01:00 -06:00
Corey Johnson
30d07fd1a0 Rename Buffer.numLines to Buffer.getLineCount 2012-06-01 11:25:58 -07:00
Nathan Sobo
118a48bb47 Fix bug where canceling an autocomplete could delete a previously confirmed completion 2012-06-01 12:00:58 -06:00
Corey Johnson
130361fc1c Keybinding view is an extension 2012-05-31 15:54:40 -07:00
Nathan Sobo
5045d68be2 2012-05-16 14:47:09 -06:00
Nathan Sobo
92395a9cfb Merge branch 'master' of github.com:github/atom
Conflicts:
	src/app/editor.coffee
2012-05-16 14:07:44 -06:00
Nathan Sobo
2d8ba3b1ee Use translate3d to scroll lines / gutter in attempt to improve repaint.
Also: Add custom scrollTop method to editor that manages all the custom optimizations we are doing around scrolling.
2012-05-16 13:47:59 -06:00
Nathan Sobo
66b711a026 Kill logging 2012-05-16 13:46:36 -06:00
Corey Johnson
399fc71b3c Make Atom SpacePen view's default to empty object (where needed) 2012-05-16 10:35:50 -07:00
Corey Johnson
55e3f94a35 Remove log 2012-05-16 10:33:05 -07:00
Corey Johnson & Nathan Sobo
abc230eee3 Fix bug: file finder correctly focuses editor after opening a file. 2012-05-14 16:35:03 -06:00
Corey Johnson & Nathan Sobo
af65bd785c fix test failures 2012-05-11 16:06:42 -07:00
Corey Johnson & Nathan Sobo
d51b229d56 When the editor buffer changes and the path is not visible in the TreeView, It selects the closes ancestor entry of that file. 2012-05-11 15:44:18 -07:00
Corey Johnson & Nathan Sobo
2f86a3a6e5 TreeView starts with root being selected 2012-05-11 14:31:48 -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
d76cc521bd When no words are found, autocomplete does not raise an exception 2012-05-10 10:39:09 -07:00
Corey Johnson & Nathan Sobo
3fcc9b9a0c optimization: Use hash instead of _.unique when building autocomplete word list 2012-05-09 16:12:49 -07:00
Nathan Sobo
c734e1e41b Remove @previouslyActiveElement from file finder. Always focus the root view on detach. 2012-05-08 20:14:35 -06:00
Nathan Sobo
dc4529887a File finder detaches itself when it loses focus 2012-05-08 20:07:49 -06:00
Corey Johnson
d9d78ada51 File finder calls detach (instead of remove) when a file is selected 2012-05-08 15:35:34 -07:00
Corey Johnson
d35efb6241 When FileFinder is canceled, it refocuses previously focused element 2012-05-08 15:35:01 -07:00
Corey Johnson
bc3b982514 Rename fileFinder.editor to fileFinder.miniEditor 2012-05-08 15:09:19 -07:00
Nathan Sobo
897f505e4f Meta-/ (tree-view:toggle) attaches / detaches the TreeView 2012-05-08 15:35:03 -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
Nathan Sobo
d181cdedbd Handle errors when attempting to add a file from the TreeView 2012-05-08 15:08:15 -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
Corey Johnson
935ae3323e Rename class var @treeView to @instance 2012-05-08 13:17:25 -07:00
Corey Johnson
cb45675f14 Remove @path var from project 2012-05-08 13:02:14 -07:00
Nathan Sobo
b528196d1b Refactor AddDialog and MoveDialog into a single Dialog class 2012-05-08 13:16:52 -06:00
Nathan Sobo
5645f76289 Merge branch 'master' of github.com:github/atom 2012-05-08 11:28:50 -06:00
Nathan Sobo
01add56985 Can move files to non-existent directories 2012-05-08 11:28:19 -06:00
Corey Johnson
8a921d2799 When the project's path changes, the TreeView's root directory updates. 2012-05-08 09:57:01 -07:00
Corey Johnson
7e32d73d73 TreeView doesn't raise exceptions when RootView's project has no path. 2012-05-08 09:02:35 -07:00
Nathan Sobo
7017aef3bb Don't add single-line class to editor in command panel and file finder… it's defunct 2012-05-07 19:34:50 -06:00
Nathan Sobo
b554318048 Clear file finder's mini-editor between togglings 2012-05-07 19:33:17 -06:00
Nathan Sobo
31163f1d8c Convert FileFinder to a proper extension and remove references from RootView code 2012-05-07 19:30:07 -06:00
Nathan Sobo
81b7105a52 Merge branch 'master' of github.com:github/atom 2012-05-07 17:31:26 -06:00
Nathan Sobo
2c8bb91d85 Autocomplete is cancelled if the mini editor loses focus before a selection is confirmed 2012-05-07 17:31:14 -06:00
Corey Johnson
2285f764f3 Pressing left arrow on collapsed tree view root no longer raises an exception 2012-05-07 15:39:17 -07:00
Corey Johnson
f75755e90b Backspace/delete removes a file from the file finder 2012-05-07 15:29:52 -07:00
Nathan Sobo
e60e68b69d Focus the root view when file finder closes, not an editor. Will test this when we extract it as an extenison. 2012-05-07 15:20:13 -06:00