diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2014-04-22 09:59:10 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2014-04-22 09:59:10 +1000 |
commit | ee2e64f273fc1b44273ee61edbde6c159ee4c080 (patch) | |
tree | 0634e67ac56468ec7c1b271760ad614cfeb8f422 /src/Editor.h | |
parent | 35508dddb38e44175092828e813aa73a9596a278 (diff) | |
download | scintilla-mirror-ee2e64f273fc1b44273ee61edbde6c159ee4c080.tar.gz |
Hoisting some calculations into classes: ContractionState::DisplayLastFromDoc
Range::First and Range::Last.
Changing Editor::RectangleFromRange arguments to a Range.
Simplifying code and specifying some local variables as const.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h index 532211283..2f095a060 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -361,7 +361,7 @@ protected: // ScintillaBase subclass needs access to much of Editor virtual void DiscardOverdraw(); virtual void Redraw(); void RedrawSelMargin(int line=-1, bool allAfter=false); - PRectangle RectangleFromRange(int start, int end); + PRectangle RectangleFromRange(Range r); void InvalidateRange(int start, int end); bool UserVirtualSpace() const { |