Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Allow users to create more than one empty buffer #875

Merged
merged 2 commits into from
Sep 24, 2013

Conversation

benogle
Copy link
Contributor

@benogle benogle commented Sep 24, 2013

Multiple new buffers with cmd+n!

This does the minimum. All buffers have the title 'untitled'. We could number them?

See #679

@benogle
Copy link
Contributor Author

benogle commented Sep 24, 2013

If no one has any objections, I'd like to merge this today.

@@ -212,6 +212,11 @@ describe "RootView", ->
expect(editSession.getPath()).toBeUndefined()
expect(rootView.getActivePane().focus).toHaveBeenCalled()

it "can create multiple empty edit sessions as an item on a new pane", ->
editSession = rootView.open()
editSession = rootView.open()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you thinking about adding an assert for expect(editSession1).not.toBe editSession2 or else just nuke the assignments since they are currently unused.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll add the expect

@benogle
Copy link
Contributor Author

benogle commented Sep 24, 2013

@kevinsawicki you ready?

@kevinsawicki
Copy link
Contributor

👍🚍👍

benogle added a commit that referenced this pull request Sep 24, 2013
Allow users to create more than one empty buffer
@benogle benogle merged commit 55cb7b4 into master Sep 24, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants