Comments (3)
pleas provide a panic backtrace or this is not actionable, this kind of panic message could be caused by ahyting
from helix.
I got a similar panic, with a (minimal) stacktrace. Hope this helps.
thread 'main' panicked at 'Positions [(150004, After), (150004, After)] are out of range for changeset len 149909!', helix-core/src/transaction.rs:461:9
stack backtrace:
0: _rust_begin_unwind
1: core::panicking::panic_fmt
2: helix_core::transaction::ChangeSet::update_positions
3: helix_core::selection::Selection::map_no_normalize
4: helix_view::view::View::apply
5: helix_view::document::Document::append_changes_to_history
6: <helix_term::ui::editor::EditorView as helix_term::compositor::Component>::handle_event
7: helix_term::compositor::Compositor::handle_event
8: helix_term::application::Application::run::{{closure}}
9: tokio::runtime::park::CachedParkThread::block_on
10: tokio::runtime::runtime::Runtime::block_on
11: hx::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Version: helix 23.10 (f6021dd)
from helix.
Here is one way to reproduce it (current master at commit: 6c4d986).
thread 'main' panicked at 'Positions [(7, Before)] are out of range for changeset len 4!', helix-core/src/transaction.rs:478:9
Test Document
a
b
Steps to Reproduce
- <C-w>s # hsplit
- ]<space> # add_newline_below
- % # select_all
- 2G # goto_line
- ms/ # surround_add
- :rla<ret> # reload_all
- % # select_all
- J # join_selection
from helix.
Related Issues (20)
- python: conditional markdown injection for comments HOT 2
- Windows documentation is wrong
- Wrong syntax for XML comment HOT 1
- Rename Symbol HOT 4
- Shell command output insert/append introduces newline HOT 1
- Hide files within the folder and display it when its selected HOT 2
- Search In Code Actions HOT 1
- View mode changes cursor position HOT 1
- Support highlighting for RFC822 format
- Short-circuit the repeat_last_motion command
- Commands in keybinds block the viewport HOT 1
- Better support for international keyboards HOT 18
- Cannot Fetch Grammars HOT 1
- Make all cursors respect cursor-shape config in multi-selection HOT 1
- Nix build does not evaluate due to breaking changes in fetchTree
- Feature request: Improve visual_offset_from_block performance on long lines HOT 2
- Count handling no longer accepts numbers containing zero HOT 2
- No typst support on main repos from: Arch, Termux, Alpine, Void? (maybe more). HOT 1
- Theme previews not working after mounting .config/helix folder to a docker container HOT 1
- <space>A auto action performing incorrectly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helix.