aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
AgeCommit message (Collapse)AuthorFilesLines
2018-06-10Backport: Using noexcept for simple functions.Neil1-1/+1
Backport of changeset 7029:c726541dbd11.
2018-05-14Backport: Replace 0 with nullptr.Neil1-1/+1
Backport of changeset 6945:044688817478.
2018-04-28Backport: Delete standard functions on classes where there could be attempts ↵Neil1-0/+2
to copy. Backport of changeset 6756:29866b0927e0.
2018-04-24Backport: Feature [feature-requests:#1215]. Make Action move constructor ↵Neil1-2/+1
noexcept and use default implementation. Backport of changeset 6734:e852ad4d15ff.
2018-04-21Backport: Use noexcept in basic data structures where reasonable.Neil1-0/+2
Declare the standard member functions in more classes Backport of changeset 6725:2864bc1b748a.
2018-04-21Backport: Tighten definition of regular expression iterators so they are ↵Neil1-7/+7
noexcept and define all the standard member functions. This cascades to all methods called by the iterators, affecting Document, CellBuffer, Partitioning, SplitVector and UTF-8 and DBCS functions. Other trivial functions declared noexcept. Backport of changeset 6724:f2dfdc0dddd3.
2018-04-19Backport: Casting changed in many places, due to change to 64-bit variables ↵Neil1-0/+1
for 64-bit builds. Some of the changes ensure no truncation while others remove casts that are no longer needed because the externally visible Sci_Position is now identical to Sci::Position. Some extra methods (CellBuffer::UCharAt and Document::SciLineFromPosition) added to avoid casting in client code. Sci::Line is currently identical to Sci::Position but it could be made smaller so lines have Sci::Line types and are cast. Some arguments widened. Backport of changeset 6705:5c0a80740b8c.
2018-05-05Backport: Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than ↵mitchell1-1/+4
2 GigaBytes. This option is provisional and experimental. Backport of changesets 6696:9729ff36c5b1 and 6723:cffe824ab55e. Also added '#include <cstddef>' to top of src/RESearch.cxx to fix 32-bit build error.
2018-03-03Backport: Split LineVector into interface and implementation classes to ↵Neil1-29/+3
allow future choice between 32-bit and 64-bit position implementations. Backport of changeset 6682:59913262eb19.
2018-02-02Backport: Implement SC_DOCUMENTOPTION_STYLES_NONE.Neil1-1/+2
Backport of changeset 6448:431b814a54a6.
2018-02-01Backport: Templatize Partitioning so it can hold different types.Neil1-1/+1
Backport of changeset 6444:1bd57324aa36.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-4/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-04-29Use std::unique_ptr, std::vector, and move construction to simplify UndoHistoryNeil1-7/+9
and make it easier to modify. Remove out of date warning suppression.
2017-04-21More consistent deletion of standard methods.Neil1-1/+11
2017-04-19Use =delete for unwanted functions.Neil1-3/+2
2017-04-07Use same parameter names in declarations and definitions.Neil1-2/+2
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-35/+35
and lines.
2016-11-15Remove declaration of methods that were moved to Document in change set 2867.Neil1-16/+0
2015-12-31Treat Unicode line ends like common line ends when maintaining fold state.Neil1-0/+1
2014-07-18Added the tentative undo feature. This is useful for IMEs that want to displayNeil1-0/+12
and manipulate a character being composed, but may then commit or remove it leaving no history in undo of the intermediate forms.
2014-05-24Removing style byte indicators.Neil1-2/+2
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-2/+2
Parameter names added to method declarations.
2013-07-03Make CellBuffer::DeleteChars return a pointer to the deleted data evenNeil1-1/+1
when deleting all of the buffer.
2013-05-24Made methods const where they can be and are logically const as well.nyamatongwe1-3/+3
2013-05-03Moved allocation of data owned by Action into Action::Create.nyamatongwe1-2/+2
Made more variables const.
2013-01-19Add private copy constructors to prevent copying and avoid warnings.nyamatongwe1-0/+3
2013-01-19Support the three Unicode line ends NEL, LS, and PS in CellBuffer, Document,nyamatongwe1-0/+5
Editor and the message interface. Will only be turned on for lexers that support Unicode line ends.
2012-05-26Add GetRangePointer and GetGapPosition methods.nyamatongwe1-0/+2
2010-09-25Optimization of line layout by minimizing calls in Editor::LayoutLine and ↵nyamatongwe1-0/+1
avoiding case force processing unless at least one style uses a case force option.
2010-09-16Make internal methods private.nyamatongwe1-4/+4
2010-05-05Made some methods const.nyamatongwe1-2/+2
2010-04-19Potential fix to bug #974009 and #2986727 Markers don't move when return isnyamatongwe1-2/+2
hit at start of line.
2010-03-13Adding const to methods where possible.nyamatongwe1-2/+2
2009-06-24Some extra const constraints added while working on discontiguous selection.nyamatongwe1-2/+2
2009-06-10Clear out per-line data when all contents removed.nyamatongwe1-0/+1
2009-04-19Added UNDO_MAY_COALESCE flag to AddUndoAction.nyamatongwe1-2/+2
2009-04-12Updated for new way of handling per-line data.nyamatongwe1-53/+17
2009-04-04Added AddUndoAction call for adding application actions into undo stack.nyamatongwe1-1/+2
2008-04-27Implemented GetCharacterPointer feature.nyamatongwe1-0/+1
2007-07-27Changed lineStates to a SplitVector so that it supports insert and deletenyamatongwe1-1/+3
so inserting and deleting lines does not cause a really large number of changed values under most circumstances leading to fewer notifications. SVector is no longer used.
2007-07-08Added const to methods that should not logically need to modify object.nyamatongwe1-6/+6
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+8
message :) - now uses namespaces (optionally for non-os x) to avoid conflicts with OS X libraries - several fixes in the OS X layer since the branch was commited in 2005 - used in Komodo since 2005, so pretty stable
2007-01-02Separated the cell buffer into substance and style buffers.nyamatongwe1-12/+6
2007-01-01Major change to CellBuffer class with addition of Partitioning class and ↵nyamatongwe1-41/+28
SplitVector template. Inserting and deleting lines are made more efficient by lessening the amount of per line information copied. Marker data is only allocated for each line if markers are added.
2006-10-17Armel Asselin contributed a feature that adds the flag SC_STARTACTION tonyamatongwe1-3/+3
modification notifications where the modification is the first step of an undo transaction. This is used to synchronize with the container's undo stack.
2005-12-11Patch from Armel Asselin in RFE 1377661 to store positions in undo stacknyamatongwe1-1/+0
in terms of document (cell) position rather than byte position. Will help allow expansion to more than 2 bytes per cell.
2004-06-23Delete all markers for a particular marker number now deletesnyamatongwe1-2/+2
multiple markers on one line.
2004-04-12Comments from Philippe.nyamatongwe1-7/+9
2004-01-20Method to preallocate document space.nyamatongwe1-1/+2
2002-08-03Changed LineVector to use an exponential allocation strategy whichnyamatongwe1-1/+1
minimises the memory allocated for short files but avoids excessive copying for huge files. 23 Meg file load changes from 17 seconds to 3.