Expand description
The main library for xi-core.
Re-exports§
pub use crate::config::BufferItems as BufferConfig;
pub use crate::config::Table as ConfigTable;
pub use crate::core::WeakXiCore;
pub use crate::core::XiCore;
pub use crate::editor::EditType;
pub use crate::plugins::manifest as plugin_manifest;
pub use crate::plugins::rpc as plugin_rpc;
pub use crate::plugins::PluginPid;
pub use crate::syntax::LanguageDefinition;
pub use crate::syntax::LanguageId;
pub use crate::tabs::test_helpers;
pub use crate::tabs::BufferId;
pub use crate::tabs::BufferIdentifier;
pub use crate::tabs::ViewId;
Modules§
- annotations
- Management of annotations.
- backspace
- Calc start of a backspace delete interval
- client
- Requests and notifications from the core to front-ends.
- config
- core
- edit_
types - A bunch of boilerplate for converting the
EditNotification
s we receive from the client into the events we use internally. - editor
- event_
context - A container for the state relevant to a single event.
- file
- Interactions with the file system.
- find
- Module for searching text.
- index_
set - A data structure for manipulating sets of indices (typically used for representing valid lines).
- layers
- Handles syntax highlighting and other styling.
- line_
cache_ shadow - Data structures for tracking the state of the front-end’s line cache and preparing render plans to update it.
- line_
ending - Utilities for detecting and working with line endings
- linewrap
- Compute line wrapping breaks for text.
- movement
- Representation and calculation of movement within a view.
- plugins
- Plugins and related functionality.
- recorder
- Manages recording and enables playback for client sent events.
- rpc
- The main RPC protocol, for communication between
xi-core
and the client. - selection
- Data structures representing (multiple) selections and cursors.
- styles
- Management of styles.
- syntax
- Very basic syntax detection.
- tabs
- The main container for core state.
- view
- watcher
- Monitoring files and directories.
- whitespace
- Utilities for detecting and working with indentation.
- width_
cache - Cache and utilities for doing width measurement.
- word_
boundaries - Segmentation of word boundaries. Note: this current implementation is intended to work for code. Future work is to make it Unicode aware.