aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.cxx
AgeCommit message (Collapse)AuthorFilesLines
2025-09-29Bug [#2486]. Eliminate special macOS default calltip colorJiří Techet1-6/+0
There doesn't seem to be any editor using this color these days and the result looks alien on the platform. Using grey on white looks much more native for the platform.
2025-04-08Silence warning.Neil1-2/+1
2024-11-26Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.Neil1-0/+1
2023-11-19Avoid warnings for static_cast and potential overflow.Neil1-1/+2
2023-11-19Avoid warning for uninitialized variable.Neil1-1/+1
2023-10-12Move platform colour definitions outside constructor and improve names.Neil Hodgson1-9/+13
2023-10-10Use global constants for opaque black and white and local constants for greys.Neil1-5/+12
Makes it easier to understand and reduces warnings.
2023-10-06Fix COPY_INSTEAD_OF_MOVE performance warnings from Coverity.Neil1-1/+1
2023-03-27Declare const where possible.Neil1-2/+2
2022-03-04Feature [feature-requests:#1432] Simplify CallTip::SetForeBack with pass by ↵Zufu Liu1-1/+1
value.
2022-03-04Feature [feature-requests:#1432] Simplify CallTipStart by passing in surface andZufu Liu1-13/+3
font. This allows customization of surface creation and ensures surface and font for calltip are the same as used in main window.
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