aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-10-12Feature [feature-requests:#1416] Use range for.Neil2-7/+5
2021-10-12Feature [feature-requests:#1416] Prevent type mismatch.Neil1-1/+1
2021-10-12Feature [feature-requests:#1416] Use noexcept to mark impossibility ofNeil1-1/+1
exceptions in static intialisation.
2021-10-12Feature [feature-requests:#1416] Harmonize parameter name.Neil1-1/+1
2021-10-12Feature [feature-requests:#1416] Use nullptr.Neil2-10/+10
2021-10-09Remove call of virtual function during destruction as default destruction doesNeil1-3/+1
everything needed. Fixes warning from Cppcheck 2.6.
2021-10-08Feature [feature-requests:#1417] Use global IsControl instead of local function.Neil1-7/+1
2021-10-05Feature [feature-requests:#1417] Consolidate character classification functionsNeil5-99/+62
in CharacterType.h, merging duplicate functions, removing unused functions and stadardizing names.
2021-10-03Feature [feature-requests:#1417] Add DEL (0x7F) to set of space characters.Neil2-1/+5
2021-09-30Feature [feature-requests:#1416] Mark destructor as noexcept and use defaultZufu Liu2-3/+2
implementation.
2021-09-30Feature [feature-requests:#1416] Remove extra check that is never true andZufu Liu3-5/+3
remove parameter used just for this test.
2021-09-28Feature [feature-requests:#1416] Change evaluation order so that monospaceASCIIZufu Liu1-10/+14
checked before cache which may improve performance for monospaceASCII. Only reset clear state when storing into cache.
2021-09-28Fix bad layout of monospace text on Cocoa by adding separate fieldNeil3-1/+4
monospaceCharacterWidth for width of monospaced characters.
2021-09-28Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow stylesNeil7-8/+14
larger than 255 to be represented. Before this, it may have been possible but extremely rare for a cache entry to wrongly match a styled lexeme and produce incorrect layout. Using uint16_t from cstdint instead of a bit field as tools perform more checking on that.
2021-09-28Remove file that is no longer used or contain any definitions.Neil1-27/+0
2021-09-21Remove line end space.Neil1-1/+1
2021-09-17Remove superfluous destruction.Zufu Liu1-5/+1
2021-09-17Add noexcept and constexpr where reasonable.Zufu Liu3-3/+3
2021-09-16Avoid warning from Xcode.Neil Hodgson1-1/+1
2021-09-15Document lifetime of FontSpecification::fontName.Neil1-0/+1
2021-09-15Ensure variable initialised.Neil1-1/+1
2021-09-15Avoid some type warningsNeil3-12/+7
2021-09-15Move colour mixing implementations into implementation file.Neil2-18/+26
Avoids some warnings but drops constexpr. Use MixedWith in PlatWin for GDI instead of local implementation. Add unit tests for Geometry.
2021-09-15More accurate with 'noexcept'.Neil4-8/+6
2021-09-15Use delegating constructor instead of separate Init method.Neil2-115/+112
2021-09-14Break up PaintOneMargin more and simplify code.Neil2-92/+106
2021-09-14Convert to range for and extract colourMode.Zufu Liu1-14/+14
2021-09-14Use range-for to save font names.Zufu Liu1-2/+2
2021-09-14Remove copying from AllocateExtendedStyles as performed by EnsureStyle.Zufu Liu1-3/+0
2021-09-14Avoid some allocations when checking whether font monospaced.Zufu Liu1-6/+7
2021-09-12Make negative settings for extra ascent and descent safer by ensuring calculatedNeil4-12/+18
ascent and thus line height is at least 1 pixel. Allow 1 point font minimum instead of 2 as this may help with document maps. Document negative extra ascent and descent. Use XYPOSITION for ascent and descent for more coherent types and fewer casts but floor the values when retrieving from Surface so behaviour is unchanged.
2021-09-07Handle case where all lines are hidden by a filter and kinetic scrollingNeil Hodgson1-1/+1
causes drawing of negative line number.
2021-09-07Move bulk of PaintMargin into PaintOneMargin which paints one margin.Neil2-249/+256
This reduces nesting and indentation.
2021-09-02Bug [#2281] Fix crash with too many subexpressions in regular expression searchNeil1-1/+1
with SCFIND_CXX11REGEX.
2021-08-31Make Cancel methods noexcept as they may need to be used in destructors.Neil4-4/+4
2021-08-31Reduce Code Analysis warnings.Neil1-2/+7
2021-08-31Simplify Style types FontSpecification, FontMeasurements, Style, FontRealised.Neil4-164/+59
Rely on shared_ptr and use standard copying where possible. Check extraFontFlag and checkMonospaced for FontSpecification comparisons.
2021-08-28Delete standard operations on classes that can not be copied.Neil1-0/+5
2021-08-28Follow rule-of-zero by removing unnecessary destructors.Neil3-10/+0
2021-08-27Feature [feature-requests:#841] Remove hotspot from LineLayout and rely onZufu Liu6-14/+3
reference to model.
2021-08-25Allow SCI_HIDELINES to hide the first line or all lines.Neil2-3/+2
2021-08-24Remove line end white space.Neil8-13/+13
2021-08-24OptionalFoldLevel uses no members so mark static.Zufu Liu1-1/+1
2021-08-24Feature [feature-requests:#841] SCI_SETCARETLINEHIGHLIGHTSUBLINE enablesZufu Liu4-8/+18
highlighting just the subline with the caret when wrapping is on.
2021-08-23Fix change set 8902 which could cause caret to stop blinking.Neil1-3/+3
Occurred when a redraw was requested during a paint.
2021-08-22Follow rule-of-zero / rule-of-5 where reasonable by removing standard operatorsNeil10-24/+2
that are not needed.
2021-08-22Encapsulate an ILexer5* in LexerInstance class to simplify client code.Neil3-39/+44
2021-08-14Optimize by reducing invalidation as this can be costly.Neil2-0/+22
If all of the text area or margin area is invalidated then remember this and don't do any more invalidations for that area until the window is painted. This reduced the time taken to replace each \r\n with \n\n in very large files by a factor of 3.
2021-08-07Changes for Cppcheck 2.5.Neil2-2/+2
Shift of unsigned to avoid too much shifting and overflow warnings. Remove condition that was always true. Remove suppressions no longer needed.
2021-07-31Implement StyleSetCheckMonospaced.Neil5-1/+46