aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2021-09-29Updates for 5.1.3.rel-5-1-3Neil9-16/+29
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 stylesNeil12-8/+19
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-23Added tag rel-5-1-2 for changeset b45f5b5ee3e3Neil1-0/+1
2021-09-23Fix comment.rel-5-1-2Neil1-1/+1
2021-09-21Remove line end space.Neil1-1/+1
2021-09-20Updates for 5.1.2.Neil9-24/+20
2021-09-19Respond to changes in system font scaling by clearing any cached layout data.Neil Hodgson3-0/+17
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.Neil7-31/+263
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 Liu2-6/+8
2021-09-13Hold onto global GtkSettings object as used multiple times.Neil Hodgson2-12/+26
2021-09-12Make negative settings for extra ascent and descent safer by ensuring calculatedNeil6-13/+27
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-12Change log.Neil1-0/+4
2021-09-12Round up ascent and descent of fonts on GTK to make it more likely thatNeil Hodgson1-2/+2
underscores and accents will be visible.
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-03Added link to Adventure IDE.Neil1-0/+4
2021-09-02Bug [#2281] Fix crash with too many subexpressions in regular expression searchNeil3-1/+27
with SCFIND_CXX11REGEX.
2021-09-01Bug [#2273] Fail compilation if ARC not enabled.Neil Hodgson1-0/+4
2021-08-31Bug [#2279] Ensure file closed. Drop deprecated "U" as that is the default.mpheath2-2/+2
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.Neil2-0/+11
2021-08-28Follow rule-of-zero by removing unnecessary destructors.Neil3-10/+0
2021-08-27Simplify SetScrollingSize and use const where possible.Neil Hodgson2-13/+15
2021-08-27Bug [#2271] Fix disabling horizontal scrollbar in non-wrapping mode.Neil Hodgson2-1/+5
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.Neil5-6/+22
2021-08-24Remove line end white space.Neil19-68/+68
2021-08-24OptionalFoldLevel uses no members so mark static.Zufu Liu1-1/+1
2021-08-24Feature [feature-requests:#841] SCI_SETCARETLINEHIGHLIGHTSUBLINE enablesZufu Liu12-8/+59
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-17Make compile on older Qt 5.9.5 on Ubuntu 18.04 with gcc 7.5.0.Neil Hodgson2-2/+2
Was complaining about enum conversions.