aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
AgeCommit message (Collapse)AuthorFilesLines
2013-07-03Make CellBuffer::DeleteChars return a pointer to the deleted data evenNeil1-6/+9
when deleting all of the buffer.
2013-07-03Restore return of data from InsertString/DeleteChars.nyamatongwe1-6/+5
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-12/+10
Made more variables const.
2013-04-19Using std::fill instead of a loop is much faster. As much as 4x on a large ↵nyamatongwe1-0/+2
block.
2013-01-26Fixed unused value warning.nyamatongwe1-2/+1
2013-01-19Support the three Unicode line ends NEL, LS, and PS in CellBuffer, Document,nyamatongwe1-7/+108
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/+8
2010-09-25Optimization of line layout by minimizing calls in Editor::LayoutLine and ↵nyamatongwe1-0/+13
avoiding case force processing unless at least one style uses a case force option.
2010-09-24Added GetRange method to SplitVector as fast way to retrieve elements.nyamatongwe1-4/+1
2010-05-05Made some methods const.nyamatongwe1-2/+2
2010-05-04Changed insertion of multi-line text so that markers are moved down.nyamatongwe1-1/+0
See bug #2986727.
2010-04-19Potential fix to bug #974009 and #2986727 Markers don't move when return isnyamatongwe1-6/+10
hit at start of line.
2010-03-13Adding const to methods where possible.nyamatongwe1-2/+2
2010-02-17Formatting whitespace.nyamatongwe1-3/+3
2010-01-19Fully intialize Action.nyamatongwe1-0/+1
2009-07-12Since now using exceptions, don't check result from new.nyamatongwe1-2/+0
2009-06-24Some extra const constraints added while working on discontiguous selection.nyamatongwe1-1/+1
2009-06-10Clear out per-line data when all contents removed.nyamatongwe1-1/+4
2009-04-24Added namespace defintion to PerLine.h and using namespace innyamatongwe1-0/+4
CellBuffer.cxx to make build on OS X.
2009-04-19Added UNDO_MAY_COALESCE flag to AddUndoAction.nyamatongwe1-16/+23
2009-04-12Updated for new way of handling per-line data.nyamatongwe1-317/+10
2009-04-04Added AddUndoAction call for adding application actions into undo stack.nyamatongwe1-0/+8
2008-04-27Implemented GetCharacterPointer feature.nyamatongwe1-0/+4
2008-01-21Fixed crash when line states is allocated and line inserted after end ofnyamatongwe1-0/+1
line states.
2007-11-23Fixed crash when using line state, the final line has not been given a linenyamatongwe1-1/+1
state and is deleted.
2007-07-30Fix bug #1760848 by ensuring undo stack level is maintained during annyamatongwe1-0/+1
automatic load while reload.preserves.undo=1.
2007-07-27Changed lineStates to a SplitVector so that it supports insert and deletenyamatongwe1-8/+23
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-4/+4
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+4
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-03Rely on SplitVector::ValueAt allowing out-of-range access to simplify ↵nyamatongwe1-20/+8
calling code.
2007-01-02Separated the cell buffer into substance and style buffers.nyamatongwe1-83/+68
2007-01-01Major change to CellBuffer class with addition of Partitioning class and ↵nyamatongwe1-341/+159
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-12-31Fixed folding slowness when pasting a large amount of text on an empty line. ↵nyamatongwe1-1/+1
Does not propagate wgitespace flag onto new lines which made them subordinate. Setting a line visible in contraction state now only invalidates the data structure if line currently not visible.
2006-10-17Armel Asselin contributed a feature that adds the flag SC_STARTACTION tonyamatongwe1-7/+10
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-15/+8
in terms of document (cell) position rather than byte position. Will help allow expansion to more than 2 bytes per cell.
2005-09-10Added assertions to trap bugs earlier.nyamatongwe1-0/+2
2005-06-16Fixes to folding in Scintilla and SciTE as described in Bug #1219354.nyamatongwe1-0/+5
2005-05-07Patch from Robert that avoids slow performance for multiple step undonyamatongwe1-2/+2
or redo by only modifying the scroll bars at the end. When document is read only, undo and redo send a SCN_MODIFYATTEMPTRO notification.
2005-02-06A potential fix for bug reported to Scintilla mailing list "folding + undo = ↵nyamatongwe1-5/+1
problem". It changes the the deletion of lines of fold information to remove the line being deleted rather than the previous line. The deletion of the previous line looks like an attempt to avoid losing folding information when a line is deleted.
2004-09-19Fix to problem where performing actions moved to same positionnyamatongwe1-0/+3
as save point leading to IsSavePoint returning true incorrectly.
2004-06-23Delete all markers for a particular marker number now deletesnyamatongwe1-5/+13
multiple markers on one line.
2004-01-21Implementation of Allocate.nyamatongwe1-2/+2
2004-01-20Method to preallocate document space.nyamatongwe1-11/+14
2003-07-26Bug fix for #761642 SCI_MARKERDELETEALL doesn't delete allnyamatongwe1-2/+2
2002-10-08Extra safety by anding mask into styles being set.nyamatongwe1-0/+1
2002-08-03Changed LineVector to use an exponential allocation strategy whichnyamatongwe1-0/+3
minimises the memory allocated for short files but avoids excessive copying for huge files. 23 Meg file load changes from 17 seconds to 3.
2002-04-26Fixed bug when handling removal of '\n' following '\r'.nyamatongwe1-4/+7
2001-08-14When asked for the line start of a line after the end of the buffer,nyamatongwe1-1/+1
returns the length of the buffer rather than double the length of the buffer.
2001-07-17Changed caret to start in off and inactive state.nyamatongwe1-16/+13
Removed extraneous tests in EnsureUndoRoom.