aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-06-12 11:49:56 +1000
committerNeil <nyamatongwe@gmail.com>2017-06-12 11:49:56 +1000
commit69b778424b380a32a6c83526b678466712c4a220 (patch)
tree808839f4df4bc62dd0d5faf5cd24620e8cbf8b3a /src/ViewStyle.cxx
parentccfd60b0fda24c2daa06ff02b2f909850095a56a (diff)
downloadscintilla-mirror-69b778424b380a32a6c83526b678466712c4a220.tar.gz
Backport: Removed unused functions and methods from Platform.h.
Replaced Platform::Clamp with Sci::clamp. Drop MouseButtonBounce workaround for very early GTK+/Linux. Backported from changeset 6307:7030530a9a0f.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 7a0b146f8..771d4a8f4 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -460,7 +460,7 @@ void ViewStyle::CalcLargestMarkerHeight() {
}
int ViewStyle::GetFrameWidth() const {
- return Platform::Clamp(caretLineFrame, 1, lineHeight / 3);
+ return Sci::clamp(caretLineFrame, 1, lineHeight / 3);
}
bool ViewStyle::IsLineFrameOpaque(bool caretActive, bool lineContainsCaret) const {