2021-12-25 23:10:46 +08:00
|
|
|
pub use encoding_rs as encoding;
|
|
|
|
|
2021-03-22 11:18:48 +08:00
|
|
|
pub mod auto_pairs;
|
2024-02-23 04:47:55 +08:00
|
|
|
pub mod case_conversion;
|
2021-06-14 10:13:31 +08:00
|
|
|
pub mod chars;
|
2021-02-18 17:35:39 +08:00
|
|
|
pub mod comment;
|
2024-11-22 11:12:36 +08:00
|
|
|
pub mod completion;
|
2022-02-15 00:41:53 +08:00
|
|
|
pub mod config;
|
2021-03-11 15:31:49 +08:00
|
|
|
pub mod diagnostic;
|
2021-07-02 22:54:50 +08:00
|
|
|
pub mod diff;
|
2023-02-01 01:03:19 +08:00
|
|
|
pub mod doc_formatter;
|
2023-08-30 12:26:21 +08:00
|
|
|
pub mod fuzzy;
|
2020-09-10 12:55:18 +08:00
|
|
|
pub mod graphemes;
|
2021-06-11 21:06:13 +08:00
|
|
|
pub mod history;
|
2021-11-22 01:38:41 +08:00
|
|
|
pub mod increment;
|
2020-10-14 11:01:41 +08:00
|
|
|
pub mod indent;
|
2021-06-16 23:05:14 +08:00
|
|
|
pub mod line_ending;
|
2020-09-21 17:24:16 +08:00
|
|
|
pub mod macros;
|
2021-03-22 16:58:49 +08:00
|
|
|
pub mod match_brackets;
|
2021-03-18 12:39:34 +08:00
|
|
|
pub mod movement;
|
2021-02-22 14:50:41 +08:00
|
|
|
pub mod object;
|
2020-09-17 13:57:49 +08:00
|
|
|
mod position;
|
2021-03-11 09:44:38 +08:00
|
|
|
pub mod search;
|
2020-09-29 00:01:27 +08:00
|
|
|
pub mod selection;
|
2021-12-12 20:13:33 +08:00
|
|
|
pub mod shellwords;
|
2024-02-23 04:47:55 +08:00
|
|
|
pub mod snippets;
|
2021-06-20 01:25:50 +08:00
|
|
|
pub mod surround;
|
2020-09-12 18:36:49 +08:00
|
|
|
pub mod syntax;
|
2022-02-07 23:37:09 +08:00
|
|
|
pub mod test;
|
2023-02-01 01:03:19 +08:00
|
|
|
pub mod text_annotations;
|
2021-07-03 09:07:49 +08:00
|
|
|
pub mod textobject;
|
2020-05-25 12:02:21 +08:00
|
|
|
mod transaction;
|
2024-04-06 00:20:35 +08:00
|
|
|
pub mod uri;
|
2022-05-02 22:24:22 +08:00
|
|
|
pub mod wrap;
|
2020-05-20 17:14:51 +08:00
|
|
|
|
2021-06-18 16:47:10 +08:00
|
|
|
pub mod unicode {
|
2024-06-23 09:05:53 +08:00
|
|
|
pub use unicode_general_category as category;
|
2021-06-18 16:47:10 +08:00
|
|
|
pub use unicode_segmentation as segmentation;
|
|
|
|
pub use unicode_width as width;
|
|
|
|
}
|
|
|
|
|
2023-01-31 07:31:21 +08:00
|
|
|
pub use helix_loader::find_workspace;
|
|
|
|
|
2023-07-11 20:26:11 +08:00
|
|
|
mod rope_reader;
|
2021-02-18 17:34:22 +08:00
|
|
|
|
2023-07-11 20:26:11 +08:00
|
|
|
pub use rope_reader::RopeReader;
|
2022-12-01 16:35:23 +08:00
|
|
|
pub use ropey::{self, str_utils, Rope, RopeBuilder, RopeSlice};
|
2020-09-29 00:00:35 +08:00
|
|
|
|
2022-02-07 13:03:04 +08:00
|
|
|
// pub use tendril::StrTendril as Tendril;
|
|
|
|
pub use smartstring::SmartString;
|
|
|
|
|
|
|
|
pub type Tendril = SmartString<smartstring::LazyCompact>;
|
2020-05-28 13:45:44 +08:00
|
|
|
|
2020-09-29 00:01:27 +08:00
|
|
|
#[doc(inline)]
|
|
|
|
pub use {regex, tree_sitter};
|
|
|
|
|
2022-06-22 00:36:36 +08:00
|
|
|
pub use position::{
|
2024-01-30 00:11:00 +08:00
|
|
|
char_idx_at_visual_offset, coords_at_pos, pos_at_coords, softwrapped_dimensions,
|
|
|
|
visual_offset_from_anchor, visual_offset_from_block, Position, VisualOffsetError,
|
2022-06-22 00:36:36 +08:00
|
|
|
};
|
2023-02-01 01:03:19 +08:00
|
|
|
#[allow(deprecated)]
|
|
|
|
pub use position::{pos_at_visual_coords, visual_coords_at_pos};
|
|
|
|
|
2021-03-22 11:40:07 +08:00
|
|
|
pub use selection::{Range, Selection};
|
2021-08-29 22:02:46 +08:00
|
|
|
pub use smallvec::{smallvec, SmallVec};
|
2020-09-17 13:57:49 +08:00
|
|
|
pub use syntax::Syntax;
|
2020-05-25 12:02:21 +08:00
|
|
|
|
2024-11-22 11:12:36 +08:00
|
|
|
pub use completion::CompletionItem;
|
2020-10-20 12:58:34 +08:00
|
|
|
pub use diagnostic::Diagnostic;
|
2020-05-25 12:02:21 +08:00
|
|
|
|
2023-06-17 01:02:15 +08:00
|
|
|
pub use line_ending::{LineEnding, NATIVE_LINE_ENDING};
|
2023-02-17 05:15:06 +08:00
|
|
|
pub use transaction::{Assoc, Change, ChangeSet, Deletion, Operation, Transaction};
|
2024-04-06 00:20:35 +08:00
|
|
|
|
|
|
|
pub use uri::Uri;
|