Commit f9e20a60 authored by Kurt Hindenburg's avatar Kurt Hindenburg

very minor style issues w/ spaces

parent 9a1d7dd5
......@@ -39,7 +39,7 @@ using namespace Konsole;
// colorTable is half the length of _table in ColorScheme class
// since intense colors are in a separated column
const int COLOR_TABLE_ROW_LENGTH = TABLE_COLORS / 2;
const int COLOR_TABLE_ROW_LENGTH = TABLE_COLORS / 2;
const int NAME_COLUMN = 0; // column 0 : color names
const int COLOR_COLUMN = 1; // column 1 : actual colors
......
......@@ -142,7 +142,7 @@ private slots:
void hideScrollBar();
void showScrollBarLeft();
void showScrollBarRight();
void scrollFullPage();
void scrollHalfPage();
......
......@@ -170,7 +170,6 @@ void IncrementalSearchBar::updateButtonsAccordingToReverseSearchSetting()
_findNextButton->setIcon(KIcon("go-down-search"));
_findPreviousButton->setIcon(KIcon("go-up-search"));
}
}
QString IncrementalSearchBar::searchText()
......
......@@ -2518,7 +2518,7 @@ QPoint TerminalDisplay::findLineStart(const QPoint &pnt)
QVector<LineProperty> lineProperties = _lineProperties;
while (lineInHistory > 0) {
for (;line > 0;line--, lineInHistory--) {
for (; line > 0; line--, lineInHistory--) {
// Does previous line wrap around?
if (!(lineProperties[line - 1] & LINE_WRAPPED)) {
return QPoint(0, lineInHistory - topVisibleLine);
......@@ -2534,7 +2534,6 @@ QPoint TerminalDisplay::findLineStart(const QPoint &pnt)
line = lineInHistory - newRegionStart;
}
return QPoint(0, lineInHistory - topVisibleLine);
}
/* Moving right/down from the line containing pnt, return the ending
......@@ -2552,7 +2551,7 @@ QPoint TerminalDisplay::findLineEnd(const QPoint &pnt)
QVector<LineProperty> lineProperties = _lineProperties;
while (lineInHistory < maxY) {
for (;line < lineProperties.count() && lineInHistory < maxY;line++, lineInHistory++) {
for (; line < lineProperties.count() && lineInHistory < maxY; line++, lineInHistory++) {
// Does current line wrap around?
if (!(lineProperties[line] & LINE_WRAPPED)) {
return QPoint(_columns - 1, lineInHistory - topVisibleLine);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment