diff --git a/Cargo.toml b/Cargo.toml index c77c461..26d93a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -100,5 +100,5 @@ members = [ lto = "thin" [package.metadata.docs.rs] -all-features = true +features = ["search"] rustdoc-args = ["--cfg", "docsrs"] diff --git a/src/scroll.rs b/src/scroll.rs index ef46fe5..e9ff69f 100644 --- a/src/scroll.rs +++ b/src/scroll.rs @@ -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`