mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +00:00
docs
This commit is contained in:
parent
065789c286
commit
3ec0eb3ff4
@ -13,8 +13,9 @@ use view::{ScrollBase, SizeCache, View};
|
|||||||
|
|
||||||
/// Multi-lines text editor.
|
/// Multi-lines text editor.
|
||||||
///
|
///
|
||||||
/// A `TextArea` will attempt to grow vertically dependent on the content.
|
/// A `TextArea` will attempt to grow vertically and horizontally
|
||||||
/// Wrap it in a `BoxView` to constrain its size.
|
/// dependent on the content. Wrap it in a `BoxView` to
|
||||||
|
/// constrain its size.
|
||||||
pub struct TextArea {
|
pub struct TextArea {
|
||||||
// TODO: use a smarter data structure (rope?)
|
// TODO: use a smarter data structure (rope?)
|
||||||
content: String,
|
content: String,
|
||||||
|
Loading…
Reference in New Issue
Block a user