diff options
author | Neil <nyamatongwe@gmail.com> | 2015-09-23 09:33:21 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-09-23 09:33:21 +1000 |
commit | c9317c2bdfa092a531ed5ba0ec9f5115689489ac (patch) | |
tree | 9511dd654e0576afd6caf379a55513f80ea7b4fb /src/ViewStyle.h | |
parent | 3d6f475c76142eae65b4b219df936f2bc6a4db3a (diff) | |
download | scintilla-mirror-c9317c2bdfa092a531ed5ba0ec9f5115689489ac.tar.gz |
When SC_MARK_UNDERLINE if not assigned to a margin, stop drawing the whole line.
Optimise drawing of markers that appear in the text area.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 930ad104c..242e7e38e 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -114,6 +114,7 @@ public: int leftMarginWidth; ///< Spacing margin on left of text 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 + int maskDrawInText; ///< Mask for markers that always draw in text MarginStyle ms[SC_MAX_MARGIN+1]; int fixedColumnWidth; ///< Total width of margins bool marginInside; ///< true: margin included in text view, false: separate views @@ -160,6 +161,7 @@ public: ViewStyle(); ViewStyle(const ViewStyle &source); ~ViewStyle(); + void CalculateMarginWidthAndMask(); void Init(size_t stylesSize_=256); void Refresh(Surface &surface, int tabInChars); void ReleaseAllExtendedStyles(); |