From 3ec0eb3ff448fb413dc061fafde67fd35a8c13c1 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 22 Apr 2017 00:03:13 +0200 Subject: [PATCH] docs --- src/views/text_area.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/text_area.rs b/src/views/text_area.rs index 1f2cc80..91fc316 100644 --- a/src/views/text_area.rs +++ b/src/views/text_area.rs @@ -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,