Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 20, 2023
1 parent d7537c3 commit e088734
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/textarea.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,7 @@ impl<'a> TextArea<'a> {
/// Paste a string previously deleted by [`TextArea::delete_line_by_head`], [`TextArea::delete_line_by_end`],
/// [`TextArea::delete_word`], [`TextArea::delete_next_word`]. This method returns if some text was inserted or not
/// in the textarea.
/// When `clipboard` feature is enabled, this method pastes the content in a system clipboard.
/// ```
/// use tui_textarea::{TextArea, CursorMove};
///
Expand Down Expand Up @@ -1387,6 +1388,7 @@ impl<'a> TextArea<'a> {

/// Copy the selection text to the yank buffer. When nothing is selected, this method does nothing.
/// To get the yanked text, use [`TextArea::yank_text`].
/// When `clipboard` feature is enabled, copied content will be sent to a system clipboard.
/// ```
/// use tui_textarea::{TextArea, Key, Input, CursorMove};
///
Expand Down Expand Up @@ -1420,6 +1422,7 @@ impl<'a> TextArea<'a> {
/// Cut the selected text and place it in the yank buffer. This method returns whether the text was modified.
/// The cursor will move to the start position of the text selection.
/// To get the yanked text, use [`TextArea::yank_text`].
/// When `clipboard` feature is enabled, the content will be sent to a system clipboard.
/// ```
/// use tui_textarea::{TextArea, Key, Input, CursorMove};
///
Expand Down

0 comments on commit e088734

Please sign in to comment.