aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/AutoComplete.h2
-rw-r--r--src/Editor.cxx8
-rw-r--r--src/RESearch.cxx4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/AutoComplete.h b/src/AutoComplete.h
index 6838e4306..c35fa1a0e 100644
--- a/src/AutoComplete.h
+++ b/src/AutoComplete.h
@@ -65,7 +65,7 @@ public:
void SetSeparator(char separator_);
char GetSeparator() const;
- /// The typesep character is used for seperating the word from the type
+ /// The typesep character is used for separating the word from the type
void SetTypesep(char separator_);
char GetTypesep() const;
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 24900dc77..4966d8efd 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -1219,7 +1219,7 @@ so the caret can move in the same direction longer before the policy is applied
If even is not set, instead of having symmetrical UZs,
the left and bottom UZs are extended up to right and top UZs respectively.
-This way, we favour the displaying of useful information: the begining of lines,
+This way, we favour the displaying of useful information: the beginning of lines,
where most code reside, and the lines after the caret, eg. the body of a function.
| | | | |
@@ -3846,7 +3846,7 @@ long Editor::FormatRange(bool draw, Sci_RangeToFormat *pfr) {
vsPrint.rightMarginWidth = 0;
vsPrint.Refresh(*surfaceMeasure, pdoc->tabInChars);
- // Determining width must hapen after fonts have been realised in Refresh
+ // Determining width must happen after fonts have been realised in Refresh
int lineNumberWidth = 0;
if (lineNumberIndex >= 0) {
lineNumberWidth = static_cast<int>(surfaceMeasure->WidthText(vsPrint.styles[STYLE_LINENUMBER].font,
@@ -6409,7 +6409,7 @@ void Editor::ButtonDownWithModifiers(Point pt, unsigned int curTime, int modifie
doubleClick = true;
} else if (selectionType == selWord) {
// Since we ended up here, we're inside a *triple* click, which should always select
- // whole line irregardless of word wrap being enabled or not.
+ // whole line regardless of word wrap being enabled or not.
selectionType = selWholeLine;
} else {
selectionType = selChar;
@@ -6837,7 +6837,7 @@ bool Editor::Idle() {
// Add more idle things to do here, but make sure idleDone is
// set correctly before the function returns. returning
- // false will stop calling this idle funtion until SetIdle() is
+ // false will stop calling this idle function until SetIdle() is
// called again.
idleDone = wrappingDone; // && thatDone && theOtherThingDone...
diff --git a/src/RESearch.cxx b/src/RESearch.cxx
index 1958773cb..74db01355 100644
--- a/src/RESearch.cxx
+++ b/src/RESearch.cxx
@@ -784,7 +784,7 @@ int RESearch::Execute(CharacterIndexer &ci, int lp, int endp) {
c = *(ap+1);
while ((lp < endp) && (static_cast<unsigned char>(ci.CharAt(lp)) != c))
lp++;
- if (lp >= endp) /* if EOS, fail, else fall thru. */
+ if (lp >= endp) /* if EOS, fail, else fall through. */
return 0;
default: /* regular matching all the way. */
while (lp < endp) {
@@ -814,7 +814,7 @@ int RESearch::Execute(CharacterIndexer &ci, int lp, int endp) {
*
* special case optimizations: (nfa[n], nfa[n+1])
* CLO ANY
- * We KNOW .* will match everything upto the
+ * We KNOW .* will match everything up to the
* end of line. Thus, directly go to the end of
* line, without recursive PMatch calls. As in
* the other closure cases, the remaining pattern