aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-01-31Replace expressions to find level number of a fold level with function call.Neil4-27/+27
Simplifies code by removing any precedence issues and is shorter.
2016-01-31Bug [#1799]. Folds unfolded when two fold regions are merged by either deletingMarkus Nißl2-0/+21
an intervening line or changing its fold level by adding characters. Add LevelNumber function to simplify expressions implmenting folding.
2016-01-10Use value initialization in preference to memset as simpler and more robust.Neil1-2/+1
2016-01-08Bug [#1801]. Fix spelling.Bewied1-2/+2
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.Neil4-5/+22
2015-12-07Prefer StyleIndexAt over StyleAt to avoid problems with out-of-bounds access forNeil3-9/+9
styles > 0x7f.
2015-12-04Fix some problems with out-of-bounds access for protected text.Neil2-4/+5
2015-12-04Bug [#1784]. Highlight whole run for hover indicator when wrapped.Neil2-8/+4
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.Neil7-19/+19
2015-11-20Bug [#1779]. Better Unicode input support on Windows systems.Sam Hocevar2-4/+4
- support surrogate pairs in WM_CHAR messages - support characters from supplementary planes in WM_UNICHAR messages - support WM_UNICHAR messages in non-Unicode mode - fix some code duplication Also, do not return FALSE upon receiving a WM_UNICHAR message with a UNICODE_NOCHAR parameter, since WM_UNICHAR can actually be handled just fine (at least with the exact same level of support as WM_CHAR).
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 visibleNeil4-5/+111
text then styling in the background using idle-time.
2015-10-25Fix line end movement on display lines when EOLs are visibleColomban Wendling1-2/+4
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.Neil3-1/+6
2015-09-29Mark local functions as static.Neil Hodgson3-5/+5
2015-09-26Centre whitespace dot when dot is larger than 1 pixel.Neil1-1/+2
2015-09-26Indentation guides do not affect background drawing so omit from condition.Neil1-2/+1
2015-09-26Add parentheses to fix warning from Clang.Neil Hodgson1-2/+2
2015-09-26Whitespace may be made visible just in indentation.nkmathew3-11/+15
2015-09-23When SC_MARK_UNDERLINE if not assigned to a margin, stop drawing the whole line.Neil4-34/+50
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.johnsonj2-3/+12
2015-09-04Bug [#1757]. Treat CRLF as two characters in SCI_COUNTCHARACTERS.Neil1-2/+0
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.Neil18-0/+39
2015-07-20Use Sci_Position when required to implement interfaces.Neil2-35/+35
2015-07-14Fix drawing problem when control characters are in a hidden style as they thenNeil1-1/+3
have a zero width rectangle to draw but modify that rectangle in a way that clears some pixels.
2015-07-06SCI_SETIDENTIFIERS resets styling ensuring any added identifier are highlighted.Neil1-0/+1
2015-07-04Make std::exception visible to all core code to remove chance that a differentNeil16-0/+19
tool set will not indirectly include <stdexcept>.
2015-07-04Also need to see std::exception in PerLine.Neil1-0/+1
2015-07-04Throw an exception for a negative sized reallocation as occurs when askedNeil Hodgson3-0/+5
for more than 2GB.
2015-07-03Feature [feature-requests:#1109]. SCN_AUTOCCOMPLETED sent after text insertion.Jonathan Hunt2-7/+13
From Jonathan Hunt.
2015-06-30Added SC_CASE_CAMEL to the case mode style attribute.Neil2-2/+18
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,Neil4-337/+552
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,Neil4-30/+36
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-09When combining MarkerHandlerSets, prepend the other set instead of appendingJiří Techet1-2/+3
When undoing many lines with markers (e.g. "changebar" markers) LineMarkers::RemoveLine() is called for many lines and as a result combining markers from the next line for all the removed lines. This may cause the list contains many thousands of elements and traversing it becomes expensive. When lines are removed from the beginning to the end, it's better to prepend the markers from the next line to the current line instead of appending them because the current line "accumulates" all the markers from the following lines and walking the whole list takes more and more time.
2015-06-11Added MultipleSelectAddNext, MultipleSelectAddEach, IsRangeWord, andNeil4-5/+82
TargetWholeDocument.
2015-06-04Move FindText flag decoding from caller to function to minimize code and chanceNeil3-20/+6
of mistakes.
2015-05-21Fix bug with TentativeUndo where the undo history was being damaged on OS X.Neil Hodgson1-0/+2
For example the sequence ['a', 'c', left, 'b', undo] would produce "c" instead of "ac".
2015-05-16Make unused single argument constructors explicit.Neil3-3/+3
2015-05-15Backed out changeset: 7caa35787c19Neil1-4/+5
Change made reverse iteration dangerous.
2015-05-13Ensure SCI_POSITIONRELATIVE returns a position clamped into the document rangeNeil1-5/+4
sensibly. From Mitchell Foral.
2015-04-14Ensure SCI_TEXTHEIGHT uses valid style data and remove test pauses thatNeil1-0/+1
hid this.