From 93f47df6328a33e7d2044afbe135d1189157e63d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 15 Mar 2013 23:34:46 +1100 Subject: Use an NSScrollView on Cocoa for kinetic scrolling and hiding scrollbars unless wanted. Also affects platform-independent code. --- src/ViewStyle.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ViewStyle.h') diff --git a/src/ViewStyle.h b/src/ViewStyle.h index ddcc64312..bd26613cb 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -108,7 +108,9 @@ public: int rightMarginWidth; ///< Spacing margin on right of text int maskInLine; ///< Mask for markers to be put into text because there is nowhere for them to go in margin MarginStyle ms[SC_MAX_MARGIN+1]; - int fixedColumnWidth; + int fixedColumnWidth; ///< Total width of margins + bool marginInside; ///< true: margin included in text view, false: separate views + int textStart; ///< Starting x position of text within the view int zoomLevel; WhiteSpaceVisibility viewWhitespace; int whitespaceSize; -- cgit v1.2.3