aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-05-22 01:33:04 +0000
committernyamatongwe <unknown>2001-05-22 01:33:04 +0000
commit6c1e837c5ebb40996f9a65dfa925774d5b10a109 (patch)
treed1ea38fe6c47b29083918d7429c9d630d6b83c19 /src/Style.h
parentd729c7673bc2e71477dcc029ce31f7478f97894a (diff)
downloadscintilla-mirror-6c1e837c5ebb40996f9a65dfa925774d5b10a109.tar.gz
Support for forced upper and lower case styles.
Diffstat (limited to 'src/Style.h')
-rw-r--r--src/Style.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Style.h b/src/Style.h
index 251030990..3600886b3 100644
--- a/src/Style.h
+++ b/src/Style.h
@@ -22,6 +22,8 @@ public:
int characterSet;
bool eolFilled;
bool underline;
+ enum ecaseForced {caseMixed, caseUpper, caseLower};
+ ecaseForced caseForce;
bool visible;
Font font;
@@ -40,7 +42,9 @@ public:
void Clear(Colour fore_, Colour back_,
int size_,
const char *fontName_, int characterSet_,
- bool bold_, bool italic_, bool eolFilled_, bool underline_, bool visible_);
+ bool bold_, bool italic_, bool eolFilled_,
+ bool underline_, ecaseForced caseForce_, bool visible_);
+ void ClearTo(const Style &source);
bool EquivalentFontTo(const Style *other) const;
void Realise(Surface &surface, int zoomLevel, Style *defaultStyle = 0);
};