aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-04-28Rename method to avoid confusion between base and derived classes.Neil2-4/+4
2018-04-27Use nullptr for custom draw functions.Neil2-9/+10
2018-04-27Avoid reinterpret_cast. Use size_t argument to UTF8Classify to avoid casts.Neil2-25/+23
2018-04-26Change type to avoid casts.Neil2-3/+3
2018-04-26Specify concrete class for ldTabstops and use directly instead of copying valueNeil2-8/+7
of .get() before use.
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil3-23/+71
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-25Use set of coercion functions for transforming WndProc parameters into pointers.Neil3-44/+63
2018-04-25Removed mention of class that no longer exists.Neil1-1/+0
2018-04-25Remove casts that are not needed since sptr_t and Sci::Position are the same ↵Neil2-32/+31
type.
2018-04-24Feature [feature-requests:#1215]. Make Action move constructor noexcept and useNeil2-10/+1
default implementation.
2018-04-24Feature [feature-requests:#1215]. Make a parameter const.Neil2-2/+2
2018-04-22Remove casts between char and unsigned char where possible.Neil5-12/+11
2018-04-21Code improvements - noexcept and intialization.Neil2-5/+5
2018-04-21Safety improvements for character code - drop reinterpret_cast, ensure moreNeil3-13/+12
variables are initialized, specify noexcept when safe.
2018-04-21Use noexcept in basic data structures where reasonable.Neil7-46/+55
Declare the standard member functions in more classes
2018-04-21Tighten definition of regular expression iterators so they are noexcept andNeil11-120/+150
define all the standard member functions. This cascades to all methods called by the iterators, affecting Document, CellBuffer, Partitioning, SplitVector and UTF-8 and DBCS functions. Other trivial functions declared noexcept.
2018-04-20Stop "duplicate explicit instantiation" error on g++ 32-bit where int andNeil1-0/+4
ptrdiff_t are the same type.
2018-04-20More const and cast avoidance.Neil3-16/+17
2018-04-20Mark pointer to constant parameter as const.Neil4-4/+4
2018-04-20Use std::count to simplify code. Avoid NULL.Neil1-8/+2
2018-04-20Make reference argument const as not altered.Neil2-2/+2
2018-04-20Undo part of last change as Xcode Clang doesn't like assigning long to int ↵Neil Hodgson2-8/+8
without cast.
2018-04-20Use standard lround function and remove some casts.Neil1-5/+7
2018-04-20Feature [feature-requests:#1215]. Use standard functions in prference toNeil2-7/+8
RoundXYPosition, XYMinimum, and XYMaximum.
2018-04-20Feature [feature-requests:#1215]. const in AutoComplete.Neil2-10/+10
2018-04-20Feature [feature-requests:#1215]. Fix forwarding reference warnings.Neil3-5/+6
2018-04-20Avoid casts for DrawIndentGuide.Neil2-7/+7
2018-04-20Remove casts, drop default argument, use const.Neil2-8/+8
2018-04-19Templatize MakeUpperCase/MakeLowerCase so they work on char/int without casts.Neil1-4/+4
2018-04-19Use ColourDesired constructor explicitly to make more obvious.Neil3-6/+6
Constructor not marked explicit as may be used in external platform layers.
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil9-505/+508
builds. Some of the changes ensure no truncation while others remove casts that are no longer needed because the externally visible Sci_Position is now identical to Sci::Position. Some extra methods (CellBuffer::UCharAt and Document::SciLineFromPosition) added to avoid casting in client code. Sci::Line is currently identical to Sci::Position but it could be made smaller so lines have Sci::Line types and are cast. Some arguments widened.
2018-04-19Casts that avoid warnings if Position and Line are different sizes.Neil1-2/+2
2018-04-19Remove potential allocation in destructor which could have thrown.Neil1-1/+0
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.