aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib
diff options
context:
space:
mode:
Diffstat (limited to 'lexlib')
-rw-r--r--lexlib/Accessor.h2
-rw-r--r--lexlib/LexAccessor.h4
-rw-r--r--lexlib/LexerModule.cxx2
-rw-r--r--lexlib/PropSetSimple.cxx2
-rw-r--r--lexlib/StyleContext.h4
-rw-r--r--lexlib/WordList.cxx2
6 files changed, 8 insertions, 8 deletions
diff --git a/lexlib/Accessor.h b/lexlib/Accessor.h
index 9789f2b4a..1bb86c53b 100644
--- a/lexlib/Accessor.h
+++ b/lexlib/Accessor.h
@@ -12,7 +12,7 @@
namespace Scintilla {
#endif
-enum { wsSpace = 1, wsTab = 2, wsSpaceTab = 4, wsInconsistent=8};
+enum { wsSpace=1, wsTab=2, wsSpaceTab=4, wsInconsistent=8 };
class Accessor;
class WordList;
diff --git a/lexlib/LexAccessor.h b/lexlib/LexAccessor.h
index ae0af74e9..59e73cf6e 100644
--- a/lexlib/LexAccessor.h
+++ b/lexlib/LexAccessor.h
@@ -55,11 +55,11 @@ private:
public:
LexAccessor(IDocument *pAccess_) :
pAccess(pAccess_), startPos(extremePosition), endPos(0),
- codePage(pAccess->CodePage()),
+ codePage(pAccess->CodePage()),
encodingType(enc8bit),
lenDoc(pAccess->Length()),
mask(127), validLen(0), chFlags(0), chWhile(0),
- startSeg(0), startPosStyling(0),
+ startSeg(0), startPosStyling(0),
documentVersion(pAccess->Version()) {
switch (codePage) {
case 65001:
diff --git a/lexlib/LexerModule.cxx b/lexlib/LexerModule.cxx
index 532d09626..c77b31775 100644
--- a/lexlib/LexerModule.cxx
+++ b/lexlib/LexerModule.cxx
@@ -79,7 +79,7 @@ const char *LexerModule::GetWordListDescription(int index) const {
return "";
} else {
return wordListDescriptions[index];
- }
+ }
}
int LexerModule::GetStyleBitsNeeded() const {
diff --git a/lexlib/PropSetSimple.cxx b/lexlib/PropSetSimple.cxx
index 9197fb642..6792eea15 100644
--- a/lexlib/PropSetSimple.cxx
+++ b/lexlib/PropSetSimple.cxx
@@ -61,7 +61,7 @@ void PropSetSimple::Set(const char *keyVal) {
endVal++;
const char *eqAt = strchr(keyVal, '=');
if (eqAt) {
- Set(keyVal, eqAt + 1, static_cast<int>(eqAt-keyVal),
+ Set(keyVal, eqAt + 1, static_cast<int>(eqAt-keyVal),
static_cast<int>(endVal - eqAt - 1));
} else if (*keyVal) { // No '=' so assume '=1'
Set(keyVal, "1", static_cast<int>(endVal-keyVal), 1);
diff --git a/lexlib/StyleContext.h b/lexlib/StyleContext.h
index 12d69d8f2..9b5ce5dff 100644
--- a/lexlib/StyleContext.h
+++ b/lexlib/StyleContext.h
@@ -28,7 +28,7 @@ class StyleContext {
IDocumentWithLineEnd *multiByteAccess;
unsigned int endPos;
unsigned int lengthDocument;
-
+
// Used for optimizing GetRelativeCharacter
unsigned int posRelative;
unsigned int currentPosLastRelative;
@@ -43,7 +43,7 @@ class StyleContext {
chNext = static_cast<unsigned char>(styler.SafeGetCharAt(currentPos+width, 0));
widthNext = 1;
}
- // End of line determined from line end position, allowing CR, LF,
+ // End of line determined from line end position, allowing CR, LF,
// CRLF and Unicode line ends as set by document.
if (currentLine < lineDocEnd)
atLineEnd = static_cast<int>(currentPos) >= (lineStartNext-1);
diff --git a/lexlib/WordList.cxx b/lexlib/WordList.cxx
index a325833d4..1f7127999 100644
--- a/lexlib/WordList.cxx
+++ b/lexlib/WordList.cxx
@@ -70,7 +70,7 @@ WordList::WordList(bool onlyLineEnds_) :
words(0), list(0), len(0), onlyLineEnds(onlyLineEnds_) {
}
-WordList::~WordList() {
+WordList::~WordList() {
Clear();
}