aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-04-19Remove unnecessary extra allocation.Neil1-2/+0
2018-04-19Remove casts by using harmonized types. Drop NUL termination that is not needed.Neil1-16/+13
2018-04-19SC_PRINT_SCREENCOLOURS doesn't force the background colour of line numbers ↵Nicholai Benalal1-2/+3
white.
2018-04-18Avoid an overflow warning seen when compiling for Qt.Neil Hodgson1-1/+2
2018-04-17Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes.Neil12-23/+56
This option is provisional and experimental.
2018-04-17Templatize ContractionState so it can later be switched between 32-bits and ↵Neil1-69/+99
64-bits.
2018-04-17Templatize LineVector so it can later be switched between 32-bits and 64-bits.Neil1-8/+9
2018-03-28Templatize decorations to allow 32-bit or 64-bit positions.Neil3-59/+86
2018-04-16Determine if line start or end pattern before loop.Neil1-5/+7
2018-04-16Convert topLine from a screen line to a document line before using it to find aNeil1-1/+2
position.
2018-04-14Make some changes recommended by clang-tidy.Neil Hodgson12-19/+19
2018-04-13Use 'override' for methods that are overridden.Neil2-58/+60
Group some method declarations and definitions for AddRef/Release and PerLine.
2018-04-13Fix bug with regular expression searches failing to match at line start or end.Neil1-16/+4
This was a work-around for infinite loops when replacing empty matches and this is now the application's responsibility.
2018-03-03Split LineVector into interface and implementation classes to allow futureNeil2-87/+87
choice between 32-bit and 64-bit position implementations.
2018-04-11Remove workaround for problems with noexcept.Neil1-10/+2
2018-04-11Set the last X chosen when SCI_REPLACESEL called to ensure macros work when textNeil1-0/+1
insertion followed by line up or down.
2018-04-05Backed out changeset: 7402342dc7a3 Caching client rectangle on EditView.Neil4-34/+20
This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based.
2018-04-04Remove redundant forward declaration and move forward declarations to top.Neil1-10/+8
2018-04-04Cache client rectangle on EditView so it can be used easily inside EditView.Neil4-20/+34
2018-03-28Split decorations into interface and implementation.Neil7-90/+171
2018-03-27Return a FillResult struct from RunStyles::FillRange instead of modifyingNeil5-19/+30
arguments as that is clumsy when converting types.
2018-03-27Use an interface for ContractionState so that there can be differentNeil7-196/+248
implementations of that interface.
2018-03-25Removed comment about script that is not included.Neil1-1/+0
2018-03-25Feature [feature-requests:#1213]. Clarify UTF8Classify.Zufu Liu1-45/+42
Use UTF8BytesOfLead to determine expected length early in function to quickly detect argument not long enough, invalid single bytes and invalid first trail then branching on length for more detailed checks.
2018-03-24Removed unreachable branches in UTF8Classify.Neil1-8/+0
2018-03-24Removed unwanted include.Neil1-1/+0
2018-03-24Feature [feature-requests:#1212]. Move Unicode conversions into UniConversion.Zufu Liu5-52/+36
Move Unicode conversion functions UnicodeFromUTF8 and UTF8FromUTF32Character into UniConversion.
2018-03-22Feature [feature-requests:#1211]. Use pre-computed table for UTF8BytesOfLead.Zufu Liu3-90/+102
Friendlier treatment of invalid UTF-8. Add tests for UniConversion handling invalid UTF-8. Simplify UTF8Classify tests.
2018-03-16Remove line-end white space.Neil5-6/+6
2018-03-15Use forward class definitions of XPM and RGBAImage so only code that uses themNeil8-41/+46
needs to #include "XPM.h". Move definition of standard methods on LineMarker from header to implementation to reduce included text and further isolate use of XPM and RGBAImage.
2018-03-14Bug [#2001]. Make masking and comparison code clearer.Neil1-16/+25
2018-03-09Use Position/Line/int more accurately in preparation for large documents.Neil17-131/+136
2018-03-06Feature [feature-requests:#1210]. Maxima lexer added.Gunter Königsmann1-0/+1
2018-03-01Mark variables as const where simple.Neil17-281/+281
2018-03-01Use C++ cast in preference to C cast.Neil1-1/+1
2018-03-01Mark pointer argument as const as not written to.Neil2-7/+7
2018-03-01Avoid warning with explicit destructor.Neil1-0/+1
2018-03-01Use make_unique in preference to new.Neil12-46/+46
From Effective Modern C++ Item 21.
2018-02-27Use virtual to ensure LexState overrides LineEndTypesSupported method.Neil2-2/+2
2018-02-24Fix move-extends-selection mode for rectangular and line selections.Mitchell Foral2-17/+53
2018-02-17For rectangular selections, pressing Home or End now moves the caret to the HomeVicente1-3/+14
or End position instead of the limit of the rectangular selection.
2018-02-06[Bug #1983] Fix double tap word selection on Windows 10 1709 Fall Creators ↵Dimitar Radev1-1/+1
Update. Times of observed mouse events went backwards causing unsigned overflow.
2018-02-02Implement SC_DOCUMENTOPTION_STYLES_NONE.Neil6-12/+31
2018-02-01Templatize RunStyles so it can be over ranges of different types and containNeil5-74/+99
different style types. Currently only instantiated over <int, int>.
2018-02-01Templatize Partitioning so it can hold different types.Neil7-35/+37
2018-01-26Extend SplitVector to allow more than 2 billion elements on 64-bit systems.Neil4-52/+52
2018-01-26Add documentOption argument to SCI_CREATELOADER.Neil1-0/+1
2018-01-28Use std::end when filling arrays as reduces chance of mistake.Neil3-6/+10
2018-01-28Replace Sci::clamp with C++ standard std::clamp function.Neil4-32/+23
std::clamp is from C++17.
2018-01-28Use std::abs in preference to abs as std::abs is generic and abs casts to intNeil2-3/+4
which may drop information.