Skip to content

Allow shrinking to a single symbol in fragment selector (low priority) #112

Closed
@david-a-wheeler

Description

@david-a-wheeler

It'd be nice to allow shrinking to a single symbol in the fragment selector, at least for symbols that aren't "parentheses-like".

  • If you select -> you only get the surrounding (... -> ....), it cannot be shrunk further.
  • If you select = or e. you again only get the surrounding expression; you can't shrink to 1 symbol.

Oddly, you can already get "just the symbol" when you click on "+" or "x." (infix functions). In fact, when you click on them, you by default get just the symbol, and have to expand. That behavior is okay, it just seems oddly inconsistent & I don't understand the rule it's using. (I'd love to understand why.)

I think this is low priority right now, but if paste in the fragment selection bar or pretty mode are added this ability to shrink to one symbol would become even more useful. And while neither of those are high priority for me (compared to undo/redo or full unification), they would be nice someday. So I thought I'd create this issue now :-).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions