aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
AgeCommit message (Collapse)AuthorFilesLines
2010-11-20Bug #3111957. Use __unix__ rather than unix for compatibility with OpenBSD.nyamatongwe1-1/+1
2010-11-10Remove support for Borland C++.nyamatongwe1-8/+0
Use a library for the lexers with MSVC to simplify SciTE makefile.
2010-11-08Fix for bug #3103936. Backwards search with code page 936 does not match at ↵nyamatongwe1-1/+1
line start.
2010-09-25Bug #3075074 fixed. AddMark and AddMarkSet need to check line argnyamatongwe1-1/+4
2010-09-16Making methods const when they should be.nyamatongwe1-2/+2
2010-09-15Fix for bug #3065912 Fail to Search up when code.page = 936nyamatongwe1-1/+1
2010-09-06More accurate range for LineState modification notification so doesn't hit ↵nyamatongwe1-1/+1
the start of document.
2010-08-27NextPosition treats \r\n as two characters as this allows searching for \n.nyamatongwe1-13/+1
2010-08-19Adding GetLineIndentation to IDocument.nyamatongwe1-4/+4
2010-08-07Fix crash when calling SCI_REPLACETARGETRE without having done a search first.nyamatongwe1-1/+4
2010-08-05Case insensitive search in DBCS and faster processing of DBCS.nyamatongwe1-18/+61
DBCS case folder implemented on Windows.
2010-08-05Added code page 1361 Korean Johab to IsDBCSLeadByte.nyamatongwe1-2/+7
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