kas_core/text/
mod.rs

1// Licensed under the Apache License, Version 2.0 (the "License");
2// you may not use this file except in compliance with the License.
3// You may obtain a copy of the License in the LICENSE-APACHE file or at:
4//     https://www.apache.org/licenses/LICENSE-2.0
5
6//! Text functionality
7//!
8//! Most of this module is simply a re-export of the [KAS Text] API, hence the
9//! lower level of integration than other parts of the library.
10//!
11//! See also [`crate::theme::Text`] which provides better integration with KAS
12//! theming and widget sizing operations.
13//!
14//! [KAS Text]: https://github.com/kas-gui/kas-text/
15
16pub use kas_text::{
17    Align, DPU, Direction, Effect, EffectFlags, MarkerPos, MarkerPosIter, NotReady, OwningVecIter,
18    Range, Status, Text, TextDisplay, Vec2, fonts, format,
19};
20
21mod selection;
22pub use selection::{SelectionAction, SelectionHelper};
23
24mod string;
25pub use string::AccessString;