helix/helix-view/src
Michael Davis e148d8b311
editor: Remove closed Document after updating Views
When closing a document we must wait until all views have been updated
first - either replacing their current document or closing the view -
before we remove the document from the `documents` map. The
`Editor::_refresh` helper is called by `Editor::close`. It accesses each
View's Document to sync changes and ensure that the cursor is in view.
When closing multiple Views at once, `Editor::_refresh` will attempt
to access the closing Document while refreshing a to-be-closed View.
2025-03-30 11:01:17 -04:00
..
annotations fix(lints): clippy 1.84 2025-01-23 15:18:16 -05:00
handlers Color swatches ( 🟩 green 🟥 #ffaaaa ) (#12308) 2025-03-23 16:07:02 -05:00
annotations.rs render diagnostic inline 2024-07-15 16:35:30 +02:00
base64.rs Fix new clippy lints (#5892) 2023-02-09 16:27:08 -06:00
clipboard.rs Properly prevent `crossterm` features being used when `feature = "term"` not enabled in `helix-view` (#12734) 2025-01-30 17:38:07 -06:00
document.rs Color swatches ( 🟩 green 🟥 #ffaaaa ) (#12308) 2025-03-23 16:07:02 -05:00
editor.rs editor: Remove closed Document after updating Views 2025-03-30 11:01:17 -04:00
events.rs Add document and LSP lifecycle events, move some callbacks into hooks 2025-03-22 11:41:50 -04:00
expansion.rs Rewrite command line parsing, add flags and expansions (#12527) 2025-02-26 19:50:15 -06:00
graphics.rs Properly prevent `crossterm` features being used when `feature = "term"` not enabled in `helix-view` (#12734) 2025-01-30 17:38:07 -06:00
gutter.rs Refactor DiagnosticProvider as an enum 2025-03-22 09:25:29 -04:00
handlers.rs Color swatches ( 🟩 green 🟥 #ffaaaa ) (#12308) 2025-03-23 16:07:02 -05:00
info.rs Use custom titles for register select info boxes 2025-02-19 10:29:15 -05:00
input.rs Support bindings with the Super (Cmd/Win/Meta) modifier (#6592) 2024-12-08 12:35:14 +09:00
keyboard.rs Support bindings with the Super (Cmd/Win/Meta) modifier (#6592) 2024-12-08 12:35:14 +09:00
lib.rs Rewrite command line parsing, add flags and expansions (#12527) 2025-02-26 19:50:15 -06:00
macros.rs Apply transactions to all views (#4733) 2022-11-23 12:28:49 +09:00
register.rs registers: Use saved values for clipboard providers which can't read 2024-12-02 10:16:17 -05:00
theme.rs Color swatches ( 🟩 green 🟥 #ffaaaa ) (#12308) 2025-03-23 16:07:02 -05:00
tree.rs fix(clippy): clippy 1.83 lints (#12150) 2024-12-02 08:23:32 -06:00
view.rs Color swatches ( 🟩 green 🟥 #ffaaaa ) (#12308) 2025-03-23 16:07:02 -05:00