aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-02-02 14:34:55 +1100
committerNeil <nyamatongwe@gmail.com>2018-02-02 14:34:55 +1100
commit6fb4db4d6e160550a0889e209174b86e94bfe672 (patch)
treedf35b50ed6448f772c2288990c3f6332b6243d49 /src/CellBuffer.h
parent391226f67e1260eb77e7d3122d43281aa6ccd5ab (diff)
downloadscintilla-mirror-6fb4db4d6e160550a0889e209174b86e94bfe672.tar.gz
Backport: Implement SC_DOCUMENTOPTION_STYLES_NONE.
Backport of changeset 6448:431b814a54a6.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index a12dc207f..7c999a36e 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -133,6 +133,7 @@ public:
*/
class CellBuffer {
private:
+ bool hasStyles;
SplitVector<char> substance;
SplitVector<char> style;
bool readOnly;
@@ -151,7 +152,7 @@ private:
public:
- CellBuffer();
+ CellBuffer(bool hasStyles_);
// Deleted so CellBuffer objects can not be copied.
CellBuffer(const CellBuffer &) = delete;
void operator=(const CellBuffer &) = delete;