Corey Johnson & Nathan Sobo
d36873f702
Rename Project.open to Project.buildEditSessionForPath
2012-07-18 11:20:13 -07:00
Corey Johnson
52d60df272
Stylize command panel preview
2012-07-18 09:22:32 -07:00
Corey Johnson
bd9cbde54c
More specific tests for command panel previews
2012-07-17 20:12:21 -07:00
Corey Johnson & Nathan Sobo
faea4aedcc
Show preview list when X x operation completes
2012-07-17 18:39:29 -06:00
Nathan Sobo
dcb8fd71e0
Convert a command panel spec to integration-style to prepare for command preview
2012-07-17 17:03:19 -06:00
Nathan Sobo
0bc9973d9f
Don't set the ':' prompt font in command panel because it looks bad afterward
2012-07-17 16:54:29 -06:00
Nathan Sobo
d8189a6fc4
"X x/regex/" command returns operations
...
Also, passing an EditSession is optional when calling CommandInterpreter.eval. X commands don't require it, but other commands will throw exceptions if it's missing.
2012-07-17 16:32:20 -06:00
Corey Johnson & Nathan Sobo
34e96fb8d7
WIP: Adding find all matches in project command
2012-07-17 14:26:12 -06:00
Corey Johnson & Nathan Sobo
c3fe9aa0b3
Implement refcounting scheme on Buffer
2012-07-17 14:24:33 -06:00
Nathan Sobo
330e9cebd9
Make it possible for command compilation to be async by returning promises
2012-07-17 12:02:45 -06:00
Nathan Sobo
512c1bfdb9
Merge branch 'master' into global-find
2012-07-16 14:56:24 -06:00
Corey Johnson
95c3ea1b74
Rename insert tab event to indent
2012-07-16 10:34:02 -07:00
Nathan Sobo
075968e42c
Associate compiled operations with anchor ranges. All tests pass again.
...
This allows them to update their target range in the face of upstream changes.
2012-07-13 19:46:08 -06:00
Corey Johnson & Nathan Sobo
fd24b82d47
WIP: Converting to operations, but substitution operations need anchor ranges
2012-07-13 18:30:10 -06:00
Corey Johnson & Nathan Sobo
42f322a112
CommandInterpreter uses project and edit sessions instead of editor to execute
...
We don't want to pass view objects into it!
2012-07-13 15:10:37 -06:00
Corey Johnson & Nathan Sobo
8e3c3a13a9
Substitution commands don't change editor selection
2012-07-12 17:59:45 -06:00
Corey Johnson & Nathan Sobo
478a334b73
Redoing a snippet expansion restores tab stops to the *current* edit session
2012-07-06 12:12:14 -07:00
Corey Johnson & Nathan Sobo
d6912c5913
When a snippet expansion is redone, tab stops are restored
2012-07-06 11:50:42 -07:00
Corey Johnson & Nathan Sobo
9f9c636883
When snippet expansion is undone, the snippet is destroyed
...
This is still in progress. You can't *redo* snippet expansion and restore tab stops. Also, this commit performs all changes associated with snippet expansion in a transaction.
2012-07-06 12:10:14 -06:00
David Graham & Nathan Sobo
45a45bcbc8
Disable failing snippets spec for now
2012-07-05 17:17:42 -06:00
Nathan Sobo
d53be3b28d
Add failing spec demonstrating inability to undo snippet expansion
2012-07-05 16:41:37 -06:00
Nathan Sobo
43f51b9689
💄 Replace editor.getBuffer().setText(…) w/ editor.setText(…)
2012-07-04 12:45:06 -06:00
Nathan Sobo
b254fa39d9
💄 Replace editor.getBuffer().getText() w/ editor.getText()
2012-07-04 12:41:51 -06:00
Nathan Sobo
6d7a6f9a92
💄 Replace editor.getBuffer().getPath() w/ editor.getPath()
2012-07-04 12:40:17 -06:00
Nathan Sobo
39ce15c3fa
Merge branch 'master' of github.com:github/atom
2012-07-04 12:34:56 -06:00
Nathan Sobo
c90c2e80d6
Replace @buffer reference on Editor with @getBuffer method
2012-07-04 12:34:44 -06:00
Corey Johnson
3aaa8ad8f0
TreeView's add and move create intermediate directories as needed
2012-07-03 15:34:34 -07:00
Corey Johnson
e36b5521bd
When testing keybindings, use window.requireExtension instead of rootView.activateExtension
2012-07-03 13:44:06 -07:00
Corey Johnson & Nathan Sobo
b96bd29ef5
Move extensions with more than one file into folders
2012-07-03 11:22:08 -07:00
Corey Johnson & Nathan Sobo
ec510c5372
Remove commented out lines
2012-07-03 10:23:24 -07:00
Nathan Sobo
bd5c1f8694
Rename RootView.activeEditor -> getActiveEditor
2012-07-02 19:46:33 -06:00
Nathan Sobo
a38042f89f
Rename Editor.removeActiveEditSession -> destroyActiveEditSession
2012-07-02 19:44:24 -06:00
Nathan Sobo
8fbbd77a23
Commands terminating in a substitution restore their initial selection
2012-07-02 19:35:14 -06:00
Corey Johnson
801a91ec9b
Specs cleanup buffers
2012-06-29 15:38:12 -07:00
Corey Johnson
c3d7d3566f
Buffer listens for changes to file and triggers 'contents-change' event
2012-06-29 15:09:31 -07:00
Nathan Sobo
f9db74a2bd
Add spec for clicking paths in file finder
2012-06-29 11:03:08 -06:00
Nathan Sobo
5ea1e6f05c
Merge remote-tracking branch 'origin/select-from-file-finder'
...
Conflicts:
src/extensions/fuzzy-finder.coffee
static/fuzzy-finder.css
2012-06-29 10:40:34 -06:00
Nathan Sobo
6c60993f5c
Fuzzy buffer finder switches to the editor that has the selected buffer if it isn't open on the current active editor
2012-06-29 09:59:37 -06:00
Nathan Sobo
db212fc077
Spec 💄 preparing for specialized selection logic when fuzzy-finding open buffers
2012-06-28 13:39:04 -06:00
Nathan Sobo
f4832148cd
Buffer finder does not open if there are no open buffers with paths
2012-06-28 13:17:49 -06:00
Nathan Sobo
423b312e9c
Meta-b opens the fuzzy finder with paths to the current editor's buffers
2012-06-28 12:57:52 -06:00
Nathan Sobo
ed48622a3a
Rename FileFinder to FuzzyFinder, which will make more sense when we can also use it to fuzzy-find on open buffers
2012-06-28 11:35:30 -06:00
Nathan Sobo
3cce8f9afd
Ensure single-line snippets do not indent the following line
2012-06-27 08:03:54 -06:00
Nathan Sobo
086b33f606
Merge branch 'snippets'
...
Conflicts:
src/app/root-view.coffee
2012-06-26 22:58:32 -06:00
Nathan Sobo
6db42114f9
If the user attempts to switch tab stops while the cursor is not *on* a tab stop, the snippet is terminated
2012-06-26 22:43:23 -06:00
Nathan Sobo
01993f1be2
Editor selects text that was typed at a tab-stop when shift-tabbing back to it
2012-06-26 17:55:40 -06:00
Corey Johnson
3efcc50a0d
Renamed call to ControlPanel.hide to ControlPanel.detach
2012-06-26 16:41:13 -07:00
Nathan Sobo
65991c686a
Snippets can contain placeholder text (but can't nest yet)
...
Snippet placeholders are managed by adding an "anchor range" to the edit session. An anchor range basically tracks two anchors for the start and the end of the range.
2012-06-26 17:29:32 -06:00
Nathan Sobo
c354f016b9
Ensure tab-stops are correctly placed on indented snippet lines
2012-06-22 23:03:29 -06:00
Nathan Sobo
3483317549
Subsequent lines of a snippet are indented based on the first line
2012-06-22 22:57:49 -06:00