Module core

Module core 

Source
Expand description

Core types and structures for the ass-editor

This module contains the fundamental building blocks of the editor:

  • EditorDocument: Main document type holding Script and Rope
  • Position and range types for cursor/selection management
  • Error types for editor operations
  • History management for undo/redo

Re-exports§

pub use builders::EventBuilder;
pub use builders::StyleBuilder;
pub use document::DocumentPosition;
pub use document::EditorDocument;
pub use errors::EditorError;
pub use errors::Result;
pub use fluent::AtPosition;
pub use fluent::EventAccessor;
pub use fluent::EventFilter;
pub use fluent::EventInfo;
pub use fluent::EventQuery;
pub use fluent::EventSortCriteria;
pub use fluent::EventSortOptions;
pub use fluent::OwnedEvent;
pub use fluent::SelectRange;
pub use history::HistoryEntry;
pub use history::HistoryStats;
pub use history::UndoManager;
pub use history::UndoStack;
pub use history::UndoStackConfig;
pub use incremental::DocumentChange;stream
pub use incremental::IncrementalParser;stream
pub use position::LineColumn;
pub use position::Position;
pub use position::PositionBuilder;
pub use position::Range;
pub use position::Selection;
pub use thread_safety::DocumentPool;concurrency
pub use thread_safety::ScopedDocumentLock;concurrency
pub use thread_safety::SyncDocument;concurrency

Modules§

builders
Builder patterns for ASS types
document
Main document type for the editor
errors
Error types for the ass-editor crate
fluent
Fluent API for document editing
history
History management for undo/redo operations
incrementalstream
Incremental parsing integration with ass-core
position
Position and range types for document editing
thread_safetyconcurrency
Thread safety abstractions for the editor