aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.
2015-04-10Avoid warning from clang analyze due to potential NULL pointer by assertingNeil Hodgson1-0/+1
pointer is not NULL.
2015-03-29Bug [#1682] Removed the ascent member of Font and all wxWidgets-specific code.Neil1-3/+0
2015-03-13Truncate elements that are near to maxItemLen to avoid possibility of writingNeil1-1/+3
outside bounds. Also avoids warning for use of strncpy.
2015-03-11Allow minimum tab width to be tweaked to allow character cell implementationNeil2-2/+4
to work better.
2015-02-24Notify container of non-BMP characters correctly.Neil2-23/+4
2015-02-23Fix non-BMP character entry through the inline IME.Neil2-3/+9
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-19Add methods for converting between byte positions and UTF-16 code point ↵Neil Hodgson2-0/+38
positions. This is needed on Cocoa where the IME wants to be able to index into the document with UTF-16 counts to match Cocoa's own use of UTF-16.
2015-02-16Fix bugs caused by deleting text with undo collection off when entering IME ↵Neil Hodgson1-0/+5
composition mode. This deleted text isn't in the undo history and it isn't in the document so can never be recovered so makes it impossible to correctly perform undo. Add logging for unexpected situations and throw an exception when undo can't be performed. Ensure empty marked text range is always in canonical (NSNotFound,0) form.
2015-02-15Add SC_INDICFLAG_VALUEFORE and INDIC_TEXTFORE to allow a wide range of indicatorNeil8-16/+83
colours and to change the colour of text.
2015-02-14Fix warnings for suspicious type conversions and not fully bracketed ↵Neil Hodgson1-1/+1
initializers,
2015-02-14Fix 64->32 bit conversion warnings.Neil Hodgson3-26/+31
2015-02-14Fix doc comments.Neil Hodgson1-2/+2
2015-02-13Remove unused state.Neil1-1/+1
2015-02-13Ensure style data OK before wrapping lines when changing documents.Neil1-0/+1
2015-02-10Add INDIC_FULLBOX.Neil1-2/+5
2015-02-04Implement hover style and colour for indicators.Neil9-49/+155
2015-01-22Fix compilation failure of C++11 <regex> on Windows using gcc.Neil1-4/+5
2015-01-22Add INDIC_COMPOSITIONTHIN indicator.Neil1-0/+3
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.
2015-01-13Using size_t instead of unsigned int for conversions to UTF16 for 64-bitNeil2-9/+9
compatibility and to lessen the number of casts.
2015-01-11LexHex: rename Tektronix extended HEX lexer from "thex" to "tehex"Markus Heidelberg1-1/+1
There exists a similar file format called "Textronix HEX", which would be the better candidate for this short name.
2015-01-08Feature [feature-requests:#1096]. Lexer added for Tektronix extended hex files.Neil1-0/+1
From danselmi.
2014-12-30Lexer added for Intel hex files.Neil1-0/+1
2014-12-22Replace function UnicodeFromBytes with UnicodeFromUTF8 as they are exactly theNeil1-15/+3
same. Add unit tests for UnicodeFromUTF8.
2014-12-16When a text margin is displayed, for annotation lines, use the background colourNeil1-5/+13
of the base line. From Joe Mueller.
2014-12-09Feature [feature-requests:#1091]. Lexer for Motorola S-Record.Neil1-0/+1
From Markus Heidelberg.
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-06Prevent overlapping text with calltip.Neil1-2/+2
From Mitchell Foral.
2014-12-05Extract FillVirtualSpace so it is not repeated and can be made less complex inNeil2-0/+8
the future.