pub use super::version::{
API_VERSION, API_VERSION_STR, Version, VersionError, VersionErrorKind, check_api_version,
is_compatible,
};
pub use super::context::{KernelContext, ModuleContext};
pub use crate::mm::{
Buffer, BufferId, Cursor, Edit, Position, TabId, TextDimensions, WindowId, delete_end,
text_dimensions, transform_position,
};
pub use crate::mm::{Selection, SelectionMode};
pub use crate::mm::BufferSnapshot;
pub use crate::mm::{
CharKind, WordType, char_kind, next_word_end, next_word_start, word_bounds, word_end,
word_start,
};
pub use crate::mm::{find_delimiter_pair, find_matching_delimiter};
pub use crate::mm::LineCache;
pub use crate::mm::{
RequestPriority, SaturationRequest, SaturatorConfig, SaturatorHandle, spawn_saturator,
};
pub use crate::ipc::{
CacheKind, CacheUpdated, DEFAULT_TIMEOUT, DispatchResult, DynEvent, Event, EventBus,
EventResult, EventScope, EventSender, HandlerContext, ScopeId, Subscription, SubscriptionId,
TargetedEvent,
};
pub use crate::ipc::events;
pub use crate::ipc::{
BoundedReceiver, BoundedSender, OneshotReceiver, OneshotSender, Receiver, RecvError, SendError,
Sender, TryRecvError, TrySendError, bounded, channel, oneshot,
};
pub use crate::core::{JumpEntry, Jumplist, MAX_JUMPLIST_SIZE};
pub use crate::core::{Direction, LinePosition, Motion, MotionEngine, WordBoundary};
pub use crate::core::{TextObject, TextObjectEngine};
pub use crate::core::{HistoryRing, Register, RegisterBank, RegisterContent, YankType};
pub use crate::core::{Mark, MarkBank, MarkResult, SpecialMark};
pub use crate::core::{
ConstraintError, OptionConstraint, OptionError, OptionRegistry, OptionScope, OptionScopeId,
OptionSpec, OptionValue, SetResult,
};
pub use crate::core::{Config, ConfigError, ConfigPaths, ConfigValue};
pub use crate::core::{CommandId, CursorStyle, Mode, ModeId, ModeStack};
pub use crate::block::{
EditOrigin, History, HistoryEntry, Snapshot, Transaction, UndoNode, UndoResult, UndoTree,
};
pub use super::buffer_manager::{BufferError, BufferManager};
pub use crate::sched::{
BoxedTask,
DEFAULT_BATCH_SIZE,
DEFAULT_MAX_TIMERS,
DEFAULT_PRIORITY_QUEUE_CAPACITY,
DEFAULT_WORK_QUEUE_CAPACITY,
Executor,
PRIORITY_QUEUE_DEFAULT_CAPACITY,
Priority,
PriorityQueue,
Runtime,
RuntimeCommand,
RuntimeConfig,
RuntimeState,
RuntimeStats,
Task,
TaskId,
TaskState,
TimerConfig,
TimerHandle,
TimerId,
TimerWheel,
WORK_QUEUE_DEFAULT_CAPACITY,
WORK_QUEUE_MAX_CAPACITY,
WorkQueue,
};
pub use crate::printk::{
Level, Logger, NopLogger, ParseLevelError, Record, RecordBuilder, SetLoggerError, flush,
logger, set_logger,
};
#[doc(hidden)]
pub use crate::printk::__log;
pub use crate::{pr_debug, pr_err, pr_info, pr_trace, pr_warn};
pub use super::module::{
CommandRegistration, EventHandlerRegistration, KeybindingRegistration, Module, ModuleError,
ModuleId, ModuleInfo, ModuleProbe, ModuleState, ProbeResult, RegistrationFlags,
};
pub use super::service::{MultiServiceRegistry, Service, ServiceKey, ServiceRegistry};
pub use reovim_arch::sync::{
ArcSwap, Condvar, Mutex, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard,
};
pub use super::debug::{
KernelStateSnapshot,
MarkSnapshot,
MarksSnapshot,
ModeStackSnapshot,
RegisterSnapshot,
RegistersSnapshot,
YankTypeSnapshot,
snapshot_kernel_state,
snapshot_marks,
snapshot_mode_stack,
snapshot_registers,
};
#[allow(deprecated)]
pub use crate::debug::{
NopProfiler,
ProfileGuard,
ProfileScope,
Profiler,
SetProfilerError,
SpanData,
SpanId,
profiler,
set_profiler,
};
pub use crate::{profile, profile_counter, profile_fn, profile_histogram, profile_scope};
pub use crate::debug::{Counter, Histogram, MetricsRegistry, MetricsSnapshot, metrics};
pub use crate::panic::{
CrashReport,
DebugContext,
RecoverySnapshot,
UnsavedBuffer,
cleanup_old_recovery_files,
generate_crash_report,
install_panic_handler,
is_handler_installed,
list_recovery_files,
recovery_dir,
save_buffer_for_recovery,
set_debug_context_callback,
set_recovery_callback,
};