aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2007-05-12Drag operation does not start until mouse has been dragged more thannyamatongwe1-21/+44
a threshold distance. Using platform threshold when possible. Moved some common dragging code on Windows into EffectFromState.
2007-04-23Added setting to allow each indicator to be drawn either under ornyamatongwe1-1/+11
over text.
2007-04-21Fixed bug when using SCI_LINETRANSPOSE on a blank line.nyamatongwe1-7/+6
2007-04-19Optimized indicator changing with separate SC_MOD_CHANGEINDICATORnyamatongwe1-4/+8
notification flag.
2007-04-07More decoration code, with modifications reported from document to viewsnyamatongwe1-4/+2
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-34/+123
2007-03-07Edge line drawn under characters in two phase draw mode.nyamatongwe1-7/+7
Fixes bug #1225548.
2007-02-25Fixed bug #1656532 where background colour of marker notnyamatongwe1-1/+2
showing behind wrap indicator.
2007-02-23Bug #1656532. Changed to use foreground of STYLE_DEFAULT butnyamatongwe1-3/+7
allow whitespace foreground to override.
2007-02-22Account for addition of spaces when joining lines.nyamatongwe1-0/+1
Fixes bug #1665791.
2007-02-22Avoid reentrant painting when scroll is performed in anyamatongwe1-1/+1
notification by queueing a redraw.
2007-02-20Fix for bug #1663839: stuttered page down doesn't worknyamatongwe1-1/+4
if lines are wrapped.
2007-02-18Modification to printing avoids extra space between line numbers and textnyamatongwe1-7/+8
due to counting the width of the screen line numbers as well as the print line numbers.
2007-02-08Fix to bug #1653607.nyamatongwe1-22/+14
2007-02-04Patch from Chris Rickard adds get calls for many style settings.nyamatongwe1-0/+78
2007-01-24Set the modifiers field on the SCN_DOUBLECLICK notification so the ↵nyamatongwe1-2/+4
SCI_SHIFT, SCI_CTRL, and SCI_ALT bits may be set.
2007-01-02Separated the cell buffer into substance and style buffers.nyamatongwe1-14/+31
2007-01-01Major change to CellBuffer class with addition of Partitioning class and ↵nyamatongwe1-0/+4
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.
2006-12-28Patch from Jason Haslam to optionally extend selection colour to left side whennyamatongwe1-0/+23
end of line selected.
2006-07-20Added line and position to SCN_DOUBLECLICK notification.nyamatongwe1-1/+3
2006-06-15Only allow setting the code page to valid values.nyamatongwe1-2/+4
2006-06-08Simplified wrapping code may fix the bug where caret disappears whennyamatongwe1-73/+52
text is not wide enough to cause wrap before styling but is after styling.
2006-06-06Reindented.nyamatongwe1-19/+19
2006-06-06Patch from RFE 1501054 by Greg Smith adds margin styles that fill with thenyamatongwe1-10/+23
foreground of background of the default style.
2006-05-28Made translucent selection work at end of line.nyamatongwe1-20/+22
2006-05-21Added translucency for selection and markers.nyamatongwe1-13/+63
2006-03-14Fix from John Ehresman where page mode caching with small window causednyamatongwe1-2/+2
0 length cache.
2006-02-26Translucency implementation for INDIC_ROUNDBOX and caret line.nyamatongwe1-1/+14
2006-02-25Patch from Greg Smith with further modifications moved characternyamatongwe1-2/+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.
2006-02-18Fixed off-by-one.nyamatongwe1-1/+1
2006-02-02Fixed bug where performing a split on several paragraphs missed laternyamatongwe1-0/+1
paragraphs.
2006-01-06Refresh some style data after calling UpdateUI notification in casenyamatongwe1-1/+2
container has modified a style setting.
2006-01-02PositionFromPointClose returns position after last character on line whennyamatongwe1-0/+3
given position in the last half of the last character on line.
2005-12-09Fixed bug #1373855 by taking DBCS into account when matching braces.nyamatongwe1-57/+3
Moved brace matching from Editor into Document.
2005-12-04Optimisations that help for documents with long lines and manynyamatongwe1-24/+40
control characters. Set of style bits set maintained in line layout so indicator drawing code can quickly determine if an indicator is drawn at all on a line. Drawing loops exited after reach right hand side of window. Widths of control character symbols cached while laying out line. Small tweaks to avoid overhead inside loops.
2005-11-29Fixed assertion where painting a rectangular selection led tonyamatongwe1-1/+2
multiple layouts being checked out of the cache.
2005-11-29When checking if a cached layout is still valid check the extra stylenyamatongwe1-1/+3
byte after the last character used for eolFilled.
2005-11-24Patch from John Ehresman that tracks the number of layoutsnyamatongwe1-9/+20
in use and adds assertions that this is always only 0 or 1. It also sets the length of the cache array if the array shrinks or grows without being reallocated.
2005-11-19Fixed potential crashes in NotifyPainted by reseting an AutoLineLayoutnyamatongwe1-0/+1
when no longer needed so its LineLayout is checked back into the cache so can no longer conflict.
2005-11-15Check whether area is being painted against the update region,nyamatongwe1-42/+21
not just the bounding box of this region. This ensures that a need to abandon a paint when a restyle affects text outside the area being painted.
2005-11-10Added selection duplicate command.nyamatongwe1-10/+26
2005-11-09Patch, mostly from Simon Steele, that converts new lines innyamatongwe1-0/+9
pasted text to match document.
2005-11-03Stopped dragging of empty ranges.nyamatongwe1-2/+2
Correct unlocking of empty data in drag and drop. Allow entry of NUL through Shift+Ctrl+@ in Unicode mode.
2005-11-02Changed pixmapLine to only be one line high.nyamatongwe1-1/+1
2005-10-30MarkerAddSet added.nyamatongwe1-0/+4
2005-10-29Only redraw line affected when changing markers.nyamatongwe1-2/+8
2005-10-26Part of 64 bit patch making NotifyMacroRecord have same arguments innyamatongwe1-1/+1
header and implementation.
2005-10-20Added assertion to detect incorrect wParam argument to SCI_GETCURLINE.nyamatongwe1-0/+1
2005-08-29Patch from John Ehresman to make page level layout caching handle the caretnyamatongwe1-2/+2
line properly as a distinct entry.
2005-08-11Avoid window repaints in unfocused window.nyamatongwe1-1/+3