aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
AgeCommit message (Collapse)AuthorFilesLines
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.
2004-08-09Moved ConvertLineEnds from ScintillaGTK to Document so that it can be usednyamatongwe1-0/+1
on other platforms. Changed name to TransformLineEnds as Document already had a ConvertLineEnds.
2004-05-27Fixed behaviour of SetWordChars so characters can be removednyamatongwe1-1/+1
from set of word characters. Implemented by setting any (alphanumeric or '_') characters not in argument to be punctuation.
2004-05-02Some comments and const modifiers from Philippe.nyamatongwe1-1/+1
2004-04-27Continuation Marker feature from Hans Eckardt.nyamatongwe1-2/+2
2004-01-20Method to preallocate document space.nyamatongwe1-2/+3
2004-01-13When styling is performed outside a styleneeded event,nyamatongwe1-0/+1
increment the style clock so the layout cache is invalidated and so the styling is displayed.
2003-11-01Patch from Roy Wood to allow changing the characters that are in thenyamatongwe1-3/+5
whitespace class.
2003-10-27Patches from Roy Wood:nyamatongwe1-0/+1
Word movement to end of word. Stuttered page movement. User defined keyboard accelerators on GTK+.
2003-09-28Hotspot improvements from Simon, including setting tonyamatongwe1-1/+1
limit hotspots to a single line.
2003-03-28Jakub's paragraph movement commands.nyamatongwe1-0/+2
2003-03-20Patch from Simon Steele to implement the hotspot style and associatednyamatongwe1-0/+1
notifications.
2003-03-04Patch from Jakub to optionally implement more POSIX compatible regularnyamatongwe1-1/+1
expressions. \(..\) changes to (..) Fixes problem where find previous would not find earlier matches on same line.
2003-02-15Updating version numbers and copyright.nyamatongwe1-1/+1
2003-01-13Simplified and corrected code.nyamatongwe1-7/+6
IsDBCS no longer present as now must deal with 3 byte DBCS so use LenChar and DBCSCharLength.
2002-07-26Patch from John Ehresman to return false from styling operations whennyamatongwe1-2/+2
reentering causes styling to not be performed.
2002-04-21Some Win64 compatibility and size_t correctness.nyamatongwe1-1/+1
2002-04-04Improved caret movement in read-only mode by handling more cases where text ↵nyamatongwe1-2/+1
is inserted and be removing handling of cases where text is deleted as these are handled automatically in the modification listener.
2002-04-03Enhancements to read-only mode to stop caret moving when typing or deleting.nyamatongwe1-5/+6
2002-03-01Fixed problem where brace highlights were remembered in line layout cache.nyamatongwe1-0/+10