aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
AgeCommit message (Collapse)AuthorFilesLines
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.
2001-06-01Some assertions from Mark.nyamatongwe1-0/+2
2001-04-25Changed allocation growth factor to double when it gets less than a sixth ofnyamatongwe1-1/+1
the buffer size instead of a quarter as this means worst case wasted space of one quarter rather than one third at little cost in time.
2001-04-25Changed buffer growth strategy to be proportional to current size by doublingnyamatongwe1-1/+4
gowth size whenever the buffer size is more than 4 times the buffer size. Reduced load of 10 Meg file from 12 to 4 seconds and 30 Meg file from 1000 to 21 seconds. Reformatting.
2001-03-30Undo coalescing now allows deletes of size 1 or 2 to be coalesced.nyamatongwe1-1/+1
Document.cxx reformatted.
2001-03-30Fixed bug when single character deletions were being coalesced even thoughnyamatongwe1-12/+15
they were not adjacent.
2001-02-24Updated documentation comments from Philippe.nyamatongwe1-1/+3
2001-01-29Fixed problem where BeginUndoAction and EndUndoAction were in wrong order.nyamatongwe1-4/+9
Made both the effects of backspace and delete keys be coalesced together into undo actions.
2001-01-28Updating copyright notices for 2001.nyamatongwe1-1/+1
2001-01-16Changed undo node coalescing so that a paste followed by typing createsnyamatongwe1-0/+3
two undo steps - one for the typing and one for the paste.
2000-09-06Fix from Tahir Karaca for LineVector::MergeMarkers.nyamatongwe1-58/+65
2000-07-18Added functions to clear all styling and contraction.nyamatongwe1-0/+9
2000-07-05Fixed BoundsChecker warnings including some leaks.nyamatongwe1-0/+4
2000-06-22Removed deprecated APIs.nyamatongwe1-2/+2
Added gets to match sets for UndoCollection, BufferedDraw, CodePage, UsePalette, ReadOnly, CaretFore, and ModEventMask. Undo collection status is a bool again - enumeration deprecated. Timing code commented out.
2000-04-23Fixing problems with fold information degrading when lines inserted andnyamatongwe1-14/+42
removed. New notifications before inserting and deleting text.
2000-04-21Changed font sizing to use more Windows compatible calculationnyamatongwe1-1/+10
Some unfinished work on fixing folding bugs.
2000-04-18Removed PropSet from Accessor interface.nyamatongwe1-0/+1
Indenting and horizontal scroll bar messages. Fixed undo grouping bug. Vertical scrolling can be performed with Ctrl+ arrows
2000-04-07Changing code to ensure no warnings are produced by compilers.nyamatongwe1-2/+2