From fae0138e5e7764e74541c36516acbd2fedab3872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Mon, 1 Dec 2025 20:17:08 +0100 Subject: [PATCH] Export `Cursor` in `widget::text_editor` --- widget/src/text_editor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/src/text_editor.rs b/widget/src/text_editor.rs index d7b287a1..0672bee0 100644 --- a/widget/src/text_editor.rs +++ b/widget/src/text_editor.rs @@ -39,7 +39,7 @@ use crate::core::keyboard::key; use crate::core::layout::{self, Layout}; use crate::core::mouse; use crate::core::renderer; -use crate::core::text::editor::{Cursor, Editor as _}; +use crate::core::text::editor::Editor as _; use crate::core::text::highlighter::{self, Highlighter}; use crate::core::text::{self, LineHeight, Text, Wrapping}; use crate::core::theme; @@ -60,7 +60,7 @@ use std::ops::DerefMut; use std::sync::Arc; pub use text::editor::{ - Action, Edit, Line, LineEnding, Motion, Position, Selection, + Action, Cursor, Edit, Line, LineEnding, Motion, Position, Selection, }; /// A multi-line text input.