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::{
14 FontData, FontDefinitions, FontFamily, FontId, FontInsert, FontPriority, FontTweak, Fonts,
15 FontsImpl, InsertFontFamily,
16 },
17 text_layout::layout,
18 text_layout_types::*,
19};
20
21/// Suggested character to use to replace those in password text fields.
22pub const PASSWORD_REPLACEMENT_CHAR: char = '•';