Re: Patch 8.0.1523

2018-02-18 Fir de Conversatie Tony Mechelynck
On Sun, Feb 18, 2018 at 10:13 PM, Bram Moolenaar wrote: > > Patch 8.0.1523 > Problem:Cannot write and read terminal screendumps. > Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). > Also add assert_equalfile(). > Files:

Patch 8.0.1523

2018-02-18 Fir de Conversatie Bram Moolenaar
Patch 8.0.1523 Problem:Cannot write and read terminal screendumps. Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). Also add assert_equalfile(). Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c, src/normal.c, src/eval.c,

New feature: terminal screen dumps

2018-02-18 Fir de Conversatie Bram Moolenaar
As mentioned in the discussion about the popup menu fix, it's not so easy to write a test to check that something shows up in the right place, with the right highlighting, etc. Basically, that Vim displayes the right text. And when the check fails, it's not so easy to figure out what changed.

Re: New feature: terminal screen dumps

2018-02-18 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2018-02-19 1:33 GMT+03:00 Nikolay Aleksandrovich Pavlov : > 2018-02-19 0:30 GMT+03:00 Bram Moolenaar : >> >> As mentioned in the discussion about the popup menu fix, it's not so >> easy to write a test to check that something shows up in the right >> place,

Re: New feature: terminal screen dumps

2018-02-18 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2018-02-19 0:30 GMT+03:00 Bram Moolenaar : > > As mentioned in the discussion about the popup menu fix, it's not so > easy to write a test to check that something shows up in the right > place, with the right highlighting, etc. Basically, that Vim displayes > the right text.