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
e433e08c78
Revert "WIP: Don't actually scroll the lines… just play with their margin to make them look like they scroll"
...
This reverts commit b3206a5a8b .
2012-05-10 18:05:25 -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
b3206a5a8b
WIP: Don't actually scroll the lines… just play with their margin to make them look like they scroll
2012-05-10 17:30:06 -06:00
Corey Johnson & Nathan Sobo
f0d4999fa4
Nix console.log on scroll.
2012-05-10 17:13:00 -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
02da32d372
Update visible lines when scrolling up
2012-05-10 16:11:05 -06:00
Corey Johnson & Nathan Sobo
43ac7edf0f
Scrolling to bottom renders correct lines
...
When we scroll more than a single screen's worth of lines, the new first visible screen row ends up exceeding the previous last rendered screen row, so we need to use the maximum of the two when deciding which new rows to render.
2012-05-10 15:15:34 -06:00
Corey Johnson & Nathan Sobo
c5d2616155
WIP: Removing lines that are no longer visible
2012-05-10 12:08:58 -07:00
Corey Johnson & Nathan Sobo
22548141d7
Editor updates lines when it is resized
2012-05-10 11:14:03 -07:00
Corey Johnson & Nathan Sobo
f6e9d99865
Editor only does not pre-build lines, it only builds them when they are visible on the screen
2012-05-10 10:40:16 -07:00
Nathan Sobo
1e2d333a15
WIP: working on only rendering on-screen lines. still half-baked.
2012-05-10 09:27:04 -06:00
Corey Johnson & Nathan Sobo
5ae40a3cb8
Editor only renders lines when it is attached to the DOM
2012-05-09 19:19:54 -06:00
Corey Johnson & Nathan Sobo
8f77211f04
Cursor.getBeginningOfCurrentWordBufferPosition only uses the previous 2 lines for its scan range.
...
previous: editor.9000-line-file.at-end.move-to-beginning-of-word: 4695 / 100 = 46.95ms
new: editor.9000-line-file.at-end.move-to-beginning-of-word: 1618 / 100 = 16.18ms
2012-05-09 12:24:27 -07:00
Nathan Sobo
5b7ea95a11
Meta+ and meta- change the editor font size
2012-05-09 10:57:25 -06:00
Nathan Sobo
f2f44b9ab6
Can match key patterns with the '-' character
...
Add a parser to parse keystroke patterns instead of splitting on '-' with a regex
2012-05-09 10:56:31 -06:00
Nathan Sobo
8b1ac28b89
Editor font sizes can be adjusted with RootView.proto.setFontSize
2012-05-09 08:34:08 -06:00
Corey Johnson & Nathan Sobo
4665321b37
Project.getFilePaths does not traverse into ignored directories
2012-05-08 17:59:38 -07:00
Corey Johnson
4bd4b0d496
When there is a selection, tab/shift-tab indent/outdent selected text
2012-05-08 14:40:47 -07:00
Nathan Sobo
897f505e4f
Meta-/ (tree-view:toggle) attaches / detaches the TreeView
2012-05-08 15:35:03 -06:00
Corey Johnson
77baa7be09
Extract command panel as an extension
2012-05-08 13:49:06 -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
Corey Johnson
f4c5536391
Add path-change event to Project
2012-05-08 09:45:39 -07:00
Nathan Sobo
af2263f49b
Don't activate TreeView extension in window. It was breaking specs.
2012-05-07 19:46:49 -06:00
Nathan Sobo
648649d472
Merge branch 'master' of github.com:github/atom
...
Conflicts:
spec/app/root-view-spec.coffee
src/app/root-view.coffee
2012-05-07 19:38:01 -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
Corey Johnson
e4125448ec
Make RootView.initialize unaware of deserialization.
...
When RootView is created without a pathToOpen, no editor is created.
2012-05-07 17:51:08 -07:00
Corey Johnson
f75755e90b
Backspace/delete removes a file from the file finder
2012-05-07 15:29:52 -07: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
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
670717ca3b
RootView deactivates extensions when it is deactivated
2012-05-03 17:31:37 -07:00
Corey Johnson & Nathan Sobo
f3c89240a3
Rename RootView.registerExtension() to RootView.activateExtension()
2012-05-03 17:13:09 -07:00
Corey Johnson & Nathan Sobo
5864fa5145
Add RootView.registerExtension()
2012-05-02 15:25:57 -07:00
Corey Johnson
4d0a0b824f
make emacs movement bindings global
2012-05-02 14:39:48 -07:00
Corey Johnson
a81105ee38
Change specificity of tree-view:focus (so it can be focused when there is no editor present)
2012-05-02 08:39:05 -07:00
Corey Johnson
f64e258c75
alt-tab toggles between active editor and tree view
2012-05-02 08:27:35 -07:00
Corey Johnson
d04be05e95
Root view sets project's path using project.setPath(path)
2012-05-01 10:00:53 -07:00
Corey Johnson
28f39cbdab
When project's constructor is given a file as its path, it sets its path to the parent directory of the given file
2012-05-01 09:18:22 -07:00
Corey Johnson
acae9d63ca
fs.directory does not append a trailing '/' to directories
2012-05-01 08:41:35 -07:00
Corey Johnson & Nathan Sobo
5a836f5aaf
Tree view resonds to tree-view:add events
2012-04-30 12:04:17 -07:00
Nathan Sobo
abcf71af8b
Focus the root view when canceling the move dialog.
...
This is temporary, because we really want to focus the tree view, but less annoying for now than losing focus entirely.
2012-04-27 18:08:30 -06:00
Corey Johnson & Nathan Sobo
69a76d1b47
Can move files from the tree view
2012-04-27 14:18:55 -07: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
fb6a967a18
EventEmitter.off with no args removes all subscriptions
2012-04-26 15:54:12 -06:00