Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
330de6c6
Commit
330de6c6
authored
Nov 06, 2011
by
Jekyll Wu
Browse files
Fix some spelling problems
parent
d601bd73
Changes
25
Hide whitespace changes
Inline
Side-by-side
src/Application.cpp
View file @
330de6c6
...
...
@@ -404,8 +404,8 @@ void Application::toggleBackgroundInstance()
{
_backgroundInstance
->
show
();
// ensure that the active terminal display has the focus.
// without this, an odd problem occurred where the focus widgetwould change
// each time the background instance was shown
// without this, an odd problem occurred where the focus widget
would change
// each time the background instance was shown
_backgroundInstance
->
viewManager
()
->
activeView
()
->
setFocus
();
}
else
...
...
@@ -446,7 +446,7 @@ Session* Application::createSession(Profile::Ptr profile, const QString& directo
session
->
setInitialWorkingDirectory
(
directory
);
// create view before starting the session process so that the session doesn't suffer
// a change in terminal size right after the session starts.
s
ome applications such as GNU Screen
// a change in terminal size right after the session starts.
S
ome applications such as GNU Screen
// and Midnight Commander don't like this happening
viewManager
->
createView
(
session
);
...
...
src/BookmarkHandler.h
View file @
330de6c6
...
...
@@ -61,7 +61,7 @@ public:
/**
* Constructs a new bookmark handler for Konsole bookmarks.
*
* @param collection The collection which the boomark menu's actions should be added to
* @param collection The collection which the boo
k
mark menu's actions should be added to
* @param menu The menu which the bookmark actions should be added to
* @param toplevel TODO: Document me
* @param parent The parent object
...
...
@@ -104,7 +104,7 @@ signals:
* Emitted when the user selects 'Open Folder in Tabs'
* from the bookmark menu.
*
* @param urls The urls of the bookmarks in the folder who
o
se
* @param urls The urls of the bookmarks in the folder whose
* 'Open Folder in Tabs' action was triggered
*/
void
openUrls
(
const
QList
<
KUrl
>&
urls
);
...
...
src/CharacterColor.h
View file @
330de6c6
...
...
@@ -131,8 +131,8 @@ extern const ColorEntry base_color_table[TABLE_COLORS] KDE_NO_EXPORT;
3 - Index(256) - u: 16..255 v:0 w:0
4 - RGB - u: 0..255 v:0..256 w:0..256
Default colo
u
r space has two separate colo
u
rs, namely
default foreground and default background colo
u
r.
Default color space has two separate colors, namely
default foreground and default background color.
*/
#define COLOR_SPACE_UNDEFINED 0
...
...
@@ -149,7 +149,7 @@ class CharacterColor
friend
class
Character
;
public:
/** Constructs a new CharacterColor who
o
se color and color space are undefined. */
/** Constructs a new CharacterColor whose color and color space are undefined. */
CharacterColor
()
:
_colorSpace
(
COLOR_SPACE_UNDEFINED
),
_u
(
0
),
...
...
src/ColorScheme.cpp
View file @
330de6c6
...
...
@@ -213,7 +213,7 @@ bool ColorScheme::randomizedBackgroundColor() const
}
void
ColorScheme
::
setRandomizedBackgroundColor
(
bool
randomize
)
{
// the hue of the background colo
u
r is allowed to be randomly
// the hue of the background color is allowed to be randomly
// adjusted as much as possible.
//
// the value and saturation are left alone to maintain read-ability
...
...
src/ColorScheme.h
View file @
330de6c6
...
...
@@ -79,7 +79,7 @@ class ColorScheme
{
public:
/**
* Constructs a new color scheme which is initiali
s
ed to the default color set
* Constructs a new color scheme which is initiali
z
ed to the default color set
* for Konsole.
*/
ColorScheme
();
...
...
@@ -198,10 +198,10 @@ private:
// this is the default color table.
const
ColorEntry
*
colorTable
()
const
;
// reads a single colo
u
r entry from a KConfig source
// reads a single color entry from a KConfig source
// and sets the palette entry at 'index' to the entry read.
void
readColorEntry
(
KConfig
&
config
,
int
index
);
// writes a single colo
u
r entry to a KConfig source
// writes a single color entry to a KConfig source
void
writeColorEntry
(
KConfig
&
config
,
const
QString
&
colorName
,
const
ColorEntry
&
entry
,
const
RandomizationRange
&
range
)
const
;
// sets the amount of randomization allowed for a particular color
...
...
@@ -271,7 +271,7 @@ public:
ColorScheme
*
read
();
private:
// reads a line from the file specifying a colo
u
r palette entry
// reads a line from the file specifying a color palette entry
// format is: color [index] [red] [green] [blue] [transparent] [bold]
bool
readColorLine
(
const
QString
&
line
,
ColorScheme
*
scheme
);
bool
readTitleLine
(
const
QString
&
line
,
ColorScheme
*
scheme
);
...
...
src/ColorSchemeEditor.h
View file @
330de6c6
...
...
@@ -38,7 +38,7 @@ class ColorScheme;
/**
* A dialog for editing color schemes.
*
* After creation, the dialog can be initiali
s
ed with the settings
* After creation, the dialog can be initiali
z
ed with the settings
* of a color scheme using the setup() method.
*
* The dialog creates a copy of the supplied color scheme to which
...
...
@@ -56,7 +56,7 @@ public:
ColorSchemeEditor
(
QWidget
*
parent
=
0
);
virtual
~
ColorSchemeEditor
();
/** Initiali
s
es the dialog with the properties of the specified color scheme. */
/** Initiali
z
es the dialog with the properties of the specified color scheme. */
void
setup
(
const
ColorScheme
*
scheme
);
/** Returns the modified color scheme. */
ColorScheme
*
colorScheme
()
const
;
...
...
src/EditProfileDialog.cpp
View file @
330de6c6
...
...
@@ -80,7 +80,7 @@ EditProfileDialog::EditProfileDialog(QWidget* parent)
_ui
=
new
Ui
::
EditProfileDialog
();
_ui
->
setupUi
(
mainWidget
());
// TODO: Renable in a later KDE 4.x release when this feature works again
// TODO: Re
-e
nable in a later KDE 4.x release when this feature works again
_ui
->
enableResizeWindowButton
->
setVisible
(
false
);
// there are various setupXYZPage() methods to load the items
...
...
src/EditProfileDialog.h
View file @
330de6c6
...
...
@@ -48,7 +48,7 @@ namespace Konsole
/**
* A dialog which allows the user to edit a profile.
* After the dialog is created, it can be initiali
s
ed with the settings
* After the dialog is created, it can be initiali
z
ed with the settings
* for a profile using setProfile(). When the user makes changes to the
* dialog and accepts the changes, the dialog will update the
* profile in the SessionManager by calling the SessionManager's
...
...
@@ -69,7 +69,7 @@ public:
virtual
~
EditProfileDialog
();
/**
* Initiali
s
es the dialog with the settings for the specified session
* Initiali
z
es the dialog with the settings for the specified session
* type.
*
* When the dialog closes, the profile will be updated in the SessionManager
...
...
src/Emulation.cpp
View file @
330de6c6
...
...
@@ -392,7 +392,7 @@ void Emulation::setImageSize(int lines, int columns)
_imageSizeInitialized
=
true
;
// FIXME
// a hard-coded, small delay is introduced to gu
r
arantee Session::run()
// a hard-coded, small delay is introduced to guarantee Session::run()
// does not get triggered by SIGNAL(imageSizeInitialized()) before
// Pty::setWindowSize() is triggered by previously emitted
// SIGNAL(imageSizeChanged()); See #203185
...
...
src/Filter.h
View file @
330de6c6
...
...
@@ -101,7 +101,7 @@ public:
*/
Type
type
()
const
;
/**
* Causes the
an
action associated with a hotspot to be triggered.
* Causes the action associated with a hotspot to be triggered.
*
* @param object The object which caused the hotspot to be triggered. This is
* typically null ( in which case the default action should be performed ) or
...
...
src/History.cpp
View file @
330de6c6
...
...
@@ -47,8 +47,8 @@ using namespace Konsole;
or newlines, but access it randomly.
The model is that of an arbitrary wide typewriter scroll
in that the scroll is a serie of lines and each line is
a serie of cells with no overwriting permitted.
in that the scroll is a serie
s
of lines and each line is
a serie
s
of cells with no overwriting permitted.
The implementation provides arbitrary length and numbers
of cells and line/column indexed read access to the scroll
...
...
@@ -180,7 +180,7 @@ bool HistoryScroll::hasScroll()
/*
The history scroll makes a Row(Row(Cell)) from
two history buffers. The index buffer contains
start of line positions which refer
e
to the cells
start of line positions which refer to the cells
buffer.
Note that index[0] addresses the second line
...
...
src/History.h
View file @
330de6c6
...
...
@@ -69,7 +69,7 @@ private:
//pointer to start of mmap'ed file data, or 0 if the file is not mmap'ed
char
*
_fileMap
;
//incremented whenver 'add' is called and decremented whenever
//incremented when
e
ver 'add' is called and decremented whenever
//'get' is called.
//this is used to detect when a large number of lines are being read and processed from the history
//and automatically mmap the file for better performance (saves the overhead of many lseek-read calls).
...
...
src/HistorySizeDialog.cpp
View file @
330de6c6
...
...
@@ -67,7 +67,7 @@ HistorySizeDialog::HistorySizeDialog( QWidget* parent )
_lineCountBox
=
new
KIntSpinBox
(
this
);
// minimum lines = 1 ( for 0 lines , "No History" mode should be used instead )
// maximum lines is a
b
ritrarily chosen, I do not think it is sensible to allow this
// maximum lines is ar
b
itrarily chosen, I do not think it is sensible to allow this
// to be set to a very large figure because that will use large amounts of memory,
// if a very large log is required, "Unlimited History" mode should be used
_lineCountBox
->
setRange
(
1
,
100000
);
...
...
src/KeyBindingEditor.h
View file @
330de6c6
...
...
@@ -41,7 +41,7 @@ class KeyboardTranslator;
* the character sequence sent to the terminal when those
* combinations are pressed.
*
* The dialog can be initiali
s
ed with the settings of an
* The dialog can be initiali
z
ed with the settings of an
* existing key bindings list using the setup() method.
*
* The dialog creates a copy of the supplied keyboard translator
...
...
@@ -58,7 +58,7 @@ public:
virtual
~
KeyBindingEditor
();
/**
* Intiali
s
es the dialog with the bindings and other settings
* In
i
tiali
z
es the dialog with the bindings and other settings
* from the specified @p translator.
*/
void
setup
(
const
KeyboardTranslator
*
translator
);
...
...
src/MainWindow.cpp
View file @
330de6c6
...
...
@@ -567,7 +567,7 @@ void MainWindow::showEvent(QShowEvent *event)
// setMenuBarInitialVisibility() is triggered, the initial visibility of
// menubar should be applied at this last moment. Otherwise, the initial
// visibility will be determined by what is stored in konsolerc, but not
// by the
the
selected profile.
// by the selected profile.
//
menuBar
()
->
setVisible
(
_menuBarInitialVisibility
);
_toggleMenuBarAction
->
setChecked
(
_menuBarInitialVisibility
);
...
...
src/ProcessInfo.h
View file @
330de6c6
...
...
@@ -173,7 +173,7 @@ public:
* character and returns a string with the markers replaced
* with information from this process description.
* <br>
* The markers recogni
s
ed are:
* The markers recogni
z
ed are:
* <ul>
* <li> %u - Name of the user which owns the process. </li>
* <li> %n - Replaced with the name of the process. </li>
...
...
src/Screen.h
View file @
330de6c6
...
...
@@ -71,7 +71,7 @@ class HistoryScroll;
The screen image has a selection associated with it, specified using
setSelectionStart() and setSelectionEnd(). The selected text can be retrieved
using selectedText(). When getImage() is used to retrieve the visible image,
characters which are part of the selection have their colo
u
rs inverted.
characters which are part of the selection have their colors inverted.
*/
class
Screen
{
...
...
src/Session.h
View file @
330de6c6
...
...
@@ -165,7 +165,7 @@ public:
/**
* Sets the format used by this session for tab titles.
*
* @param context The context who
o
se format should be set.
* @param context The context whose format should be set.
* @param format The tab title format. This may be a mixture
* of plain text and dynamic elements denoted by a '%' character
* followed by a letter. (eg. %d for directory). The dynamic
...
...
@@ -751,7 +751,7 @@ public:
* Changes or activity in the group's master sessions may be propagated
* to all the sessions in the group, depending on the current masterMode()
*
* @param session The session who
o
se master status should be changed.
* @param session The session whose master status should be changed.
* @param master True to make this session a master or false otherwise
*/
void
setMasterStatus
(
Session
*
session
,
bool
master
);
...
...
src/SessionController.h
View file @
330de6c6
...
...
@@ -424,8 +424,8 @@ public:
{
/** Searches forwards through the output, starting at the current selection. */
ForwardsSearch
,
/** Searches backwars through the output, starting at the current selection. */
BackwardsSearch
/** Searches backwar
d
s through the output, starting at the current selection. */
BackwardsSearch
};
/**
...
...
src/SessionManager.h
View file @
330de6c6
...
...
@@ -282,7 +282,7 @@ signals:
/**
* Emitted when the shortcut for a profile is changed.
*
* @param profile The profile who
o
se status was changed
* @param profile The profile whose status was changed
* @param newShortcut The new shortcut key sequence for the profile
*/
void
shortcutChanged
(
Profile
::
Ptr
profile
,
const
QKeySequence
&
newShortcut
);
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment