mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-08 19:51:32 +00:00
refactor(engine): move session::ime_state to the crate root as ime
This commit is contained in:
1 parent
39336fe844
commit
835704f870
3 files changed
+6
-3
No files matched your search
@@ -1,6 +1,8 @@
|
||||
use super::doc_state::Selection;
|
||||
use crate::doc_state::Selection;
|
||||
#[cfg(test)]
|
||||
use super::*;
|
||||
use crate::session::*;
|
||||
#[cfg(test)]
|
||||
use wordcraft_doc::{Document, Pos};
|
||||
|
||||
/// The caret identity used for the process-monotonic IME state revision.
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
@@ -10,6 +10,7 @@ pub mod catalog;
|
||||
pub mod cmd;
|
||||
pub(crate) mod doc_state;
|
||||
pub mod file_access;
|
||||
pub(crate) mod ime;
|
||||
pub mod io;
|
||||
mod io_ext;
|
||||
pub mod keymap;
|
||||
|
||||
@@ -17,7 +17,6 @@ use documents::{document_id_mark, next_document_id, untitled_name};
|
||||
pub use views::WindowView;
|
||||
mod history;
|
||||
mod ime;
|
||||
mod ime_state;
|
||||
mod layout;
|
||||
mod lifecycle;
|
||||
mod query;
|
||||
@@ -25,6 +24,7 @@ mod run;
|
||||
mod snapshot;
|
||||
|
||||
use crate::doc_state;
|
||||
use crate::ime as ime_state;
|
||||
use crate::locale;
|
||||
use crate::prefs;
|
||||
use crate::snapshot as snapshot_types;
|
||||
|
||||
Reference in new issue
Block a user