Constructs a new AcEdPromptStringOptions with a given prompt message.
The message shown to the user when prompting for a string.
OptionalglobalKeywords: stringWhen true, an empty string is considered valid input.
Default: false — empty string is not allowed.
Gets or sets whether spaces are allowed in the input string.
If false, pressing the spacebar may terminate the input (depending on implementation).
Corresponds to PromptStringOptions.AllowSpaces in AutoCAD .NET.
Gets or sets whether keywords should be appended automatically to the message when rendering.
In AutoCAD .NET, this is PromptOptions.AppendKeywordsToMessage.
Gets or sets the default string value.
This value may be used if the user presses ENTER, depending on useDefaultValue.
Corresponds to PromptStringOptions.DefaultValue in AutoCAD .NET.
Gets whether this AcEdPromptOptions is read-only.
When read-only, properties such as message and appendKeywordsToMessage cannot be changed.
Corresponds to PromptOptions.IsReadOnly.
Gets or sets the preview jig in the prompt.
Gets the collection of keywords for this prompt.
Mirrors PromptOptions.Keywords in AutoCAD .NET API.
Maximum allowed number of characters in the input string.
If undefined, there is no length restriction.
Gets or sets the message displayed in the prompt.
Corresponds to PromptOptions.Message in AutoCAD .NET API.
This is the raw message without the AutoCAD-style <default> suffix.
Use getDisplayMessage when rendering UI text.
Gets or sets whether the default value should be used when the user presses ENTER
without entering any other input.
Corresponds to PromptStringOptions.UseDefaultValue in AutoCAD .NET.
Returns the text shown inside AutoCAD-style angle brackets for the prompt
default value, e.g. 10.5 in Specify distance <10.5>:.
Subclasses that expose UseDefaultValue / DefaultValue override this.
Keyword defaults are handled separately via keywords.default.
Returns the prompt message with an AutoCAD-style <default> suffix when a
numeric/string/point default is active.
Keyword lists and keyword defaults are still rendered by the command line
([K1/K2] <Default>:). Prefer this helper for floating prompts and other
surfaces that show the message without the keyword tail.
Returns AutoCAD-style keyword prompt format data:
[Keywords]
Sets both the prompt message and the display keywords from a single combined string.
This corresponds to PromptOptions.SetMessageAndKeywords(string messageAndKeywords, string globalKeywords) in the .NET API.
The messageAndKeywords string is typically of the form "Message text [Keyword1/Keyword2/...]".
The globalKeywords parameter is a space-separated list of global keyword names.
After calling this, the message is updated to the part before the [ ... ], and the keywords collection
is updated to contain the specified global keywords.
The combined message and keywords for the prompt.
A space-separated string listing the global names of the keywords.
Options for prompting the user to enter a string, similar to AutoCAD .NET
PromptStringOptions.Allows configuration of whether spaces are permitted, default values, and whether the default should be used when the user presses ENTER.