Preview BMP conflicts; page the selection with Page up/down #9
Loading…
Reference in a new issue
No description provided.
Delete branch "bmp-preview-and-paging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two features:
BMP preview
Bitmaps get the same treatment as JPEGs and PNGs: dimensions, the expand arrow, and side-by-side thumbnails - the
imagecrate is now built with itsbmpfeature and.bmpjoins the image extensions. Verified on screen: red original next to blue conflict, no text-diff garbage (binary bytes still never diff as text).The
is_imagetrue-mutant stays excluded as equivalent and its reason is updated: the extensions treated as images still equal exactly what the crate can parse (jpeg+png+bmp features). The oldbmp_stays_plainfixture flips toimage/bmp_preview, pinning the full treatment.Page up / Page down
Moves the selection a screenful of groups, clamped at the ends (no j/k-style wrap). The screenful is however many groups the previous frame actually drew, so it stays honest when groups are expanded or the terminal is short.
Pinned by fixtures
image/bmp_preview(new) - a BMP expands to dimensions and thumbnails,original|conflictdisplay/page_down_a_screenful- 4 of 6 groups fit at 24 rows; one Page down lands on the fifthdisplay/page_down_when_scrolled- 2 drawn at 14 rows; afterj j, Page down pages by those 2display/page_up_from_the_clamp- two Page downs stop at the last group (no wrap), one Page up returns a screenfulChecked
-D warnings.main, as CI will: 18 mutants tested, 16 caught, 2 unviable, 0 missed.