aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-07-16Make WrapMode an enum class for more type safety.Neil4-14/+14
2020-07-16Rename validLevel to ValidLevel and make an enum class.Neil4-20/+20
2020-07-16Rename typeOfFold to FoldPart and make an enum class.Neil3-21/+21
2020-07-16Make AddNumber an enum class for more type safety.Neil2-4/+4
2020-07-16Use enum class for selectionUnit (previously selectionType) for more type ↵Neil2-32/+32
safety.
2020-07-16Make EncodingFamily an enum class for more type safety.Neil3-6/+6
2020-07-16Add some const, constexpr.Neil3-3/+3
2020-07-15Feature [feature-requests:1368]. Add BraceMatchNext API.Zufu Liu3-4/+7
2020-07-11Removed calls that had no effect as drawing in indent guides uses FillRectangleNeil1-2/+0
with explicit arguments.
2020-07-11Treat DEL as a control character for determining block caret size.Zufu Liu1-5/+6
Moved IsControlCharacter to anonymous namespace.
2020-07-11Feature [feature-requests:1369]. Represent DEL control character 0x7f with DEL.Zufu Liu1-0/+1
2020-06-17Simplify calls when known to be leaving a save point.Neil1-2/+2
2020-06-17Feature [feature-requests:1361]. Allow caret width to be up to 20 pixels.Neil1-1/+1
2020-06-12Bug [#2141]. Implement end of line annotations.Prakash Sahni8-2/+194
2020-06-11Use noexcept where safe and maintainable.Neil25-122/+122
2020-06-10Feature [feature-requests:1355]. Round instead of truncating for SCI_TEXTWIDTH.Neil2-4/+4
2020-06-10Convert enum to enum class. Add noexcept and const.Neil3-13/+13
2020-06-10Feature [feature-requests:1357]. Convert to switch.Zufu Liu1-144/+195
2020-05-19Encapsulate common check for PS, LS, and NEL as UTF8IsMultibyteLineEnd.Neil2-6/+10
Avoids construction of temporary array.
2020-05-04Feature [feature-requests:1347]. Optimize large insertions by using aZufu Liu1-29/+122
table-driven line end discovery algorithm and performing line insertions in batches.
2020-05-04Feature [feature-requests:1347]. Add methods to insert multiple partitions.Neil1-0/+20
2020-05-03Feature [feature-requests:1347]. Add InsertLines method to PerLine interface andNeil5-1/+50
all implementations. This will allow insertion of lines in batches in a future change set. Added tests for PerLine implementations.
2020-05-02Optimize LineVector by maintaining an activeIndices field to avoid callingNeil1-30/+34
LineStartIndex::Active.
2020-05-02InsertEmpty now returns a pointer to the newly added elements to allow caller toNeil1-2/+4
efficiently set those elements.
2020-05-02Feature [feature-requests:1349] Define CopyAllowLine only on Editor, not ↵Neil1-1/+1
subclass.
2020-05-01Make lambdas noexcept.Zufu Liu4-11/+11
2020-05-01Mark Decoration methods noexcept where reasonable.Neil2-34/+34
2020-04-17Arithmetic between enums is deprecated so use constexpr instead of enum or cast.Neil1-7/+7
Added constexpr where reasonable.
2020-04-10Move static functions into unnamed namespace and simplify line counting.Neil1-21/+15
2020-04-10Run astyle indenter over file.Zufu Liu1-11/+12
2020-04-10Feature [feature-requests:1346]. Convert long if-else block to switch.Zufu Liu1-250/+324
2020-04-10Remove non-standard whitespace.Zufu Liu1-5/+5
2020-04-08Simplify PerLine, remove casts, use noexcept, const, & constexpr where possible.Neil4-60/+56
2020-04-08Feature [feature-requests:1344]. Add methods for iterating through the markerIain Clarke5-0/+44
handles and marker numbers on a line.
2020-04-07Use noexcept and const where possible.Neil2-10/+10
2020-04-05Implement access to the identifier of an ILexer5. This also stops unexpectedNeil1-2/+14
container lexing when a lexer is set.
2020-04-05Perform autoscroll when mouse on pixel just below window.Mitchell Foral1-1/+1
This mostly helps the curses platform where a line of text is a single 'pixel'.
2020-03-31Pass argument as unique_ptr to show transfer of ownership. Add const and ↵Neil3-6/+6
noexcept.
2020-03-27Avoid casts by returning size_t from GetExpanded.Neil1-2/+2
2020-03-29Widen types to size_t to match change from int to position of CallTipSetHltNeil3-84/+96
in Scintilla.iface.
2020-03-29Extract arrow drawing to function. Use noexcept, const and other minor changesNeil2-49/+61
to fix warnings before making widening types in the next change set.
2020-03-26Fix spelling mistakes.Neil8-14/+14
2020-03-25Replace static_cast with dynamic_cast for better type safety and adherence toNeil1-1/+1
C++ Core Guidelines C.146.
2020-03-24Use noexcept where possible.Neil4-34/+38
2020-03-24Use noexcept where possible.Neil2-21/+21
2020-03-23Use noexcept, const, and constexpr where possible.Neil2-17/+17
2020-03-23Replace const with constexpr where possible.Neil1-4/+4
2020-03-23perLineData is polymorphic so replace static_cast with dynamic_cast for betterNeil1-5/+5
type safety and adherence to C++ Core Guidelines C.146.
2020-03-23Drop possibility of Sci_Position, Sci::Line, Sci::Position not being ptrdiff_t.Neil1-8/+8
This reduces casting.
2020-03-19Use noexcept in EditModel.Neil2-6/+6