Nathan Sobo
7970b876dc
Remove directory watch when directory view is removed
2012-04-25 17:37:32 -06:00
Corey Johnson & Nathan Sobo
5aed1b012a
PathWatcher executes callback when path is changed
2012-04-25 13:49:53 -07:00
Corey Johnson & Nathan Sobo
3f97d98ef9
Start on directory change events
2012-04-25 11:33:44 -06:00
Corey Johnson & Nathan Sobo
ddc29f294c
💄
2012-04-25 10:40:21 -06:00
Nathan Sobo
3fe6a699cc
Pressing enter in TreeView opens selected file or toggles selected directory
2012-04-24 18:19:24 -06:00
Nathan Sobo
7e7d37859f
Right arrow collapses directories in TreeView
2012-04-24 18:08:29 -06:00
Nathan Sobo
48069dc898
Right arrow expands the selected directory in TreeView
2012-04-24 17:31:46 -06:00
Nathan Sobo
9a1d3e00b2
Implement moving-up in tree view
2012-04-24 16:43:51 -06:00
Nathan Sobo
35b68514ed
Down-arrow selects the next entry in the file browser, correctly traversing the file hierarchy
2012-04-24 13:58:37 -06:00
Nathan Sobo
fd900d5760
TreeView entry selection background is green when TreeView is focused
2012-04-24 13:23:37 -06:00
Nathan Sobo
2e49f12119
Don't change the selection when expanding directories
2012-04-24 13:13:22 -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
34a4bcf224
Clone serialized view state in editor before modifying it in place
2012-04-24 12:50:32 -06:00
Nathan Sobo
590352b079
RootView emits an 'active-editor-path-change' event whenever the path of the active editor changes for any reason (buffer path change, new buffer opened, focus changes)
2012-04-24 12:50:00 -06:00
Nathan Sobo
3d382955cc
When focus changes to a different editor, highlight its open file in the TreeView
...
Trigger 'active-editor-path-change' event whenever active editor changes or the path of the active editor changes. Rename 'buffer-path-change' to 'editor-path-change' to emphasize that it's the path open in an *editor* that's changing.
2012-04-24 08:51:11 -06:00
Nathan Sobo
a8e476b505
When the directory containing the current active editor's file is expanded, select the file
2012-04-23 17:28:30 -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
ea6930af54
Expanded/collapsed state of directories is preserved when an ancestor is collapsed
2012-04-23 16:23:57 -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
Nathan Sobo
634a15cfb1
Move extensions into src/extensions directory
2012-04-23 10:54:56 -06:00
Nathan Sobo
89ed9f39f1
Strip only trailing whitespace, not newlines. Also, strip *all* trailing whitespace, not just the first.
2012-04-23 10:33:28 -06:00
Nathan Sobo
802a4259e9
Move-to-first-character-of-line no longer explodes on empty lines
2012-04-20 18:11:01 -06:00
Corey Johnson & Nathan Sobo
a6afc319c6
Mini-editors ignore the 'close' event
2012-04-20 17:59:40 -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
11c465b7fd
Canceling autocomplete restores text and selection, even if selection has changed before cancel
2012-04-20 17:17:50 -06:00
Corey Johnson & Nathan Sobo
9d2b005174
When an autocomplete match is clicked, the match is selected and confirmed
2012-04-20 15:41:31 -06:00
Corey Johnson & Nathan Sobo
f0c36ada89
Don't activate autocomplete on its own mini editor
2012-04-20 15:15:55 -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
bca7ced632
Editor prevents bubbling on all events it handles
2012-04-20 11:49:24 -07:00
Corey Johnson & Nathan Sobo
34c3bdfe36
Determine autocomplete position before filtering matches
2012-04-20 11:48:33 -07:00
Corey Johnson & Nathan Sobo
caaa517b8b
Load user's .atom config after root view is attached
2012-04-20 11:47:55 -07:00
Corey Johnson & Nathan Sobo
df219f2ad5
Autocomplete.activate enables autocomplete for all current and future editors.
...
Also attach autocomplete view to editor instead of document.body
2012-04-20 11:23:08 -07:00
Corey Johnson & Nathan Sobo
2afb28ee91
Editor returns false when TextInput events are handled
2012-04-20 11:17:40 -07:00
Corey Johnson
aac511deff
💄
2012-04-20 10:38:27 -07:00
Nathan Sobo
f965979fb8
Merge branch 'master' of github.com:github/atom
2012-04-20 11:03:42 -06:00
Nathan Sobo
7b984f3743
Don't throw exception when confirming autocomplete with no matches
2012-04-20 11:03:25 -06:00
Corey Johnson
82864d683a
Removing text from Autocomplete's mini-editor refilters match list
2012-04-20 09:23:19 -07:00
Corey Johnson
01865e07fd
Remove autocomplate:toggle, replace with autocomplete:attach and autocomplete:cancel
2012-04-20 08:41:56 -07:00
Corey Johnson
56a55299be
💄
2012-04-19 18:13:05 -07:00
Corey Johnson
eaf7ee8ec1
Only emit editor-open event once (on first attachment)
2012-04-19 18:12:55 -07:00
Corey Johnson & Nathan Sobo
800f16bb29
Editor emits an editor-open event when attached
2012-04-19 17:56:08 -07:00
Nathan Sobo
0024cf89de
Auto-complete matches can be fuzzy-filtered. Typing non-word characters confirms the match automatically.
...
Extract fuzzyFilter function into a file that is shared between file finder and autocompleter. Fix jQuery.fn.preempt to pass its arguments to the event handler.
2012-04-19 18:17:08 -06:00
Nathan Sobo
cdd824960e
Bind enter and escape on autocomplete menu's mini-editor
2012-04-19 16:47:34 -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 & Nathan Sobo
6ea9901ef2
Autocomplete uses miniEditor
2012-04-19 14:59:02 -07:00
Corey Johnson & Nathan Sobo
12a150b446
Move cursor to end of completed word on confirm
2012-04-19 12:32:44 -06:00
Corey Johnson & Nathan Sobo
905f91a179
💄
2012-04-19 12:09:45 -06:00