aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
AgeCommit message (Collapse)AuthorFilesLines
2018-10-09Improve performance of text insertion when Unicode line indexing off.Neil1-0/+1
2018-07-10Optional indexing of line starts in UTF-8 documents by UTF-32 code points andNeil1-0/+9
UTF-16 code units added.
2018-06-10Using noexcept for simple functions.Neil1-1/+1
2018-05-14Replace 0 with nullptr.Neil1-1/+1
2018-04-28Delete standard functions on classes where there could be attempts to copy.Neil1-0/+2
2018-04-24Feature [feature-requests:#1215]. Make Action move constructor noexcept and useNeil1-2/+1
default implementation.
2018-04-21Use noexcept in basic data structures where reasonable.Neil1-0/+2
Declare the standard member functions in more classes
2018-04-21Tighten definition of regular expression iterators so they are noexcept andNeil1-7/+7
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.
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil1-0/+1
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.
2018-04-17Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes.Neil1-1/+4
This option is provisional and experimental.
2018-03-03Split LineVector into interface and implementation classes to allow futureNeil1-29/+3
choice between 32-bit and 64-bit position implementations.
2018-02-02Implement SC_DOCUMENTOPTION_STYLES_NONE.Neil1-1/+2
2018-02-01Templatize Partitioning so it can hold different types.Neil1-1/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
interfaces ILexer4 and IDocument.
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