aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2010-01-30Fix bug #2942131 Caret pos after rectagular delete.nyamatongwe1-16/+29
2010-01-28Avoiding warnings from cppcheck. Mostly removing bodies of private copynyamatongwe1-1/+1
constructors and operator=. Also ensuring initialisation for some fields, reducing scope where possible, and passing by const reference.
2010-01-26Fix to allow compiling on old version of GCC 3.3.3. Bug #2940511.nyamatongwe1-1/+3
2010-01-21Fix for bug #2936108 SC_WRAPVISUALFLAGLOC_END_BY_TEXT has not worked sincenyamatongwe1-1/+1
2.0.
2010-01-15Fix for bug #2930488 Select All doesn't work if there's a rectangularnyamatongwe1-0/+1
selection.
2009-12-19Fix for bug #2914691 Wrong background colour when using coloured lines withnyamatongwe1-1/+1
virtual space.
2009-11-02Added setting for font quality to allow application to choose anti-aliased,nyamatongwe1-0/+9
non-anti-aliased or lcd-optimized text.
2009-11-01Fix for bug #2890105, last line has EOLFilled style but blank space beforenyamatongwe1-0/+2
background colour.
2009-10-27Added StringResult method to return strings in the standard way.nyamatongwe1-0/+9
2009-10-24Added undo grouping for SCI_DELWORDRIGHT and SCI_DELWORDRIGHTEND.nyamatongwe1-0/+2
2009-10-22Fix for bug #2882566.nyamatongwe1-1/+13
Virtual space removed when performing delete word left or delete line left. Virtual space converted to real space for delete word right. Preserve virtual space when preesing Delete key.
2009-10-16Setting to make additional carets invisible from Florian Balmer.nyamatongwe1-1/+12
2009-10-15Allow for line end characters for last change.nyamatongwe1-1/+1
2009-10-15LineDuplicate of a rectangular selection changes the selection to includenyamatongwe1-6/+21
all the duplicates.
2009-10-15Fixed new problem where ALt+Drag was using the start of file as the anchor.nyamatongwe1-2/+4
2009-10-11Fixed bug mentioned on mailing list where Shift+Alt+Click no longer selectsnyamatongwe1-1/+3
a rectangular region.
2009-10-11Fix for bug #2871749 where rectangular selection Shift+Alt+Down could notnyamatongwe1-2/+4
move through wrapped lines.
2009-10-11Fix bug #2871358 where left or right key with rectangular selectionnyamatongwe1-2/+2
moved to a left or right of main selection rather than before or after rectangular selection.
2009-09-20Moved line width calculation code so that it is protected from thenyamatongwe1-2/+3
possibility of a NULL pointer.
2009-09-13Protect against NULL font names for SCI_STYLEGETFONT. Bug #2857425.nyamatongwe1-0/+2
2009-09-03Added white space mark size setting from Enrico Tröger.nyamatongwe1-2/+10
2009-08-26Caret is now visible even when it is at the start of the line and is notnyamatongwe1-2/+3
before the first character which could occur if there was a zero-width character at the start of the line.
2009-08-26Avoid breaking text into substrings on selection boundaries for drawingnyamatongwe1-2/+7
when the selection is empty (thus only needing a caret drawn) or when the selection settings do not need the text drawn as pieces such as when the selection is drawn translucently.
2009-08-21Not reporting an extra byte needed to store selection text.nyamatongwe1-2/+2
Fixed implicit line copy case to match stream copy.
2009-08-16Always copy rectangular selections in ascending order.nyamatongwe1-2/+6
2009-08-13Made SCI_[GS]ETCURRENTPOS and SCI_[GS]ETANCHOR work in rectangular modenyamatongwe1-4/+16
more like 1.x.
2009-08-11Don't add extra empty lines with space indentation when performing anyamatongwe1-0/+2
rectangular paste at the end of the document.
2009-08-11When selection is rectangular do not collapse it to a single selection whennyamatongwe1-2/+4
performing a deletion, only when adding characters.
2009-08-11Fixed bug when pasting rectangular at end of line and viewing line ends.nyamatongwe1-1/+1
2009-08-06Fix bug where indentation guide is drawn over text when the indentation isnyamatongwe1-2/+7
in a different style to the default style so spaces are different widths.
2009-08-02Minimum value used for priority wrap line is 0 rather than -1 as -1nyamatongwe1-2/+2
indicates not a priority wrap. Reversion of 1.273.
2009-07-30When using Ctrl+Drag for multiple selection when previous selectionsnyamatongwe1-4/+5
dragged over but then that area is deselected, reveal the previous selections again. This allows the user to undo some bad effects when the mouse moves further than wanted.
2009-07-25Call ClaimSelection after clearing selection so ownership of thenyamatongwe1-0/+1
primary selection can be released when nothing is selected.
2009-07-24Hide end of line selection when unfocused.nyamatongwe1-1/+1
2009-07-23Fixed bug where last line was seeing background colour extend past where itnyamatongwe1-1/+3
should.
2009-07-22Calculating rectangular selection when setting rectangular selectionnyamatongwe1-0/+2
virtual space. Same as last fix but for virtual space.
2009-07-22When setting the rectangular selection range, remember to calaculate thenyamatongwe1-0/+2
new selections.
2009-07-21Added commands for rotating selections and swapping caret and anchor ofnyamatongwe1-0/+10
main selection.
2009-07-19When both Ctrl and Shift down when mouse pressed, prioritise Shift so thatnyamatongwe1-10/+12
current selection is extended rather than allowing creation of a new empty selection.
2009-07-17Using sensible default for virtual space options.nyamatongwe1-1/+0
2009-07-15Remove duplicate carets after Delete or Backspace.nyamatongwe1-1/+4
Adding 1 to size returned for GetSelText so that container will allocate enough memory to hold \0 for empty selection.
2009-07-15Fixed bug where wrong length was returned for SCI_GETSELTEXT with NULLnyamatongwe1-23/+11
lParam when there are multiple selections.
2009-07-15No explicit count of ranges in selection as can use vector::size().nyamatongwe1-37/+21
Removed EmptyRanges method so that there is always at least one selection. Added SetSelection method to set a simple single selection. Removed 3 argument form of AddSelection since callers do know which argument is the caret. Simplified rectangular selection code.
2009-07-14Added controls for enabling multiple selection and multiple selectionnyamatongwe1-16/+39
typing. Renamed multiline options to reflect use on multiple selections. Using std::vector for selections.
2009-07-14Fix problems in drawing end of line dur to separate drawing of line endnyamatongwe1-26/+36
characters for virtual space. Fix drawing of caret so caret not drawn after line end characters.
2009-07-13Using std::string for space buffer to ensure deletion.nyamatongwe1-8/+16
Fixed name clash with Borland C++ 5.5 including Windows.h when string included.
2009-07-12Since exception handling now turned on, do not check return value from new.nyamatongwe1-17/+13
2009-07-12Use additional selection colour for additional selectionsnyamatongwe1-5/+6
even when window is primary. When selection alpha is set, set additional selection alpha to same value so that editors unaware of multiple selection behave OK.
2009-07-10Duplicate works on discontiguous selections by duplicating each selection.nyamatongwe1-104/+78
UndoGroup class simplifies grouping actions together in the undo history.
2009-07-10Stop Backspace from deleting line starts when selection is rectangular.nyamatongwe1-0/+2