summaryrefslogtreecommitdiff
path: root/runtime/queries/rust
diff options
context:
space:
mode:
authorMike Trinkala2023-02-09 14:28:33 +0000
committerGitHub2023-02-09 14:28:33 +0000
commit9d73a0d1128f8237eef2d4bf475496d4db081df2 (patch)
tree3b961c004955e5037bad40e2693bf727c83634d9 /runtime/queries/rust
parent7ebcf4e919a27b60610ba8f3a24a213282eb9ee6 (diff)
Fix the infinite loop when copying the cursor to the top of the file (#5888)
Example: ``` test testitem ``` Select line 2 with x, then type Alt-C; Helix will go into an infinite loop. The saturating_sub keeps the head_row and anchor_row pinned at 0, and a selection is never made since the first line is too short.
Diffstat (limited to 'runtime/queries/rust')
0 files changed, 0 insertions, 0 deletions