aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Indicator.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-11-26Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.Neil1-0/+1
2022-09-25Enlarge point and point top indicators and scale to be larger with larger text.Neil1-7/+7
2022-07-31Add SC_MARK_BAR marker and INDIC_POINT_TOP indicator which are useful for changeNeil1-2/+18
history. Tweak size of INDIC_POINT and INDIC_POINTCHARACTER. Let translucency of INDIC_COMPOSITIONTHICK be adjusted.
2021-08-24Remove line end white space.Neil1-2/+2
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-31/+35
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.
2021-05-22Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedefNeil1-12/+12
will be published in externally visible header.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil1-1/+1
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-20Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil1-8/+10
Change ColourDesired to ColourAlpha in XPM and RGBAImage.
2021-03-27Add API for setting stroke width of indicators.Neil1-1/+0
2021-03-20Use new Surface APIs that can adapt to different stroke widths and use clippingNeil1-93/+102
to allow more accurate less complex drawing code.
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil1-0/+1
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil1-0/+1
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2020-08-11Fixed bug where gradient indicators were not showing hovered appearance.Neil1-2/+2
2020-06-10Convert enum to enum class. Add noexcept and const.Neil1-4/+4
2020-06-10Feature [feature-requests:1357]. Convert to switch.Zufu Liu1-144/+195
2019-04-28Declare reading methods as noexcept where reasonable.Neil1-1/+1
2019-03-25Use generic versions of ceil, floor, round, lround, trunc from <cmath>.Neil1-5/+5
2018-10-11Replace NULL and 0 with nullptr in clear cases of pure C++ code.Neil1-2/+2
2018-06-21Removed condition which is always true.Neil1-2/+1
2018-05-22Add INDIC_GRADIENT and INDIC_GRADIENTCENTRE indicator types.Neil1-0/+21
2018-05-14Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t forNeil1-1/+1
Polygon and delete the standard copy and assignment methods.
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
2018-05-01Add IntegerRectangle to simplify drawing lines without casting.Neil1-41/+46
2018-05-01Use round and floor instead of casts.Neil1-2/+2
2018-04-20Undo part of last change as Xcode Clang doesn't like assigning long to int ↵Neil Hodgson1-5/+5
without cast.
2018-04-20Use standard lround function and remove some casts.Neil1-5/+7
2018-04-19Use ColourDesired constructor explicitly to make more obvious.Neil1-1/+1
Constructor not marked explicit as may be used in external platform layers.
2018-03-01Mark variables as const where simple.Neil1-7/+7
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+0
interfaces ILexer4 and IDocument.
2017-06-09Use min and max from std instead of own version from platform.Neil1-3/+4
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2017-04-07Prefer C++ static cast over C-style casts.Neil1-3/+4
2017-04-06Added const where possible.Neil1-1/+1
2016-10-26INDIC_POINT and INDIC_POINTCHARACTER indicators added to display small arrowsNeil1-1/+14
underneath positions or characters.
2015-11-20Remove line end whitespace.Neil1-1/+1
2015-07-04Make std::exception visible to all core code to remove chance that a differentNeil1-0/+1
tool set will not indirectly include <stdexcept>.
2015-02-15Add SC_INDICFLAG_VALUEFORE and INDIC_TEXTFORE to allow a wide range of indicatorNeil1-2/+8
colours and to change the colour of text.
2015-02-10Add INDIC_FULLBOX.Neil1-2/+5
2015-02-04Implement hover style and colour for indicators.Neil1-27/+32
2015-01-22Add INDIC_COMPOSITIONTHIN indicator.Neil1-0/+3
2014-06-22Drawing and measuring should not change ViewStyle which is set by the containerNeil1-1/+1
so mark ViewStyle parameters as const. Provide a FontAlias copy constructor and use it to work around non-const Font arguments to Surface when sourced from const ViewStyle.
2014-05-24Header include statements are now in a standardised order with that orderNeil1-1/+1
defined in scripts/HeaderOrder.txt.
2014-05-03Replacing the int-based constructors for Point and PRectangle with FromIntsNeil1-2/+2
static methods as there were too many failures with mixed types and not-quite matching types.
2014-05-03Turn on MSVC 'possible loss of data' warnings and add explicit casts.Neil1-34/+34
2014-05-03Using casts and an alternate PRectangle constructor to make XYPOSITION <-> intNeil1-1/+1
conversions and other conversions more consistent.
2013-04-16Add indicator INDIC_COMPOSITIONTHICK, a thick low underline, to mimic annyamatongwe1-0/+3
appearance used for Asian language input composition.
2012-08-05Avoid poor drawing at right of INDIC_SQUIGGLE.nyamatongwe1-7/+13
2012-08-05Align INDIC_DOTBOX to pixel grid for full intensity.nyamatongwe1-3/+2
2012-08-05Add INDIC_SQUIGGLEPIXMAP as a faster version of INDIC_SQUIGGLE.nyamatongwe1-0/+24
Based on work by Matthew Brush and Lex Trottman.