Created attachment 43157 [details] like so My compiler tells me value set but unused, a quick looks suggests the whole block doesn't do anything useful anymore
Well, in fact, the whole ScTabView::InvertBlockMark() may be unused, since we no longer use inverted range selection any more (replaced by the nicer blue translucent range selection thingie).
Yeah, can only be called if PAINT_INVERT is set, and that's no longer used anywhere.