Skip to content

notepad.prompt() window and multiline input #261

@alankilborn

Description

@alankilborn

I noticed that when I put some text in a notepad.prompt() window, e.g.:

notepad.prompt('', '', 'this is the default first line')

it correctly shows:

image

But then if I want to accept the first line and move input to a second line, using Ctrl+Enter, it erases my first line:

image

I have to remember to FIRST clear the selection (perhaps by pressing the End key) to obtain:

image

and then my Ctrl+Enter movement to the second line goes well:

image

But I always forget to do this unselect manually, so I was wondering if the plugin could handle this for me?
Or maybe this is just how Windows' multiline edit boxes work, and the plugin can't handle it.

In that case, I'd ask for an option to not show the text in the box as selected when the prompt window first appears.

Using PS 2.0.

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