Skip to content

Unexpected behaviour Paredit: Expand Selection on comment #2100

@hjer

Description

@hjer

When I'm using the expand selection (ctrl + w) on something like:

#_[:foo
      [:bar]]

(and my cursor is located after #_)

It selects #_ and not

[:foo
      [:bar]]

Which I thought it would. Don't know if this is intentional or not.

I expected it to work as this: if i stand in between the "" in the example below - it selects bar - but if i'm outside it selects "bar" and if I'm inside the function on foo it selects foo and if I'm outside it selects (foo "bar")

(foo "bar")

Metadata

Metadata

Assignees

No one assigned

    Labels

    editingpareditParedit and structural editing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions