aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
AgeCommit message (Collapse)AuthorFilesLines
2010-08-04Using NextPosition rather than MovePositionOutsideChar for column operationsnyamatongwe1-6/+8
and brace matching as it is much faster on DBCS text.
2010-08-04Added NextPosition as more efficient way to iterate through DBCS characters.nyamatongwe1-0/+70
2010-08-04Simplified DBCS to only handle 1 and 2 byte characters in CP 932, 936, 949, ↵nyamatongwe1-18/+21
or 950. Moved DBCS processing from Platform to Document.
2010-07-28Restore container lexing functionality which was accidentally removed by ↵nyamatongwe1-1/+1
lexer objects changes.
2010-07-24Removed debug logging.nyamatongwe1-4/+3
2010-07-13Files changed for new lexer design.nyamatongwe1-13/+84
2010-07-07Redraw when annotations change.nyamatongwe1-4/+10
DeleteAllMarks will only cause a modification notification when a mark was actually deleted.
2010-06-18Fix for bug #3017572 FindText crashes with empty textnyamatongwe1-0/+2
Always return start position when search text is empty.
2010-05-05Made some methods const.nyamatongwe1-2/+2
2010-04-03NUL characters in text formats on clipboard terminate the text.nyamatongwe1-1/+1
This is a reversion to 2.03 behaviour because of other applications using large clipboard allocations for small pieces of text.
2010-03-26Simplify code and use better variable names.nyamatongwe1-76/+57
2010-03-25New case insensitive searching implementation uses objects implementingnyamatongwe1-16/+138
the CaseFolder interface to fold both search text and document text so they can be compared with a simple strcmp. A simple table based folder CaseFolderTable is used for 8 bit encodings and maps input bytes to folded bytes. For multi-byte encodings except for UTF-8 a null (output same as input) CaseFolderTable is used. For UTF-8, more complex subclasses are used which call platform APIs to perform the folding. Folding is approximately to lower case although this differs between platforms.
2010-03-14Fixed bug where number of character in regular expression replace wasnyamatongwe1-0/+1
miscounting size of result which could lead to NULs in result.
2010-03-11Using passed length rather than 0 termination in case need to process textnyamatongwe1-1/+1
containing NULs.
2010-02-28Fix for bug #2959876 Regular expression replace cannot escape \nyamatongwe1-0/+3
2010-02-17Formatting whitespace.nyamatongwe1-45/+45
2010-01-19Reduced scope of variable.nyamatongwe1-1/+1
2009-07-21Using a much simpler property set implementation.nyamatongwe1-10/+0
Accessor objects use the PropertyGet interface to access just the property set methods they need. Removed SString.
2009-07-12Since now using exceptions, don't check result from new.nyamatongwe1-4/+0
2009-07-12Since exception handling now turned on, do not check return value from new.nyamatongwe1-2/+0
2009-07-10Duplicate works on discontiguous selections by duplicating each selection.nyamatongwe1-4/+2
UndoGroup class simplifies grouping actions together in the undo history.
2009-07-03Discontiguoues selection and virtual space initial commit.nyamatongwe1-0/+4
2009-06-24Some extra const constraints added while working on discontiguous selection.nyamatongwe1-3/+3
2009-06-10Clear out per-line data when all contents removed.nyamatongwe1-0/+7
2009-04-25Avoid out of bounds write when asked to add marker to line beyond end ofnyamatongwe1-5/+9
document.
2009-04-22Removed Document methods that returned parts of annotations in favour ofnyamatongwe1-39/+9
methods that return StyledText objects. Provided LineLength call on StyledText rather than iterator objects. Simplified code and made more things const.
2009-04-22Fixed bug where not styling last document line on screen when followed bynyamatongwe1-0/+10
annotation lines. StyledText class encapsulates related data when drawing annotations and margins.
2009-04-12Annotations and text margins added.nyamatongwe1-7/+157
2009-04-04Added AddUndoAction call for adding application actions into undo stack.nyamatongwe1-6/+18
2008-12-23Avoid warnings with gcc 4.3nyamatongwe1-4/+4
2008-12-16Namespace work for OS X / XCode compatibility.nyamatongwe1-4/+6
2008-10-22Fixes a namespace problem with the new replaceable regex.nyamatongwe1-0/+8
2008-06-29Simon Steele's modification to allow replacing the regularnyamatongwe1-195/+227
expression implementation.
2008-04-15Florian Balmer fixed VCHome for last line of document.nyamatongwe1-2/+2
2007-10-10Detect and handle invalid byte sequences in UTF-8 mode by displaying eachnyamatongwe1-5/+55
individual invalid byte as a hex blob.
2007-07-27Changed lineStates to a SplitVector so that it supports insert and deletenyamatongwe1-1/+0
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-26Added notification for changing line state and use it to redraw if a linenyamatongwe1-9/+11
state change overruns the end of painting.
2007-07-08Added const to methods that should not logically need to modify object.nyamatongwe1-5/+5
2007-07-05Moved expansion and contraction of decorators from Editor to Documentnyamatongwe1-0/+5
as its slightly better modularity.
2007-06-24Make the styles array variable length so it can be increased to 256 entriesnyamatongwe1-5/+1
without always taking 24K.
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-04-19Optimized indicator changing with separate SC_MOD_CHANGEINDICATORnyamatongwe1-4/+1
notification flag.
2007-04-19All Unicode planes supported, not just the Basic Multilingual Plane.nyamatongwe1-1/+3
2007-04-07More decoration code, with modifications reported from document to viewsnyamatongwe1-0/+11
although this isn't optimal. Some checking for null changes. Messages documented. Methods for changing indicators in Accessor so can be used by lexers.
2007-04-05Implemented decorations which are extended indicators.nyamatongwe1-0/+2
2007-02-13Optimisation that avoids double check for line ends.nyamatongwe1-2/+2
2007-01-26Separated reentrance check into text modification and styling modification ↵nyamatongwe1-20/+21
flags to allow styling to be performed within a text modification
2007-01-26Avoid trying to style when inside a modification as that styling will be ↵nyamatongwe1-3/+2
thrown away.
2007-01-02Separated the cell buffer into substance and style buffers.nyamatongwe1-33/+14
2007-01-01Major change to CellBuffer class with addition of Partitioning class and ↵nyamatongwe1-1/+3
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.