Skip to content

"partial" smartCopy behavior is surprising #13

@benwiley4000

Description

@benwiley4000

Not really a bug but it seems like the "all" and "partial" options do the same thing for smartCopy. I looked through the source code and couldn't find any differences in behavior. I assume partial was intended to create an expanded selection if the selection text is a substring that contains the ellipsis? If you don't plan to implement that feature maybe it would be less confusing for that option to be deprecated (but still work until a major release).
I re-read the code and realized that the trigger for each option is different (i.e. partial works even if the selection is an inexact match), but in each case the copied data becomes the full text input, which seems wrong for substring selections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions