This commit is contained in:
Markus Unterwaditzer 2017-04-22 00:03:13 +02:00
parent 065789c286
commit 3ec0eb3ff4

View File

@ -13,8 +13,9 @@ use view::{ScrollBase, SizeCache, View};
/// Multi-lines text editor.
///
/// A `TextArea` will attempt to grow vertically dependent on the content.
/// Wrap it in a `BoxView` to constrain its size.
/// A `TextArea` will attempt to grow vertically and horizontally
/// dependent on the content. Wrap it in a `BoxView` to
/// constrain its size.
pub struct TextArea {
// TODO: use a smarter data structure (rope?)
content: String,