diff --git a/src/Application.cpp b/src/Application.cpp index 3e6442d34..34a2b2d78 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -253,7 +253,7 @@ void Application::startBackgroundMode(MainWindow* window) KAction* action = new KAction(window); KShortcut shortcut = action->shortcut(); action->setObjectName("Konsole Background Mode"); - //TODO - Customisable key sequence for this + //TODO - Customizable key sequence for this action->setGlobalShortcut( KShortcut(QKeySequence(Qt::Key_F12)) ); _backgroundInstance = window; diff --git a/src/BlockArray.h b/src/BlockArray.h index c529cbb8f..196d96a04 100644 --- a/src/BlockArray.h +++ b/src/BlockArray.h @@ -56,7 +56,7 @@ public: * adds the Block at the end of history. * This may drop other blocks. * - * The ownership on the block is transfered. + * The ownership on the block is transferred. * An unique index number is returned for accessing * it later (if not yet dropped then) * diff --git a/src/Screen.h b/src/Screen.h index 49ab0741b..9f5e6b2a3 100644 --- a/src/Screen.h +++ b/src/Screen.h @@ -449,7 +449,7 @@ public: /** * Copies part of the output to a stream. * - * @param decoder A decoder which coverts terminal characters into text + * @param decoder A decoder which converts terminal characters into text * @param fromLine The first line in the history to retrieve * @param toLine The last line in the history to retrieve */ @@ -460,7 +460,7 @@ public: * into a stream. * * @param decoder A decoder which converts terminal characters into text. - * PlainTextDecoder is the most commonly used decoder which coverts characters + * PlainTextDecoder is the most commonly used decoder which converts characters * into plain text with no formatting. * @param preserveLineBreaks Specifies whether new line characters should * be inserted into the returned text at the end of each terminal line. @@ -556,7 +556,7 @@ private: // history->getLines() + lines - 1 //start - the first column on the line to copy //count - the number of characters on the line to copy - //decoder - a decoder which coverts terminal characters (an Character array) into text + //decoder - a decoder which converts terminal characters (an Character array) into text //appendNewLine - if true a new line character (\n) is appended to the end of the line int copyLineToStream(int line, int start, diff --git a/src/ScreenWindow.h b/src/ScreenWindow.h index adf05471e..51adb4242 100644 --- a/src/ScreenWindow.h +++ b/src/ScreenWindow.h @@ -94,7 +94,7 @@ public: * whole window, but will be a smaller area in, for example, applications * which provide split-screen facilities. * - * This is not guaranteed to be accurate, but allows views to optimise + * This is not guaranteed to be accurate, but allows views to optimize * rendering by reducing the amount of costly text rendering that * needs to be done when the output is scrolled. */ @@ -110,7 +110,7 @@ public: * usually the whole window area. * * Like scrollCount(), this is not guaranteed to be accurate, - * but allows views to optimise rendering. + * but allows views to optimize rendering. */ QRect scrollRegion() const; diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp index 1f660e819..72ec5d5fb 100644 --- a/src/TerminalDisplay.cpp +++ b/src/TerminalDisplay.cpp @@ -1508,7 +1508,7 @@ void TerminalDisplay::blinkEvent() _blinking = !_blinking; - //TODO: Optimise to only repaint the areas of the widget + //TODO: Optimize to only repaint the areas of the widget // where there is blinking text // rather than repainting the whole widget. update(); diff --git a/src/Vt102Emulation.cpp b/src/Vt102Emulation.cpp index 849a9ae62..8d3fd1f0a 100644 --- a/src/Vt102Emulation.cpp +++ b/src/Vt102Emulation.cpp @@ -534,7 +534,7 @@ void Vt102Emulation::processToken(int token, int p, int q) case TY_ESC_DE('8' ) : _currentScreen->helpAlign ( ); break; // resize = \e[8;;t - case TY_CSI_PS('t', 8) : setImageSize( q /* colums */, p /* lines */ ); break; + case TY_CSI_PS('t', 8) : setImageSize( q /* columns */, p /* lines */ ); break; // change tab text color : \e[28;t color: 0-16,777,215 case TY_CSI_PS('t', 28) : emit changeTabTextColorRequest ( p ); break;