aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-04-25Moved box folding constants into deprecated category. They have beennyamatongwe1-0/+4
documented as deprecated for 3 years.
2009-04-22Removed Document methods that returned parts of annotations in favour ofnyamatongwe1-100/+54
methods that return StyledText objects. Provided LineLength call on StyledText rather than iterator objects. Simplified code and made more things const.
2009-04-22Avoid pointing at uninitialized memory as this triggered BoundsChecker.nyamatongwe1-3/+3
2009-04-22Fixed bug where not styling last document line on screen when followed bynyamatongwe1-146/+131
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-3/+372
2009-04-04Added AddUndoAction call for adding application actions into undo stack.nyamatongwe1-0/+5
2009-04-02Method to find the symbol defined for a marker number.nyamatongwe1-0/+7
SC_MARK_AVAILABLE defined.
2009-04-02Bug #2723006 flickering caret with Tab.nyamatongwe1-0/+2
2009-04-01Added commands to add extra ascent and descent space.nyamatongwe1-0/+16
2009-02-14Feature #2586290 INDIC_ROUNDBOX alpha transparency setting from Toddnyamatongwe1-0/+10
Whiteman of ActiveState.
2008-11-21Patch from twhiteman for bug #2126144 wrapping with CARETSTYLE_BLOCK caretnyamatongwe1-2/+9
problems.
2008-09-04Bug #2087470 fix.nyamatongwe1-2/+2
Avoid very long searches for a non-blank line to determine indentation guides.
2008-08-10Changed ClearDocumentStyle to only act on decorators that exist.nyamatongwe1-3/+9
2008-08-09Clear document style now only clears the lexer indicators.nyamatongwe1-1/+4
2008-08-03ClearDocumentStyle clears all indicators in case the lexer has used annyamatongwe1-0/+1
indicator.
2008-08-03For bug #2030324 codument that HideLines can not hide line 0 andnyamatongwe1-1/+2
stop this from causing crash in code.
2008-06-29Simon Steele's modification to allow replacing the regularnyamatongwe1-4/+4
expression implementation.