mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-25 00:24:48 +01:00
feat: more stuff into prelude
This commit is contained in:
parent
87a1c17599
commit
489ade9127
1 changed files with 15 additions and 1 deletions
|
@ -1,11 +1,25 @@
|
|||
pub use crate::client::Client as CodempClient;
|
||||
pub use crate::errors::Error as CodempError;
|
||||
|
||||
pub use crate::Controller as CodempController;
|
||||
pub use crate::cursor::controller::CursorController as CodempCursorController;
|
||||
pub use crate::buffer::controller::BufferController as CodempBufferController;
|
||||
|
||||
pub use crate::buffer::factory::OperationFactory as CodempOperationFactory;
|
||||
pub use operational_transform::OperationSeq as CodempOperationSeq;
|
||||
pub use crate::buffer::TextChange as CodempTextChange;
|
||||
pub use crate::proto::CursorPosition as CodempCursorPosition;
|
||||
|
||||
pub use crate::proto::{
|
||||
CursorPosition as CodempCursorPosition,
|
||||
CursorEvent as CodempCursorEvent,
|
||||
RowCol as CodempRowCol,
|
||||
};
|
||||
|
||||
#[cfg(feature = "sync")]
|
||||
pub use crate::instance::sync::Instance as CodempInstance;
|
||||
|
||||
#[cfg(not(feature = "sync"))]
|
||||
pub use crate::instance::a_sync::Instance as CodempInstance;
|
||||
|
||||
#[cfg(feature = "global")]
|
||||
pub use crate::instance::global::INSTANCE as CODEMP_INSTANCE;
|
||||
|
|
Loading…
Reference in a new issue