aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-02-17 00:39:46 +0000
committernyamatongwe <devnull@localhost>2010-02-17 00:39:46 +0000
commit81966e31f21a009cbae89dd3f774b3a410f201e4 (patch)
treefddf110012583bb00001b22648b574320f642815 /src/CellBuffer.cxx
parent827c80b678ba55806c611de6163cafa7dcf03fb8 (diff)
downloadscintilla-mirror-81966e31f21a009cbae89dd3f774b3a410f201e4.tar.gz
Formatting whitespace.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index be0440304..ac327dfad 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -197,7 +197,7 @@ void UndoHistory::AppendAction(actionType at, int position, char *data, int leng
// Insertions must be immediately after to coalesce
currentAction++;
} else if (at == removeAction) {
- if ((lengthData == 1) || (lengthData == 2)){
+ if ((lengthData == 1) || (lengthData == 2)) {
if ((position + lengthData) == actPrevious->position) {
; // Backspace -> OK
} else if (position == actPrevious->position) {
@@ -349,7 +349,7 @@ void CellBuffer::GetCharRange(char *buffer, int position, int lengthRetrieve) {
lengthRetrieve, substance.Length());
return;
}
-
+
for (int i=0; i<lengthRetrieve; i++) {
*buffer++ = substance.ValueAt(position + i);
}
@@ -359,7 +359,7 @@ char CellBuffer::StyleAt(int position) {
return style.ValueAt(position);
}
-const char *CellBuffer::BufferPointer() {
+const char *CellBuffer::BufferPointer() {
return substance.BufferPointer();
}