aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-05-21Make SparseVector work with move-only types.Neil1-0/+1
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-05-10Simplify DecorationList and its clients by using a vector instead of anNeil1-1/+1
intrusive linked list. Restrict clients to a read-only view.
2017-05-10Use unique_ptr fpr Partitioning, RunStyles, SparseVector, PositionCache andNeil1-36/+22
Document.
2017-04-21More consistent deletion of standard methods.Neil1-3/+13
2017-04-19Drop reinterpret_cast when can implicit cast to void* or const void*.Neil1-2/+2
2017-04-15Use bool literals true and false instead of 1 and 0.Neil1-1/+1
2017-04-09Further use of range-for.Neil1-10/+10
2017-04-07Remove unnecessary casts.Neil1-2/+2
2017-04-06Added const where possible.Neil1-6/+6
2017-04-01More encapsulation for Decoration and DecorationList.Neil1-2/+2
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-4/+3
where it may be needed in the future.
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-8/+8
and lines.
2017-03-08Fix warnings from Visual Studio 2017.Neil1-2/+2
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente1-0/+1
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2016-11-05Add options to choose between the locations of a position when thereNeil Hodgson1-1/+7
are multiple locations for one position. The main current use is to find the location at the end of a line or display line when the commonly used location is at the start of the next line.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-02-15Add SC_INDICFLAG_VALUEFORE and INDIC_TEXTFORE to allow a wide range of indicatorNeil1-2/+12
colours and to change the colour of text.
2014-10-02Include <stdexcept> so that exceptions derived from std::runtime_error can beNeil1-0/+1
used.
2014-07-08Split parts of Editor class off into EditModel, MarginView, and EditView ↵Neil1-13/+12
classes.
2014-06-23Use Range type for hotspot to simplify manipulation.Neil1-2/+1
2014-06-22Extra casting to prevent warnings from cppcheck.Neil1-2/+2
2014-06-22Stop storing a pointer to the selection on LineLayout objects where it may haveNeil1-4/+3
a lifetime that is too long. Instead provide it as an argument to BreakFinder where it is only needed during intialisation.
2014-06-22Further use of const in layout and drawing.Neil1-7/+7
2014-06-22Drawing and measuring should not change ViewStyle which is set by the containerNeil1-3/+5
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-24Removing style byte indicators.Neil1-5/+0
2014-05-03Turn on MSVC 'possible loss of data' warnings and add explicit casts.Neil1-1/+1
2014-05-03Add needed casts and remove a cast that is not needed.Neil1-3/+3
2014-05-03Using unsigned int for cache index to avoid casts and potential for failure.Neil1-4/+5
2014-05-02Use unsigned int for calculating hash and secondary probe as overflow of signedNeil1-2/+2
int is undefined in C++.
2014-03-25Bug [#1585]. Cursor down fails on wrapped lines.Neil1-1/+2
2014-03-11Remove function no longer called.Neil1-5/+0
2014-02-26Refactor methods for converting screen points to and from document index, ↵Neil1-0/+44
moving code from Editor to LineLayout.
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil1-1/+1
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-1/+1
Parameter names added to method declarations.
2013-08-07Ensure no reads outside allocation.Unknown1-1/+1
2013-08-07Optimize performance with many control characters such as when openingNeil1-66/+50
a binary file. Simplify use of BreakFinder and use for layout as well as drawing.
2013-07-23Only use map for character representations instead of unordered_map where ↵nyamatongwe1-3/+0
possible. unordered_map caused too many porting problems.
2013-07-22Added the character representation feature.Neil1-10/+78
2013-07-11Include case conversion data in Scintilla so that all platforms will performNeil1-0/+1
case conversion of Unicode text in accordance with Unicode.
2013-05-19Fix display of multi-byte Unicode character at line start.nyamatongwe1-1/+0
2013-05-05Since new throws an exception on failure, remove testing of result.nyamatongwe1-6/+4
2013-05-04Replacing raw pointers and allocations with std::vector.nyamatongwe1-72/+33
2011-12-09Fractional position support.nyamatongwe1-2/+2
2011-08-02Allow floating point text positioning.nyamatongwe1-7/+7
2011-07-11Avoid shadowing of fields even for static methods to stop warnings.nyamatongwe1-4/+4
2011-06-25Add casts to avoid warnings from SDK 64-bit compiler.nyamatongwe1-2/+2
2011-06-25Initial implementation of RGBA images.nyamatongwe1-0/+1
2011-05-13Break measurement of text into reasonable sized segments similarnyamatongwe1-38/+24
to drawing. Drawing will now always be broken up at a character boundary even when there is a large number of alphabetic characters. Fixes bug #3165743.
2011-04-29Use indicators to show matching braces. Feature #3290434.nyamatongwe1-6/+6
From Marko Njezic.