aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
AgeCommit message (Collapse)AuthorFilesLines
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.
2011-01-02Avoid cppcheck warnings.nyamatongwe1-0/+2
2010-07-13Files changed for new lexer design.nyamatongwe1-0/+1
2010-03-23Upper and lower casing now works on non-ASCII characters.nyamatongwe1-0/+1
2010-03-13Adding const to methods where possible.nyamatongwe1-2/+2
2010-02-17Formatting whitespace.nyamatongwe1-5/+6
2010-01-26Fix to allow compiling on old version of GCC 3.3.3. Bug #2940511.nyamatongwe1-1/+3
2009-08-26Avoid breaking text into substrings on selection boundaries for drawingnyamatongwe1-8/+12
when the selection is empty (thus only needing a caret drawn) or when the selection settings do not need the text drawn as pieces such as when the selection is drawn translucently.
2009-07-14Added controls for enabling multiple selection and multiple selectionnyamatongwe1-0/+2
typing. Renamed multiline options to reflect use on multiple selections. Using std::vector for selections.
2009-07-12Since exception handling now turned on, do not check return value from new.nyamatongwe1-2/+0
2009-07-08Draw discontiguous and virtual space selection in non-alpha mode.nyamatongwe1-6/+6
2009-07-07Using the last style on a line to determine the width of a virtual spacenyamatongwe1-0/+4
rather than use the default style. This adapts better for comments which use a different font.