Skip to content

Commit 359b034

Browse files
Split off various modules into "editing" folder. (#440)
Beside code moves, the only changes in this PR are: - Changed imports. - Some items going from private to pub(crate). --------- Co-authored-by: Daniel McNab <[email protected]>
1 parent 9aeb36b commit 359b034

File tree

8 files changed

+509
-489
lines changed

8 files changed

+509
-489
lines changed

examples/vello_editor/src/text.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ use web_time::Instant;
88

99
use accesskit::{Node, TreeUpdate};
1010
use core::default::Default;
11-
use parley::{GenericFamily, StyleProperty, editor::SplitString, layout::PositionedLayoutItem};
11+
use parley::editing::SplitString;
12+
use parley::layout::PositionedLayoutItem;
13+
use parley::{GenericFamily, StyleProperty};
1214
use std::time::Duration;
1315
use ui_events::pointer::PointerButton;
1416
use ui_events::{
@@ -23,7 +25,7 @@ use vello::{
2325
};
2426
use winit::event::{Ime, WindowEvent};
2527

26-
pub use parley::layout::editor::Generation;
28+
pub use parley::editing::Generation;
2729
use parley::{FontContext, LayoutContext, PlainEditor, PlainEditorDriver};
2830

2931
use crate::access_ids::next_node_id;

0 commit comments

Comments
 (0)