aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-04-05Backport: Widen types to size_t to match change from int to position of ↵mitchell1-74/+81
CallTipSetHlt in Scintilla.iface. Backport of changeset 8098:228c9f9aa839.
2020-03-29Backport: Extract arrow drawing to function. Use noexcept, const and other ↵Neil1-40/+52
minor changes to fix warnings before making widening types in the next change set. Backport of changeset 8097:06cbbf702640.
2020-01-05Added Sci::round() and Sci::lround() for better compatibility with the ↵mitchell1-3/+3
default branch. Some olders MacOSX SDKs do not have std::round() or std::lround().
2020-01-05Added Sci::make_unique() and Sci::size() for better compatibility with the ↵mitchell1-3/+2
default branch. std::make_unique() is c++14 and std::size() is c++17.
2019-03-31Backport: Use generic versions of ceil, floor, round, lround, trunc from ↵mitchell1-1/+1
<cmath>. Backport of changeset 7329:2662ef098d93, but without std::round and std::lround, since older Mac OSX SDKs may not have them.
2018-05-25Backport: Add <vector> to files that include Platform.h as likely needed in ↵mitchell1-0/+1
future. Backport of changeset 6959:b534742f5fa5.
2018-05-13Backport: Fix header order.Neil1-1/+1
Backport of changeset 6935:ec1d6c4008fe.
2018-05-06Backport: Ensuring ptrdiff_t is available by including <cstddef>.Neil1-0/+1
Backport of changeset 6921:f9b81cb21ed1.
2018-05-01Backport: Add IntegerRectangle to simplify drawing lines without casting.Neil1-4/+6
Backport of changeset 6773:9a027c16f8c3.
2018-04-20Backport: Use std::count to simplify code. Avoid NULL.Neil1-8/+2
Backport of changeset 6720:a53006dc13cd.
2018-04-20Backport: Make reference argument const as not altered.Neil1-1/+1
Backport of changeset 6719:c366b4a0ae98.
2018-04-20Backport: Undo part of last change as Xcode Clang doesn't like assigning ↵Neil Hodgson1-3/+3
long to int without cast. Backport of changeset 6717:2fec6b5183b7.
2018-05-06Backport: Feature [feature-requests:#1215]. Use standard functions in ↵mitchell1-3/+4
prference to RoundXYPosition, XYMinimum, and XYMaximum. Backport of changeset 6713:fadc4c551b6d.
2018-03-01Backport: Mark variables as const where simple.Neil1-11/+11
Backport of changeset 6470:d78a4b522662.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-2/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
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
2011-08-10Implement 'technology' concept which will allow GDI and Direct2D/DirectWritenyamatongwe1-3/+5
to run at the same time for different windows and operations.
2011-08-07Match new argument types to Font::Create.nyamatongwe1-1/+1
2011-05-21Code formatting normalised to standard.nyamatongwe1-1/+1
2011-01-02Avoid cppcheck warnings.nyamatongwe1-0/+3
2010-03-13Adding const to methods where possible.nyamatongwe1-1/+1
2010-02-17Formatting whitespace.nyamatongwe1-1/+1
2010-01-19Removed unnecessary check for NULL.nyamatongwe1-2/+1
2009-07-12Since exception handling now turned on, do not check return value from new.nyamatongwe1-2/+1
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+15
message :) - now uses namespaces (optionally for non-os x) to avoid conflicts with OS X libraries - several fixes in the OS X layer since the branch was commited in 2005 - used in Komodo since 2005, so pretty stable
2006-02-07Made a symbol static.nyamatongwe1-1/+1
2006-02-04Modification from Greg Smith to allow setting text style attributes fornyamatongwe1-24/+68
calltips as STYLE_CALLTIP and display calltips with tabs to align text.
2005-07-22Ensure down arrow works for initial call.nyamatongwe1-6/+5
2005-07-14Fixed up and down button handling so they work when not on first line ofnyamatongwe1-15/+12
calltip.
2004-08-08Patch from Niki Spahiev to use correct character set in calltips.nyamatongwe1-2/+2
2004-02-21Change to avoid signed/unsigned character issue.nyamatongwe1-1/+1