Menu

#4 Support "strike-through" attribute

Future
closed-fixed
nobody
None
5
2018-01-10
2017-12-04
inof
No

Currently, JOE supports several attributes in color files (.jcf): bold, inverse, blink, dim, underline, and italic. However, strike-through (sometimes called crossed-out) is missing. I would greatly appreciate it if that could be added. The keyword could be just "strike" or "crossed". The ANSI escape sequence for that attribute is ESC[9m. This is according to the standard ISO 6429. It is not supported by xterm or rxvt (as far as I know), but it's supported by some other terminal emulators, for example mintty (cygwin); see the attached screenshot. You can easily test if it's supported with this shell command: echo $'\e[9mTEST\e[m'

Thank you very much!

1 Attachments

Discussion

  • Joe Allen

    Joe Allen - 2017-12-19

    This is now in Mercurial: 'stricken' and 'dunderline'. Also \s and \z in help screens and status line.

     
  • inof

    inof - 2017-12-22

    Great, thank you very much!
    Meanwhile I found out that xterm supports these attributes, too, but only when using true-type fonts (it does not seem to work with old-style bitmap fonts). I guess it's the same with rxvt since it is derived from xterm.
    Oh by the way: Sometimes I have the need to make tab characters (slightly) visible in certain types of files. Using strike-through would be a nice way to do that, using a syntax file with strike-through dark grey on black for tab characters.

     
  • Joe Allen

    Joe Allen - 2018-01-10
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB