1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-09-03 14:26:17 +03:00
Этот коммит содержится в:
rhysd
2023-10-02 02:17:19 +09:00
родитель 43286092c6
Коммит 5d89a9cdd4
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@@ -100,5 +100,5 @@ members = [
lto = "thin"
[package.metadata.docs.rs]
all-features = true
features = ["search"]
rustdoc-args = ["--cfg", "docsrs"]

Просмотреть файл

@@ -4,6 +4,8 @@ use crate::widget::Viewport;
///
/// This type is marked as `#[non_exhaustive]` since more variations may be supported in the future. Note that the cursor will
/// not move until it goes out the viewport. See also: [`TextArea::scroll`]
///
/// [`TextArea::scroll`]: https://docs.rs/tui-textarea/latest/tui_textarea/struct.TextArea.html#method.scroll
#[non_exhaustive]
pub enum Scrolling {
/// Scroll the textarea by rows (vertically) and columns (horizontally). Passing positive scroll amounts to `rows` and `cols`