From 0865a5956ebacc1e816366330a4b311065ec068d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 21 May 2011 10:19:14 +1000 Subject: Code formatting normalised to standard. --- src/CallTip.cxx | 2 +- src/Editor.cxx | 4 ++-- src/ScintillaBase.cxx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 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; lineLinesTotal(); ) { + for (int line = lineStart; lineLinesTotal();) { 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); -- cgit v1.2.3