Export Cursor in widget::text_editor

This commit is contained in:
Héctor Ramón Jiménez 2025-12-01 20:17:08 +01:00
parent 4428f31b4f
commit fae0138e5e
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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.