diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2013-08-20 13:54:04 +1000 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-08-20 13:54:04 +1000 |
commit | 0e77bdd99fd710266152d2e092d28d10c5dedfbf (patch) | |
tree | 6abba86f3a5b2104e094629f7a53c1d1b8b44322 /src/ViewStyle.cxx | |
parent | 42f803af27c398e1ef78541832e602c69cbc6d47 (diff) | |
download | scintilla-mirror-0e77bdd99fd710266152d2e092d28d10c5dedfbf.tar.gz |
Fix bug where coordinates were relative to the text view instead of the whole view.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r-- | src/ViewStyle.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 7ef4f8cb3..5e2ad1ee7 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -409,6 +409,10 @@ bool ViewStyle::ProtectionActive() const { return someStylesProtected; } +int ViewStyle::ExternalMarginWidth() const { + return marginInside ? 0 : fixedColumnWidth; +} + bool ViewStyle::ValidStyle(size_t styleIndex) const { return styleIndex < styles.size(); } |