diff options
author | nyamatongwe <unknown> | 2003-02-09 00:38:33 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-02-09 00:38:33 +0000 |
commit | d12066ddf93ee87b6263d7cf5045be43aaa9e6a0 (patch) | |
tree | 82ffd94e035f1a5480c84087a8ceaa955945b581 /src/ViewStyle.h | |
parent | 76e9ea6cd657adee6738adcff0d4ba41e5c2057b (diff) | |
download | scintilla-mirror-d12066ddf93ee87b6263d7cf5045be43aaa9e6a0.tar.gz |
Protected style fixed in several ways.
Method to determine cheaply if protection turned on at all.
Caret movement doesn't skip over text outside protected range.
Methods for deciding if a range or the selection contains protected text.
Several deletion commands perform no action if they would delete protected
text.
Two phase drawing no longer draws invisible text.
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 887170eaa..d43ccef67 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -78,6 +78,7 @@ public: ColourPair edgecolour; int edgeState; int caretWidth; + bool someStylesProtected; ViewStyle(); ViewStyle(const ViewStyle &source); @@ -88,6 +89,7 @@ public: void ResetDefaultStyle(); void ClearStyles(); void SetStyleFontName(int styleIndex, const char *name); + bool ProtectionActive() const; }; #endif |