[bug #13146] make tabs and trailing spaces visible

2008-07-07 Thread Jan Engelhardt
Follow-up Comment #20, bug #13146 (project mc): Ok since nobody replied here are some patches of my own. They require that mc(edit) has COMPLETE support for UTF-8!, which is not the case in the mc source distribution. The openSUSE .src.rpm has the required utf8 bits. Will try to make them submit

[bug #13146] make tabs and trailing spaces visible

2008-07-07 Thread Jan Engelhardt
Follow-up Comment #21, bug #13146 (project mc): Patch #2 -- cedit-eol-mark.diff This patch implements comment #8's suggestion to use ¶ as an EOL marker. It can be toggled using the OptionsHighlight options dialog, or, of course, by editing ~/.mc/config directly. (file #16004)

[bug #13146] make tabs and trailing spaces visible

2008-07-07 Thread Jan Engelhardt
Follow-up Comment #22, bug #13146 (project mc): Patch #3 -- cedit-fix-whitespace.diff We definitely need to set MOD_WHITESPACE or the space between tab stops is drawn with some random color. (file #16005) ___ Additional Item Attachment:

[bug #13146] make tabs and trailing spaces visible

2008-07-07 Thread Jan Engelhardt
Follow-up Comment #23, bug #13146 (project mc): Patch #4 -- cedit-symbol-prefs.diff This patch changes the space fill character to some Unicode dot (·) [this one is also available on the text console], and makes the -- tab filler into the Unicode ◀──▶ too. (file #16006)

[bug #13146] make tabs and trailing spaces visible

2008-07-07 Thread Jan Engelhardt
Follow-up Comment #24, bug #13146 (project mc): I noticed I cannot just use the Unicode characters (like p-ch = 0xB7), as that does not take into account terminals that are not in UTF-8. But the fix is simple enough (p-ch = SLsmg_Is_Unicode ? 0xB7 : .). BTW, I also implemented the MS Word-style