Search code examples
emeditor

em editor multi line entry by user through text input window


i want to enter multi line of 10 lines with adjustable window width? is it possible to achieve the same with a macro? i want to read the multi line into a string variable. i want user input window should come with OK, Cancel buttons and the text entered should be read into a string variable.


Solution

  • Update to EmEditor v20.3 beta 4 (20.2.904), and use this form:

    strAnswer = prompt( "message", "default", eePromptMultiline );