Each source file that had grown beyond a single concern is replaced by an identically-named directory containing focused submodules. `src/event_loop/mod.rs` (878 lines) becomes a directory with clipboard, context_menu, cursor_shape, drag, focus, handlers, invalidation, overlays_reconcile, repeat, run, surface, text_editing, and tooltip. Every widget, input handler, and theme component follows the same split. Public interfaces are unchanged — only the internal file layout moves. image bumped from 0.25.2 to 0.25.9.
13 lines
483 B
Rust
13 lines
483 B
Rust
// SPDX-License-Identifier: LGPL-2.1-only
|
|
// Copyright (C) 2026 Liberux Labs, S. L. <info@liberux.net>
|
|
|
|
//! Text-editing dispatch on [`super::app_data::AppData`]: cursor
|
|
//! movement, insert/delete, selection, IME activation and clipboard
|
|
//! integration. Lives on the runtime side; the corresponding widget
|
|
//! (`crate::widget::text_edit`) only owns the layout / draw path.
|
|
|
|
pub( crate ) mod cursor;
|
|
pub( crate ) mod insert_delete;
|
|
pub( crate ) mod selection;
|
|
pub( crate ) mod ime;
|