Vixen
02b45cc4
csharp
public sealed class TextArea

A field for several lines of text.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A TextBox that takes a line break, and that is the whole difference. The wrapping was already there — the theme puts white-space: normal on this tag's text and TextLayout breaks on both a mandatory break and a measured one — and what was missing was any way to get a newline into the value: Enter submitted, so a box offered for a YAML document could hold exactly one line of it. That is the shape of bug that reads as a field which will not accept what you type.

⚠ Ctrl-Enter still submits, so a form whose default button lives behind Submitted is still reachable from inside the one field that has claimed the plain key.

Fields and properties (2)

  • protected override string TagName

    The element name this type answers to when a caller does not choose one.

  • protected override bool AcceptsNewlines

    Whether Enter puts a line break in the value rather than submitting it.

Used by (2)

  • EditorApplicationVixen.Editor.App
  • MultilineDrawerVixen.Editor.Inspector