makepad_code_editor/
settings.rs

1#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
2pub struct Settings {
3    pub tab_column_count: usize,
4    pub fold_level: usize,
5}
6
7impl Default for Settings {
8    fn default() -> Self {
9        Self {
10            tab_column_count: 4,
11            fold_level: 2,
12        }
13    }
14}