aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-03-21Ensure segment discovery always makes progress even for invalid UTF-8.nyamatongwe1-1/+6
2012-03-03Fix crash caused by NULL pointer for SCI_MOVESELECTEDLINESDOWN. Bug #3496403.nyamatongwe1-1/+1
2011-11-26Removed unreachable code. Issue described in bug 3440534.nyamatongwe1-1/+1
2011-11-16Bug #3283519. CountCharacters added to count the number ofnyamatongwe1-0/+14
characters between two positions. From Andrey Moskalyov.
2011-10-26Implement ILoader interface so that clients can load documents fromnyamatongwe1-1/+17
background threads.
2011-09-23Optimized MarkerNext so it can be much faster when no marker ever setnyamatongwe1-0/+4
and a little faster when markers have been used.
2011-08-27Basing default eol mode on _WIN32 instead of __unix__ as OS X doesnyamatongwe1-3/+3
not define __unix__.
2011-07-12Fix case-insensitive search where folded form shorter. Bug #3362038.nyamatongwe1-4/+8
2011-07-12Fix Shift-JIS lead byte ranges to match Windows.nyamatongwe1-1/+2
2011-07-11Avoid shadowing of fields even for static methods to stop warnings.nyamatongwe1-4/+4
2011-07-02Folding related fixes. Initiated by bug #3323805.Marko Njezic1-91/+60
Make fold highlighting follow closely the actual folding implementation. Introduce a concept of fold headers with a tail to accommodate certain fold highlighting situations. Optimize PaintSelMargin(), so it doesn't waste time with fold markers, unless really necessary. Make EnsureLineVisible() find right parent, when called on whitespace line. Fix wrong fold tail marker when needWhiteClosure is true.
2011-06-25Add casts to avoid warnings from SDK 64-bit compiler.nyamatongwe1-7/+9
2011-06-08Fix regex search on the last line of search rangeMarko Njezic1-2/+3
when search pattern ends with escaped $ modifier. Bug #3313746.
2011-05-13Break measurement of text into reasonable sized segments similarnyamatongwe1-0/+49
to drawing. Drawing will now always be broken up at a character boundary even when there is a large number of alphabetic characters. Fixes bug #3165743.
2011-04-27Fixes for backwards regex search. Bug #3292659.nyamatongwe1-1/+8
From Marko Njezic.
2011-04-27Optimize fold marker highlight. Feature #3282649.nyamatongwe1-8/+11
From Jérôme LAFORGE.
2011-04-16Better highlight drawing where fold header has no subordinates. Bug #3279730.nyamatongwe1-4/+7
From Jérôme LAFORGE.
2011-04-07Add highlighting of current folding block. Feature #3147069.nyamatongwe1-0/+98
APIs MarkerEnableHighlight and MarkerSetBackSelected. From Jérôme Laforge.
2011-04-07Update copyright year.nyamatongwe1-1/+1
2011-02-28Avoid shadowed variables as reported by Xcode.nyamatongwe1-2/+2
2011-02-10Fix for backwards case-insensitive search in code page 936. Bug #3176271.nyamatongwe1-1/+5
Was not finding each occurance of a given string due to misaligned character access.
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