aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-01-05Fix infinite loop with both wrap and idle styling to end turned on.Neil1-8/+4
2015-12-31Bug [#1796]. Expand folded areas before deleting fold header line.Neil1-8/+15
2015-12-31Treat Unicode line ends like common line ends when maintaining fold state.Neil1-5/+1
2015-12-07Prefer StyleIndexAt over StyleAt to avoid problems with out-of-bounds access forNeil1-4/+4
styles > 0x7f.
2015-12-04Fix some problems with out-of-bounds access for protected text.Neil1-4/+4
2015-12-04Bug [#1784]. Highlight whole run for hover indicator when wrapped.Neil1-4/+1
Less efficient now as redraws all text when hover position changes.
2015-12-01Undo virtual spaces in one step at start of IME composition.Neil1-0/+2
2015-11-20Remove line end whitespace.Neil1-5/+5
2015-11-15Send SCN_UPDATEUI with SC_UPDATE_SELECTION when application changes multipleJohn Ehresman1-0/+10
selection.
2015-11-11Implemented idle styling. This allows painting without first styling all visibleNeil1-5/+75
text then styling in the background using idle-time.
2015-10-19Bug [#1768]. Report error when negative length passed to SCI_SETSTYLING.Neil1-1/+4
2015-10-12Implement Swap in SelectionRange to avoid warnings.Neil1-1/+1
2015-09-23When SC_MARK_UNDERLINE if not assigned to a margin, stop drawing the whole line.Neil1-1/+1
Optimise drawing of markers that appear in the text area.
2015-09-23Optimise drawing by only drawing affected lines when markers shown in the text.Neil1-36/+40
2015-09-04Change FillVirtualSpace to ClearBeforeTentativeStart and delete selected text.johnsonj1-2/+11
2015-08-24Simplify filling virtual space and avoid any side effects that may be caused byjohnsonj1-4/+9
calling AddCharUTF.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-06-25Fix regression due to recent multiple-selection changes with the selection notNeil Hodgson1-1/+1
being redrawn after up/down cursor.
2015-06-24Make multiple selection work over most cursor movement and selection, new line,Neil1-337/+536
and word and line part deletion commands.
2015-06-23Casts to silence warnings for 64-bit builds.Neil1-2/+2
2015-06-16Clean up some selection operations. Commonly when changing selection modes,Neil1-26/+26
all of the selection needs to be redrawn so that is implmeneted in Editor::InvalidateWholeSelection. Any extra selections should be discarded with only the main remaining so that is Selection::DropAdditionalRanges. Some default parameters led to less clarity so they no longer have default values. Both Editor::MovePositionTo methods always returned 0 which was ignored so they are now void. Some variables were made const.
2015-06-13Fix bug where maximum two selections possible at once with Ctrl+click dueNeil Hodgson1-6/+6
to change in CancelModes.
2015-06-11Added MultipleSelectAddNext, MultipleSelectAddEach, IsRangeWord, andNeil1-0/+75
TargetWholeDocument.
2015-06-04Move FindText flag decoding from caller to function to minimize code and chanceNeil1-16/+0
of mistakes.
2015-04-14Ensure SCI_TEXTHEIGHT uses valid style data and remove test pauses thatNeil1-0/+1
hid this.
2015-04-10Avoid warning from clang analyze due to potential NULL pointer by assertingNeil Hodgson1-0/+1
pointer is not NULL.
2015-02-24Notify container of non-BMP characters correctly.Neil1-22/+3
2015-02-23Add SCI_GETTARGETTEXT as a simpler alternate to SCI_GETTEXTRANGE.Neil1-1/+6
2015-02-22Added SCI_SETTARGETRANGE method to set both the start and end of the target.Neil Hodgson1-0/+5
2015-02-15Add SC_INDICFLAG_VALUEFORE and INDIC_TEXTFORE to allow a wide range of indicatorNeil1-0/+10
colours and to change the colour of text.
2015-02-14Fix 64->32 bit conversion warnings.Neil Hodgson1-13/+16
2015-02-13Ensure style data OK before wrapping lines when changing documents.Neil1-0/+1
2015-02-04Implement hover style and colour for indicators.Neil1-9/+77
2015-01-16When the mouse is on the line between margin and text changed to treat as withinNeil1-1/+1
text. Helps on PLAT_CURSES.
2014-12-08Avoid warnings from clang about calling abs with float arguments.Neil1-3/+3
2014-12-07Protect FineTickerCancel from being called when fine tickers not implemented.Neil1-6/+5
Use ShowCaretAtCurrentPosition which understands focus in preference to DropCaret where possible.
2014-12-05Extract FillVirtualSpace so it is not repeated and can be made less complex inNeil1-0/+7
the future.
2014-11-19Platform overrides for some drawing and behaviour to benefit PLAT_CURSES.Neil1-4/+5
From Mitchell Foral.
2014-10-16Explain how multiple selections are processed.Neil1-0/+3
2014-10-04Bug [#1657]. Prevent caret blinking when holding down Delete key.Neil1-0/+1
2014-10-02Allow using C++11 <regex> for searches as a provisional feature.Neil1-38/+53
2014-10-02Include <stdexcept> so that exceptions derived from std::runtime_error can beNeil1-0/+1
used.
2014-09-12Allow choice between windowed and inline IME.Neil1-0/+7
2014-09-05Bug [#1654]. Missing cast in PositionIsHotspot.Neil1-1/+1
From Mat Berchtold.
2014-08-18Bug [#1640]. Remove dead DelChar method.Neil1-8/+0
From Ian Goldby.
2014-08-08Implement explicit tab stops per line.Neil1-0/+27
From Nick Gravgaard.
2014-08-06Bug [#1633]. Redraw selection after SCI_DELWORDRIGHT.Neil1-0/+2
2014-08-05Fix problem where annotations disappeared when SCI_CLEARDOCUMENTSTYLE called.Neil1-0/+1
2014-07-24Using separate variable imeCaretBlockOverride for IME mode instead of changingNeil1-1/+1
caretStyle as there could be confusion if the container changes caret style.
2014-07-19Using const for string argument to allow use with literals.Neil1-2/+2