Changeset View
Changeset View
Standalone View
Standalone View
src/Screen.cpp
Context not available. | |||||
537 | QVector<LineProperty> Screen::getLineProperties(int startLine , int endLine) const | 537 | QVector<LineProperty> Screen::getLineProperties(int startLine , int endLine) const | ||
---|---|---|---|---|---|
538 | { | 538 | { | ||
539 | Q_ASSERT(startLine >= 0); | 539 | Q_ASSERT(startLine >= 0); | ||
540 | Q_ASSERT(endLine >= startLine && endLine < _history->getLines() + _lines); | 540 | Q_ASSERT(endLine >= startLine); | ||
541 | Q_ASSERT(endLine < _history->getLines() + _lines); | ||||
541 | 542 | | |||
542 | const int mergedLines = endLine - startLine + 1; | 543 | const int mergedLines = endLine - startLine + 1; | ||
543 | const int linesInHistory = qBound(0, _history->getLines() - startLine, mergedLines); | 544 | const int linesInHistory = qBound(0, _history->getLines() - startLine, mergedLines); | ||
Context not available. |