зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-08 00:15:50 +03:00
fix building document
Этот коммит содержится в:
@@ -100,5 +100,5 @@ members = [
|
|||||||
lto = "thin"
|
lto = "thin"
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
features = ["search"]
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
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
|
/// 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`]
|
/// 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]
|
#[non_exhaustive]
|
||||||
pub enum Scrolling {
|
pub enum Scrolling {
|
||||||
/// Scroll the textarea by rows (vertically) and columns (horizontally). Passing positive scroll amounts to `rows` and `cols`
|
/// Scroll the textarea by rows (vertically) and columns (horizontally). Passing positive scroll amounts to `rows` and `cols`
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user