aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
AgeCommit message (Collapse)AuthorFilesLines
2011-07-11Avoid shadowing of fields even for static methods to stop warnings.nyamatongwe1-1/+1
2011-07-02Folding related fixes. Initiated by bug #3323805.Marko Njezic1-19/+18
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-05-13Break measurement of text into reasonable sized segments similarnyamatongwe1-0/+1
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-27Optimize fold marker highlight. Feature #3282649.nyamatongwe1-1/+1
From Jérôme LAFORGE.
2011-04-16Better highlight drawing where fold header has no subordinates. Bug #3279730.nyamatongwe1-6/+6
From Jérôme LAFORGE.
2011-04-07Add highlighting of current folding block. Feature #3147069.nyamatongwe1-0/+42
APIs MarkerEnableHighlight and MarkerSetBackSelected. From Jérôme Laforge.
2011-04-07Update copyright year.nyamatongwe1-1/+1
2011-01-10Fixing double-click inside word selecting non-word characters. Bug #3111174.nyamatongwe1-1/+1
A double-click on a visible character always selects that character and the word it is in. From Jordan Russell.
2010-09-25Optimization of line layout by minimizing calls in Editor::LayoutLine and ↵nyamatongwe1-0/+3
avoiding case force processing unless at least one style uses a case force option.
2010-09-16Making methods const when they should be.nyamatongwe1-2/+2
2010-08-19Adding GetLineIndentation to IDocument.nyamatongwe1-1/+1
2010-08-19Exposed BufferPointer through IDocument.nyamatongwe1-1/+1
2010-08-05Case insensitive search in DBCS and faster processing of DBCS.nyamatongwe1-0/+1
DBCS case folder implemented on Windows.
2010-08-04Added NextPosition as more efficient way to iterate through DBCS characters.nyamatongwe1-0/+1
2010-07-28Restore container lexing functionality which was accidentally removed by ↵rel-2-20nyamatongwe1-0/+3
lexer objects changes.
2010-07-13Files changed for new lexer design.nyamatongwe1-14/+47
2010-05-05Made some methods const.nyamatongwe1-4/+4
2010-04-30Made compatible with clang.nyamatongwe1-3/+3
2010-03-26Simplify code and use better variable names.nyamatongwe1-1/+2
2010-03-25New case insensitive searching implementation uses objects implementingnyamatongwe1-3/+21
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-02-17Formatting whitespace.nyamatongwe1-8/+8
2009-07-10Duplicate works on discontiguous selections by duplicating each selection.nyamatongwe1-0/+21
UndoGroup class simplifies grouping actions together in the undo history.
2009-07-03Discontiguoues selection and virtual space initial commit.nyamatongwe1-0/+1
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/+1
2009-04-22Removed Document methods that returned parts of annotations in favour ofnyamatongwe1-14/+17
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/+13
annotation lines. StyledText class encapsulates related data when drawing annotations and margins.
2009-04-19Added UNDO_MAY_COALESCE flag to AddUndoAction.nyamatongwe1-1/+1
2009-04-12Annotations and text margins added.nyamatongwe1-8/+39
2009-04-04Added AddUndoAction call for adding application actions into undo stack.nyamatongwe1-2/+6
2008-06-29Simon Steele's modification to allow replacing the regularnyamatongwe1-4/+20
expression implementation.
2008-04-27Implemented GetCharacterPointer feature.nyamatongwe1-0/+1
2007-10-10Detect and handle invalid byte sequences in UTF-8 mode by displaying eachnyamatongwe1-0/+1
individual invalid byte as a hex blob.
2007-08-26Send SCN_MODIFYATTEMPTRO notification for Cut.nyamatongwe1-2/+1
2007-07-26Added notification for changing line state and use it to redraw if a linenyamatongwe1-1/+1
state change overruns the end of painting.
2007-07-08Added const to methods that should not logically need to modify object.nyamatongwe1-6/+6
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+8
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-07More decoration code, with modifications reported from document to viewsnyamatongwe1-0/+1
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-01-26Separated reentrance check into text modification and styling modification ↵nyamatongwe1-1/+2
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-1/+1
thrown away.
2007-01-02Separated the cell buffer into substance and style buffers.nyamatongwe1-4/+3
2006-02-25Patch from Greg Smith with further modifications moved characternyamatongwe1-3/+3
classification from Document into a separate CharClassify class and file and uses this from RESearch for regular expression word end \< and \> instead of built-in table.
2005-12-11Patch from Armel Asselin in RFE 1377661 to store positions in undo stacknyamatongwe1-1/+1
in terms of document (cell) position rather than byte position. Will help allow expansion to more than 2 bytes per cell.
2005-12-09Fixed bug #1373855 by taking DBCS into account when matching braces.nyamatongwe1-0/+1
Moved brace matching from Editor into Document.
2005-10-30MarkerAddSet added.nyamatongwe1-0/+1
2005-05-07Patch from Robert that avoids slow performance for multiple step undonyamatongwe1-0/+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-04-13Patch from Robert to include line number in some marker notifications.nyamatongwe1-2/+2
2005-03-19Patch from Franck Marcia to treat lines containing only whitespace asnyamatongwe1-0/+1
empty for the paragraph up and paragraph down actions.
2005-02-17Fix for bug 1110111 by moving end of styling to first argument if it isnyamatongwe1-2/+2
currently after the argument.