You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-view/src
gavynriebau 026241cf72
Fix panic on close last buffer (#2367) (#2658)
* Fix panic on close last buffer (#2367)

In certain circumstances it was possible to cause a panic when closing
buffers due to some mishandling of view document history.

A change has been made to delete removed documents from the history of
accessed documents for each view. The ensures we don't attempt to jump
to a deleted document by mistake.

* Move remove document code into View function 'remove_document'

* Replace 'view.jumps.remove' call with 'view.remove_document' call
3 years ago
..
handlers Improve Readability (#2639) 3 years ago
clipboard.rs cfg-gate unused functions on macos & windows (#2332) 3 years ago
document.rs fix typos (#2304) 3 years ago
editor.rs Fix panic on close last buffer (#2367) (#2658) 3 years ago
graphics.rs Merge pull request #1154 from sudormrfbin/cursor-shape-new 3 years ago
gutter.rs Make gutters configurable (#1967) 3 years ago
info.rs Handle newlines in register infobox 3 years ago
input.rs Extract macro parsing to `helix-view` and add unit tests 3 years ago
keyboard.rs fix: Normalize backtab into shift-tab 3 years ago
lib.rs Split off dap event handlers into helix-view to allow reuse 3 years ago
macros.rs Simplify view/doc macros 3 years ago
theme.rs Fallback to broader scope if theme scope not found (#1714) 3 years ago
tree.rs Move Tree nodes on view swap 3 years ago
view.rs Fix panic on close last buffer (#2367) (#2658) 3 years ago