diff options
author | Neil <nyamatongwe@gmail.com> | 2018-09-29 08:04:11 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-09-29 08:04:11 +1000 |
commit | fb283d9b0623957aa34026a5c1eb859d1a3899d7 (patch) | |
tree | f8f22ac2ed4a40df5450f5153d965bd21f5f2ea6 | |
parent | 923de61d67670fb0c5e3edadbae10e4b57c6dbe9 (diff) | |
download | scintilla-mirror-fb283d9b0623957aa34026a5c1eb859d1a3899d7.tar.gz |
Backport: Normalize formatting with astyle.
Backport of changeset 7099:4a3900a05537.
-rw-r--r-- | src/Editor.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index a3222cf19..0db15d512 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -206,7 +206,7 @@ void Editor::SetRepresentations() { reprs.Clear(); // C0 control set - const char * const reps[] = { + const char *const reps[] = { "NUL", "SOH", "STX", "ETX", "EOT", "ENQ", "ACK", "BEL", "BS", "HT", "LF", "VT", "FF", "CR", "SO", "SI", "DLE", "DC1", "DC2", "DC3", "DC4", "NAK", "SYN", "ETB", @@ -220,7 +220,7 @@ void Editor::SetRepresentations() { // C1 control set // As well as Unicode mode, ISO-8859-1 should use these if (IsUnicodeMode()) { - const char * const repsC1[] = { + const char *const repsC1[] = { "PAD", "HOP", "BPH", "NBH", "IND", "NEL", "SSA", "ESA", "HTS", "HTJ", "VTS", "PLD", "PLU", "RI", "SS2", "SS3", "DCS", "PU1", "PU2", "STS", "CCH", "MW", "SPA", "EPA", @@ -294,7 +294,7 @@ void Editor::RefreshStyleData() { } Point Editor::GetVisibleOriginInMain() const { - return Point(0,0); + return Point(0, 0); } PointDocument Editor::DocumentPointFromView(Point ptView) const { @@ -4455,7 +4455,7 @@ void Editor::DwellEnd(bool mouseMoved) { void Editor::MouseLeave() { SetHotSpotRange(nullptr); if (!HaveMouseCapture()) { - ptMouseLast = Point(-1,-1); + ptMouseLast = Point(-1, -1); DwellEnd(true); } } @@ -4810,7 +4810,7 @@ void Editor::ButtonMoveWithModifiers(Point pt, unsigned int, int modifiers) { if (hotspot.Valid() && !PointIsHotspot(pt)) SetHotSpotRange(nullptr); - if (hotSpotClickPos != INVALID_POSITION && PositionFromLocation(pt,true,true) != hotSpotClickPos) { + if (hotSpotClickPos != INVALID_POSITION && PositionFromLocation(pt, true, true) != hotSpotClickPos) { if (inDragDrop == ddNone) { DisplayCursor(Window::cursorText); } |