aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-02-09 00:38:33 +0000
committernyamatongwe <devnull@localhost>2003-02-09 00:38:33 +0000
commit50fe4c1dedae94692f95ffaf79c60bb122616d37 (patch)
tree82ffd94e035f1a5480c84087a8ceaa955945b581 /src/Style.h
parenta5a640ae4418d378429a2b07147ce33a6b79fe69 (diff)
downloadscintilla-mirror-50fe4c1dedae94692f95ffaf79c60bb122616d37.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/Style.h')
-rw-r--r--src/Style.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Style.h b/src/Style.h
index 63259b1a9..6245b0b77 100644
--- a/src/Style.h
+++ b/src/Style.h
@@ -49,7 +49,7 @@ public:
void ClearTo(const Style &source);
bool EquivalentFontTo(const Style *other) const;
void Realise(Surface &surface, int zoomLevel, Style *defaultStyle = 0);
- bool IsProtected() { return !(changeable && visible);} ;
+ bool IsProtected() const { return !(changeable && visible);};
};
#endif