epaint/text/
mod.rs

1//! Everything related to text, fonts, text layout, cursors etc.
2
3pub mod cursor;
4mod font;
5mod fonts;
6mod text_layout;
7mod text_layout_types;
8
9/// One `\t` character is this many spaces wide.
10pub const TAB_SIZE: usize = 4;
11
12pub use {
13    fonts::{FontData, FontDefinitions, FontFamily, FontId, FontTweak, Fonts, FontsImpl},
14    text_layout::layout,
15    text_layout_types::*,
16};
17
18/// Suggested character to use to replace those in password text fields.
19pub const PASSWORD_REPLACEMENT_CHAR: char = '•';