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
commit46f9fd7509eaa2809392acf3a264b57a2daf973c (patch)
tree1e3ee8a900c4e4c7768abbe21bfa9acc4043b345 /src/ViewStyle.cxx
parent09972b3a179d7ea39ef6ce7e0474531797c549fb (diff)
downloadscintilla-mirror-46f9fd7509eaa2809392acf3a264b57a2daf973c.tar.gz
Removed unused functions and methods from Platform.h.
Replaced Platform::Clamp with Sci::clamp but will later change this to std::clamp once on full C++17 compilers. Drop MouseButtonBounce workaround for very early GTK+/Linux.
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 {