Mercurial > vim
annotate runtime/indent/testdir/html.ok @ 20957:2f2bc98a8dfb v8.2.1030
patch 8.2.1030: reducing size of a terminal window may cause a crash
Commit: https://github.com/vim/vim/commit/da58134eedf43ae4b9013c93ecbdf55e4da4b8a3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 21 17:57:32 2020 +0200
patch 8.2.1030: reducing size of a terminal window may cause a crash
Problem: Reducing size of a terminal window may cause a crash.
Solution: Make sure the row and column don't become negative. (closes https://github.com/vim/vim/issues/6273)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Jun 2020 18:00:04 +0200 |
parents | bd7461db24b3 |
children | 59f93c2d2551 |
rev | line source |
---|---|
15131 | 1 " vim: set ft=html sw=4 : |
2 | |
3 | |
4 " START_INDENT | |
5 <div> | |
6 <div> | |
7 text | |
8 </div> | |
9 </div> | |
10 | |
11 <div | |
16086 | 12 class="foo bar"> |
15131 | 13 text |
14 </div> | |
15 | |
16 <div class="foo bar" | |
16086 | 17 data="something"> |
15131 | 18 text |
19 </div> | |
20 | |
21 <div class="foo | |
16086 | 22 bar"> |
15131 | 23 text |
24 </div> | |
25 | |
26 " END_INDENT |