Re: [RFC 8.3 0/3] Some style fixes

Eli Zaretskii
2019-03-12T17:29:10Z

> From: Tom Tromey <tom@tromey.com>
> Cc: Hannes Domani <ssbssa@yahoo.de>
> Date: Tue, 12 Mar 2019 10:48:08 -0600
>
> Hannes> 1) Outside of TUI, escaped characters (< 040 and 0177) aren't handled correctly any more when
> Hannes> list'ing some source code, resulting in an endless loop.
> Hannes> See print_source_lines_base(), I just added "++iter" in the last 2 if() blocks, that fixed it for me.
>
> Hannes> 2) In TUI, scrolling right with the arrow keys, the first keypress doesn't do anything.
> Hannes> (that's just a very minor nuisance)
>
> Hannes> 3) Again in TUI, scrolling right handles TABS and escaped characters as single characters,
> Hannes> which just looks weird.
>
> Thanks, I will take a look at these.

I'm working on 2) and 3), and have already solved 90% of the problem
(the last 10% are some tricky corner cases with TABs). Hope to have a
tested patch tomorrow.