aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.cxx
AgeCommit message (Collapse)AuthorFilesLines
2021-08-31Make Cancel methods noexcept as they may need to be used in destructors.Neil1-1/+1
2021-08-24Remove line end white space.Neil1-1/+1
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-8/+10
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-9/+9
will be published in externally visible header.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil1-9/+9
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-20Bug [#2027]. Implement font locale SCI_SETFONTLOCALE on Win32 using DirectWrite.Neil1-2/+5
2021-04-01Fix drawing of calltip on curses.Mitchell Foral1-1/+3
2021-03-20Update CallTip with new Surface APIs.Neil1-26/+24
2021-03-18Use unique_ptr for Surface::Allocate to show transfer of ownership.Neil1-1/+1
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-17Change Font to an interface and stop using FontID. Fonts are shared andNeil1-8/+7
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2020-03-29Widen types to size_t to match change from int to position of CallTipSetHltNeil1-75/+80
in Scintilla.iface.
2020-03-29Extract arrow drawing to function. Use noexcept, const and other minor changesNeil1-41/+53
to fix warnings before making widening types in the next change set.
2019-03-25Use generic versions of ceil, floor, round, lround, trunc from <cmath>.Neil1-3/+3
2018-05-18Add <vector> to files that include Platform.h as likely needed in future.Neil1-0/+1
2018-05-15Replace ELEMENTS with std::size and drop inclusion of StringCopy.h.Neil1-1/+0
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-3/+3
2018-05-14Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t forNeil1-2/+2
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-13Fix header order.Neil1-1/+1
2018-05-06Ensuring ptrdiff_t is available by including <cstddef>.Neil1-0/+1
2018-05-01Add IntegerRectangle to simplify drawing lines without casting.Neil1-4/+6
2018-04-20Use std::count to simplify code. Avoid NULL.Neil1-8/+2
2018-04-20Make reference argument const as not altered.Neil1-1/+1
2018-04-20Undo part of last change as Xcode Clang doesn't like assigning long to int ↵Neil Hodgson1-3/+3
without cast.
2018-04-20Feature [feature-requests:#1215]. Use standard functions in prference toNeil1-3/+4
RoundXYPosition, XYMinimum, and XYMaximum.
2018-03-01Mark variables as const where simple.Neil1-11/+11
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+0
interfaces ILexer4 and IDocument.
2017-05-02Use unique_ptr for drawing surfaces and don't check for allocation failureNeil1-5/+3
as that throws an exception. Also use unique_ptr for tab stop positions.
2017-04-06Added const where possible.Neil1-5/+5
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-3/+3
where it may be needed in the future.
2017-03-31Prefer standard min/max over Platform's as adapts to changed types.Neil1-5/+6
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-1/+1
and lines.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+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>.
2014-05-03Replacing the int-based constructors for Point and PRectangle with FromIntsNeil1-6/+6
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-2/+2
2014-05-03Using casts and an alternate PRectangle constructor to make XYPOSITION <-> intNeil1-4/+4
conversions and other conversions more consistent.
2014-05-03Explicit and more consistent use of XYPOSITION versus int.Neil1-19/+19
Fixes possible loss of data warnings when switched on.
2014-05-03Convenience Point constructor from integers as common source of shapes.Neil1-6/+7
2014-01-21Added ELEMENTS macro and use it to clarify determining size of arrays.Neil Hodgson1-4/+4
2013-05-24Made methods const where they can be and are logically const as well.nyamatongwe1-1/+1
2013-05-02Replacing raw pointer and allocation with std::string.nyamatongwe1-13/+9
2012-07-24Add ncurses platform. Rest of the implementation is an external project.nyamatongwe1-7/+9
From Mitchell Foral.
2012-07-21Avoid problems when calltip highlight range is negative. Bug #3545938.nyamatongwe1-1/+1
2011-09-27Standardize code style.nyamatongwe1-5/+2
2011-09-23Allow to display calltip above or below the textSébastien Granjoux1-2/+16
2011-09-25Palette support removed.nyamatongwe1-24/+16