Remove obsolete TODO comment

It was done on e37fe694.
wilder
Luis Javier Merino Morán 4 years ago committed by Tomaz Canabrava
parent c018111828
commit 64814dae24
  1. 9
      src/filterHotSpots/TerminalImageFilterChain.cpp

@ -50,16 +50,9 @@ void TerminalImageFilterChain::setImage(const Character *const image, int lines,
_linePositions->append(_buffer->length());
decoder.decodeLine(image + i * columns, columns, LINE_DEFAULT);
// pretend that each line ends with a newline character.
// pretend that each non-wrapped line ends with a newline character.
// this prevents a link that occurs at the end of one line
// being treated as part of a link that occurs at the start of the next line
//
// the downside is that links which are spread over more than one line are not
// highlighted.
//
// TODO - Use the "line wrapped" attribute associated with lines in a
// terminal image to avoid adding this imaginary character for wrapped
// lines
if ((lineProperties.value(i, LINE_DEFAULT) & LINE_WRAPPED) == 0) {
lineStream << QLatin1Char('\n');
}

Loading…
Cancel
Save