diff options
author | nyamatongwe <devnull@localhost> | 2011-05-21 10:19:14 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-05-21 10:19:14 +1000 |
commit | 0865a5956ebacc1e816366330a4b311065ec068d (patch) | |
tree | 0bb6da58109e866caee2627d3986f7769d6949b4 /src | |
parent | 9ed1465a78cc69038d8a5655e6e1dba9c4258e5b (diff) | |
download | scintilla-mirror-0865a5956ebacc1e816366330a4b311065ec068d.tar.gz |
Code formatting normalised to standard.
Diffstat (limited to 'src')
-rw-r--r-- | src/CallTip.cxx | 2 | ||||
-rw-r--r-- | src/Editor.cxx | 4 | ||||
-rw-r--r-- | src/ScintillaBase.cxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx index 604304bf8..cdc30fcbc 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -100,7 +100,7 @@ void CallTip::DrawChunk(Surface *surface, int &x, const char *s, int ends[numEnds + 2]; for (int i=0; i<len; i++) { if ((maxEnd < numEnds) && - (IsArrowCharacter(s[i]) || IsTabCharacter(s[i])) ) { + (IsArrowCharacter(s[i]) || IsTabCharacter(s[i]))) { if (i > 0) ends[maxEnd++] = i; ends[maxEnd++] = i+1; diff --git a/src/Editor.cxx b/src/Editor.cxx index 2fa3a4340..d1d0e7f91 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6341,7 +6341,7 @@ void Editor::ButtonMove(Point pt) { if (hsStart != -1 && !PositionIsHotspot(movePos.Position())) SetHotSpotRange(NULL); - if (hotSpotClickPos != INVALID_POSITION && PositionFromLocation(pt,true,false) != hotSpotClickPos ) { + if (hotSpotClickPos != INVALID_POSITION && PositionFromLocation(pt,true,false) != hotSpotClickPos) { if (inDragDrop == ddNone) { DisplayCursor(Window::cursorText); } @@ -6725,7 +6725,7 @@ void Editor::ToggleContraction(int line) { } int Editor::ContractedFoldNext(int lineStart) { - for (int line = lineStart; line<pdoc->LinesTotal(); ) { + for (int line = lineStart; line<pdoc->LinesTotal();) { if (!cs.GetExpanded(line) && (pdoc->GetLevel(line) & SC_FOLDLEVELHEADERFLAG)) return line; line = cs.ContractedNext(line+1); diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 0e6ecc8b7..3de4a4583 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -135,16 +135,16 @@ int ScintillaBase::KeyCommand(unsigned int iMessage) { AutoCompleteMove(1); return 0; case SCI_LINEUP: - AutoCompleteMove( -1); + AutoCompleteMove(-1); return 0; case SCI_PAGEDOWN: AutoCompleteMove(5); return 0; case SCI_PAGEUP: - AutoCompleteMove( -5); + AutoCompleteMove(-5); return 0; case SCI_VCHOME: - AutoCompleteMove( -5000); + AutoCompleteMove(-5000); return 0; case SCI_LINEEND: AutoCompleteMove(5000); |