aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2024-09-28 08:08:15 +1000
committerNeil <nyamatongwe@gmail.com>2024-09-28 08:08:15 +1000
commit6a96abeb05a35a64b01154176d2c1d6a8622d3f3 (patch)
tree685b35c42d09c57879d12e6fa41eb5df53ca6e3d
parentc4f161912f4afff81b0697f52f78ad7f0620ac25 (diff)
downloadscintilla-mirror-6a96abeb05a35a64b01154176d2c1d6a8622d3f3.tar.gz
Remove private field that was never used.
-rw-r--r--src/Document.cxx2
-rw-r--r--src/Document.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/Document.cxx b/src/Document.cxx
index 88b876ebd..319cc37e1 100644
--- a/src/Document.cxx
+++ b/src/Document.cxx
@@ -167,8 +167,6 @@ Document::Document(DocumentOption options) :
tabIndents = true;
backspaceUnindents = false;
- matchesValid = false;
-
perLineData[ldMarkers] = std::make_unique<LineMarkers>();
perLineData[ldLevels] = std::make_unique<LineLevels>();
perLineData[ldState] = std::make_unique<LineState>();
diff --git a/src/Document.h b/src/Document.h
index fa1c3fe42..01c608d0e 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -301,7 +301,6 @@ private:
LineAnnotation *Annotations() const noexcept;
LineAnnotation *EOLAnnotations() const noexcept;
- bool matchesValid;
std::unique_ptr<RegexSearchBase> regex;
std::unique_ptr<LexInterface> pli;