diff options
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 643929352..3bdbd7730 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -338,10 +338,7 @@ CellBuffer::CellBuffer(bool hasStyles_, bool largeDocument_) : utf8LineEnds = LineEndType::Default; collectingUndo = true; uh = std::make_unique<UndoHistory>(); - if (largeDocument) - plv = std::make_unique<LineVector<Sci::Position>>(); - else - plv = std::make_unique<LineVector<int>>(); + plv = std::make_unique<LineVector<Sci::Position>>(); } CellBuffer::~CellBuffer() noexcept = default; |