id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3250	mcview: multiple bugs, rewriting desired	egmont	andrew_b	"mcview contains multiple issues that are not trivial to address:

- ticket:2283: scrolling often introduces a partial line on the top;
- ticket:2292: CJK not wrapped correctly;
- ticket:2291: inconsistent symbol for half CJK;
- ticket:3248: allows horizontal scrolling in wrap mode;
- ticket:2283#comment:7: the help viewer scrolls by a complete paragraph rather than a visual line;
- wrapping and scrolling is quite complicated, yet mcview and the help system have their own buggy implementation, they should be built on the same codebase;
- mcview's plain.c is pretty much a subset of nroff.c, resulting in significant code duplication, they could be merged to one;
- the help viewer only wraps at spaces to avoid splitting words, this nice functionality is missing from mcview.

I find it quite hopeless to address these bugs one by one on top of each other.  Instead, a clean rewrite of the viewer could easily address all these.

(Only the part that wraps and renders the file contents on the screen and handles scrolling up/down needs to be rewritten.  The rest (UI buttons, ruler, etc., as well as the hex viewer) would stay the same.  It's a relatively small piece of code to touch.)

I'm planning to do this.
"	defect	closed	major	4.8.14	mcview	master	fixed					merged	committed-master
