setSingleParagraphMode

open fun setSingleParagraphMode(setting: Boolean)

Sets the single paragraph mode of @layout.

If @setting is true, do not treat newlines and similar characters as paragraph separators; instead, keep all text in a single paragraph, and display a glyph for paragraph separator characters. Used when you want to allow editing of newlines on a single text line.

The default value is false.

Parameters

setting

new setting