chore: remove example

pull/12706/head
Nikita Revenco 2025-01-28 14:11:48 +00:00
parent 91ee5fd981
commit 03d627a20d
1 changed files with 1 additions and 24 deletions

View File

@ -28,30 +28,7 @@ fn styled_multiline_text<'a>(text: &str, style: Style) -> Text<'a> {
.collect();
Text::from(spans)
}
/// `copy_selection_on_prev_line`
///
/// Copies the current primary selection to the first previous line long enough to accomodate it.
///
/// # Examples
///
/// The selection is copied from line 2 to line 1.
///
/// Before:
///
/// ```helix
/// This is text #[|on line 1]#.
/// This is text #(|on line 1)#.
/// This is text on line 2.
/// ```
///
/// Command: `C`
///
/// After:
///
/// ```helix
/// This is text #(|on line 1)#.
/// This is text #[|on line 2]#.
/// ```
pub fn highlighted_code_block<'a>(
text: &str,
language: &str,