Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slurp forward doesn't work when prefixed with #? #894

Closed
danielcompton opened this issue May 20, 2015 · 3 comments
Closed

Slurp forward doesn't work when prefixed with #? #894

danielcompton opened this issue May 20, 2015 · 3 comments
Milestone

Comments

@danielcompton
Copy link
Collaborator

I'm writing reader conditionals and wanting to wrap existing expressions.

Steps to reproduce:

  1. Type #? before an existing form
  2. Type ( and have ) automatically added by structural editing
  3. Use "Slurp forwards" command

Expected results:

Form is wrapped with ()

Actual results:

Nothing happens, Slurp forwards doesn't get executed. Using "Wrap with ()" instead of typing ( and slurp forwards works as expected.

@danielcompton danielcompton changed the title Wrap parens doesn't work when prefixed with #? Slurp forward doesn't work when prefixed with #? May 20, 2015
@levand
Copy link

levand commented Jun 5, 2015

+1, this is definitely an issue for me.

@danielcompton
Copy link
Collaborator Author

This behaviour seems to have changed in the a recent version of Cursive, now the behaviour is:

#?|[:a :b]

| is the cursor.

Wrap with ()

(#?|[):a :b]

@cursive-ide
Copy link
Owner

Hmm, I thought I'd fixed this in the latest build, I'll check this.

@cursive-ide cursive-ide added this to the 0.1.59 milestone Jul 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants