diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2020-05-17 13:55:54 +0200 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2020-05-17 14:15:48 +0200 |
| commit | fc63eef69556637433b1351d0e8d2c4638883122 (patch) | |
| tree | 9f5e6ea97d0a995a615820be444631c2efd08ee2 /src/array_view.hh | |
| parent | 08509cb4087d7d79868fcff96080bb9947ce4e7b (diff) | |
Fix crash when selecting previous paragraph at buffer begin
Fixes #3489
When there are multiple empty lines between a paragraph and the cursor
(C in the example below), <a-[>p skips over one of them. Prevent the
check for the extra newline from going out of bounds.
```
a paragraph
C after <a-[>p, the first two lines will be selected
```
Diffstat (limited to 'src/array_view.hh')
0 files changed, 0 insertions, 0 deletions
