mod core;
mod cursor;
mod history;
mod selection;
mod state;
#[cfg(feature = "find-replace")]
#[cfg_attr(docsrs, doc(cfg(feature = "find-replace")))]
mod find_replace;
#[cfg(feature = "folding")]
#[cfg_attr(docsrs, doc(cfg(feature = "folding")))]
mod folding;
#[cfg(feature = "line-numbers")]
#[cfg_attr(docsrs, doc(cfg(feature = "line-numbers")))]
mod line_numbers;
#[cfg(feature = "minimap")]
#[cfg_attr(docsrs, doc(cfg(feature = "minimap")))]
mod minimap;
#[cfg(feature = "statistics")]
#[cfg_attr(docsrs, doc(cfg(feature = "statistics")))]
mod statistics;
#[cfg(feature = "syntax-highlighting")]
#[cfg_attr(docsrs, doc(cfg(feature = "syntax-highlighting")))]
mod syntax;
pub use core::{DEFAULT_STYLES, Editor, EditorProps};
pub use cursor::{Cursor, CursorPosition, CursorSet};
#[cfg(feature = "find-replace")]
#[cfg_attr(docsrs, doc(cfg(feature = "find-replace")))]
pub use find_replace::{FindOptions, FindResult, FindState};
#[cfg(feature = "folding")]
#[cfg_attr(docsrs, doc(cfg(feature = "folding")))]
pub use folding::{FoldKind, FoldRegion, FoldState, detect_markdown_folds};
pub use history::{History, HistoryConfig, HistoryEntry};
#[cfg(feature = "line-numbers")]
#[cfg_attr(docsrs, doc(cfg(feature = "line-numbers")))]
pub use line_numbers::{count_lines, gutter_width};
#[cfg(feature = "minimap")]
#[cfg_attr(docsrs, doc(cfg(feature = "minimap")))]
pub use minimap::{MINIMAP_STYLES, Minimap, MinimapOutput};
pub use selection::{Selection, SelectionMode};
pub use state::{EditorConfig, EditorState};
#[cfg(feature = "statistics")]
#[cfg_attr(docsrs, doc(cfg(feature = "statistics")))]
pub use statistics::{DocumentStats, TextStats};
#[cfg(feature = "syntax-highlighting")]
#[cfg_attr(docsrs, doc(cfg(feature = "syntax-highlighting")))]
pub use syntax::{HighlightedLine, HighlightedSpan, Highlighter, Language, SyntaxConfig};