Struct pepper::editor::Editor [−][src]
pub struct Editor {}Show fields
pub current_directory: PathBuf, pub config: Config, pub theme: Theme, pub syntaxes: SyntaxCollection, pub keymaps: KeyMapCollection, pub mode: Mode, pub buffers: BufferCollection, pub buffer_views: BufferViewCollection, pub word_database: WordDatabase, pub buffered_keys: BufferedKeys, pub recording_macro: Option<RegisterKey>, pub registers: RegisterCollection, pub read_line: ReadLine, pub picker: Picker, pub string_pool: StringPool, pub status_bar: StatusBar, pub commands: CommandManager, pub lsp: ClientManager, pub events: EditorEventQueue,
Fields
current_directory: PathBuf
config: Config
theme: Theme
syntaxes: SyntaxCollection
keymaps: KeyMapCollection
mode: Mode
buffers: BufferCollection
buffer_views: BufferViewCollection
word_database: WordDatabase
buffered_keys: BufferedKeys
recording_macro: Option<RegisterKey>
registers: RegisterCollection
read_line: ReadLine
picker: Picker
string_pool: StringPool
status_bar: StatusBar
commands: CommandManager
lsp: ClientManager
events: EditorEventQueue
Implementations
impl Editor
[src]
impl Editor
[src]pub fn new(current_directory: PathBuf) -> Self
[src]
pub fn buffer_view_handle_from_path(
&mut self,
client_handle: ClientHandle,
path: &Path
) -> BufferViewHandle
[src]
&mut self,
client_handle: ClientHandle,
path: &Path
) -> BufferViewHandle
pub fn execute_keys(
&mut self,
platform: &mut Platform,
clients: &mut ClientManager,
client_handle: ClientHandle,
keys: KeysIterator
) -> EditorControlFlow
[src]
&mut self,
platform: &mut Platform,
clients: &mut ClientManager,
client_handle: ClientHandle,
keys: KeysIterator
) -> EditorControlFlow
pub fn on_pre_render(&mut self, clients: &mut ClientManager) -> bool
[src]
pub fn on_client_event(
&mut self,
platform: &mut Platform,
clients: &mut ClientManager,
event: ClientEvent<'_>
) -> EditorControlFlow
[src]
&mut self,
platform: &mut Platform,
clients: &mut ClientManager,
event: ClientEvent<'_>
) -> EditorControlFlow
pub fn on_idle(&mut self, clients: &mut ClientManager, platform: &mut Platform)
[src]
pub fn on_process_spawned(
&mut self,
platform: &mut Platform,
tag: ProcessTag,
handle: ProcessHandle
)
[src]
&mut self,
platform: &mut Platform,
tag: ProcessTag,
handle: ProcessHandle
)
pub fn on_process_output(
&mut self,
platform: &mut Platform,
clients: &mut ClientManager,
tag: ProcessTag,
bytes: &[u8]
)
[src]
&mut self,
platform: &mut Platform,
clients: &mut ClientManager,
tag: ProcessTag,
bytes: &[u8]
)
pub fn on_process_exit(
&mut self,
platform: &mut Platform,
clients: &mut ClientManager,
tag: ProcessTag
)
[src]
&mut self,
platform: &mut Platform,
clients: &mut ClientManager,
tag: ProcessTag
)
pub fn trigger_event_handlers(
&mut self,
platform: &mut Platform,
clients: &mut ClientManager
)
[src]
&mut self,
platform: &mut Platform,
clients: &mut ClientManager
)