aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
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
2009-07-09Added setings for colours, alpha, and caret colour for additionalnyamatongwe1-109/+155
selections.
2009-07-08Draw discontiguous and virtual space selection in non-alpha mode.nyamatongwe1-19/+34
2009-07-08Fixed problem where rectangular selections in virtual space werenyamatongwe1-1/+1
calculated with wrong style so did not match the mouse position.
2009-07-08Moved calculation of rectangular range from occurring after every stylenyamatongwe1-2/+2
change to after the styles have been valided. Previously was very slow when setting monospaced font mode. Made more code sensitive to virtual spaces to draw caret and selection more accurately.
2009-07-07Using the last style on a line to determine the width of a virtual spacenyamatongwe1-12/+18
rather than use the default style. This adapts better for comments which use a different font.
2009-07-06Fix up some drawing glitches with end of line selection not being removed.nyamatongwe1-1/+2
2009-07-06Allow drag and drop in virtual space.nyamatongwe1-93/+83
2009-07-05Fixed bug where cursor right key and end of line for CRLF file would movenyamatongwe1-1/+1
between CR and LF.
2009-07-04Check virtual space options for rectangular selection.nyamatongwe1-14/+23
2009-07-04Made backspace work better for multi-selection.nyamatongwe1-26/+8
Check virtual space options when mouse clicked in virtual space.
2009-07-03Use screen point for caret that includes virtual spcace so that, fornyamatongwe1-9/+18
example, the IME appears near the caret when the caret is in virtual space. Changed LocationFromPosition to work on a SelectionPosition and added convenience method for finding screen point of main caret.
2009-07-03Discontiguoues selection and virtual space initial commit.nyamatongwe1-721/+1046
2009-06-27Fix bug in rectangular paste where short lines were not being space fillednyamatongwe1-1/+1
as much as needed.
2009-06-26Moved DrawTextBlob to be in same location as new selection branch.nyamatongwe1-24/+24
2009-06-24Some extra const constraints added while working on discontiguous selection.nyamatongwe1-1/+1
2009-06-09Feature #2796119 Indent wrapped lines to first line. From maXmo.nyamatongwe1-21/+48
2009-05-27Branded structs in Scintilla.h with Sci_ prefix and added forwarding macrosnyamatongwe1-5/+5
from old name to new.
2009-05-27Avoid warning on old MSVC.nyamatongwe1-3/+4
2009-05-27Added SC_MARK_UNDERLINE from Stephan Deibel.nyamatongwe1-1/+17
2009-05-20Remove garbage accented character.nyamatongwe1-1/+1
2009-05-15Removed deprecated symbolsnyamatongwe1-69/+11
SCI_SETCARETPOLICY CARET_CENTER CARET_XEVEN CARET_XJUMPS SC_FOLDFLAG_BOX SC_FOLDLEVELBOXHEADERFLAG SC_FOLDLEVELBOXFOOTERFLAG SC_FOLDLEVELCONTRACTED SC_FOLDLEVELUNINDENT SCN_POSCHANGED SCN_CHECKBRACE SCLEX_ASP SCLEX_PHP
2009-05-09Fixed bug #2789430 SCI_ANNOTATIONSETSTYLE with multi-line annotationsnyamatongwe1-1/+1
shows all text on each line.
2009-05-03Fixed signed/unsigned issue.nyamatongwe1-1/+1
2009-05-03Added CharPositionFromPoint and CharPositionFromPointClose and merged thenyamatongwe1-64/+42
implementation for these and PositionFromPoint and PositionFromPointClose into a single function with flags for the different modes.