aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
AgeCommit message (Collapse)AuthorFilesLines
2019-12-22Define ILexer5 with methods for retrieving name, ID, and property values.Neil1-1/+1
Implement ILexer5 on object lexers. Implement ILexer5 on LexerSimple wrapper for function lexers.
2019-07-01Use noexcept on Document where reasonable with no effect on external interface.Neil1-33/+34
Adds LengthNoExcept method that copies Length but only for internal use.
2019-07-01Use noexcept in HighlightDelimiter - its a simple struct.Neil1-5/+5
2019-04-26Feature [feature-requests:#1238]. Simplify camel case forcing by checking onlyNeil1-1/+0
for upper and lower case characters instead of current word characters. This changes behaviour for words like "_word" -> "_Word" instead of remaining "_word" but that doesn't matter for this feature's intended use which is to allow display of ASCII-only keywords in the user's preferred casing (else/ELSE/Else) for languages with case-insensitive keywords.
2019-03-29Feature [feature-requests:#1259]. Add SCI_SETCHARACTERCATEGORYOPTIMIZATION APINeil1-0/+3
to optimize speed of character category features.
2019-03-03Use constexpr where reasonable and move groups of static functions into unnamedNeil1-1/+1
namespace.
2019-03-03Use noexcept where reasonable.Neil1-5/+5
2019-03-03Delete standard methods of UndoGroup so it can not be copied.Neil1-0/+5
2018-10-15Extract duration measurement damping and clamping into ActionDuration class soNeil1-1/+21
that it can be reused.
2018-07-10Optional indexing of line starts in UTF-8 documents by UTF-32 code points andNeil1-0/+5
UTF-16 code units added.
2018-06-10Using noexcept for simple functions.Neil1-29/+29
2018-05-21Draw invalid bytes in DBCS when detected as blobs in a similar way to UTF-8.Neil Hodgson1-0/+3
2018-05-14Replace 0 with nullptr.Neil1-4/+4
2018-04-21Tighten definition of regular expression iterators so they are noexcept andNeil1-8/+11
define all the standard member functions. This cascades to all methods called by the iterators, affecting Document, CellBuffer, Partitioning, SplitVector and UTF-8 and DBCS functions. Other trivial functions declared noexcept.
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil1-3/+4
builds. Some of the changes ensure no truncation while others remove casts that are no longer needed because the externally visible Sci_Position is now identical to Sci::Position. Some extra methods (CellBuffer::UCharAt and Document::SciLineFromPosition) added to avoid casting in client code. Sci::Line is currently identical to Sci::Position but it could be made smaller so lines have Sci::Line types and are cast. Some arguments widened.
2018-04-17Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes.Neil1-0/+2
This option is provisional and experimental.
2018-04-14Make some changes recommended by clang-tidy.Neil Hodgson1-1/+1
2018-04-13Use 'override' for methods that are overridden.Neil1-30/+32
Group some method declarations and definitions for AddRef/Release and PerLine.
2018-04-04Remove redundant forward declaration and move forward declarations to top.Neil1-10/+8
2018-03-28Split decorations into interface and implementation.Neil1-1/+1
2018-03-09Use Position/Line/int more accurately in preparation for large documents.Neil1-2/+2
2018-02-27Use virtual to ensure LexState overrides LineEndTypesSupported method.Neil1-1/+1
2018-02-02Implement SC_DOCUMENTOPTION_STYLES_NONE.Neil1-1/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
interfaces ILexer4 and IDocument.
2017-06-22Merge Ilexer and ILexerWithSubStyles into ILexer4 to avoid need for versionNeil1-1/+1
checking in 4.0. Use lvRelease4 ID.
2017-07-09Bug [#1955]. The data parameter to ILoader::AddData made const.Justin Dailey1-1/+1
2017-06-22Update IDocument for version 4. Drop IDocumentWithLineEnd interface to just haveNeil1-3/+3
IDocument but with all the methods from IDocumentWithLineEnd. This removes version checking (for now). Use dvRelease4 ID. Drop mask argument to StartStyling.
2017-06-22Cast between Sci_Position.h types used for lexers and Position.h types used inNeil1-3/+3
core to allow the Sci_Position.h types to widen to 64-bits.
2017-05-10Use unique_ptr fpr Partitioning, RunStyles, SparseVector, PositionCache andNeil1-4/+13
Document.
2017-04-29Use std::unique_ptr, std::vector, and move construction to simplify UndoHistoryNeil1-1/+1
and make it easier to modify. Remove out of date warning suppression.
2017-04-22Using unique_ptr to simplify ownership of images, case folder, and list box.Neil1-1/+1
2017-04-22Encapsulate the LexInterface of Document.Neil1-2/+3
2017-04-21More consistent deletion of standard methods.Neil1-0/+3
2017-04-07Use same parameter names in declarations and definitions.Neil1-2/+2
2017-03-31Hide decorations details a little.Neil1-3/+1
2017-03-31Delete declaration of unimplemented method.Neil1-1/+0
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-119/+112
and lines.
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente1-1/+1
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2017-01-22Remove extraneous "void".Neil1-1/+1
2016-10-06Word selection, navigation, and manipulation is now performed on charactersNeil1-14/+22
instead of bytes leading to more natural behaviour for multi-byte encodings like UTF-8.
2016-08-20Make some methods const where reasonable.Neil1-1/+1
2016-01-31Bug [#1799]. Folds unfolded when two fold regions are merged by either deletingMarkus Nißl1-0/+4
an intervening line or changing its fold level by adding characters. Add LevelNumber function to simplify expressions implmenting folding.
2015-12-31Treat Unicode line ends like common line ends when maintaining fold state.Neil1-0/+1
2015-12-04Fix some problems with out-of-bounds access for protected text.Neil1-0/+1
2015-11-20Remove line end whitespace.Neil1-2/+2
2015-11-11Implemented idle styling. This allows painting without first styling all visibleNeil1-0/+2
text then styling in the background using idle-time.
2015-07-20Use Sci_Position when required to implement interfaces.Neil1-19/+19
2015-06-11Added MultipleSelectAddNext, MultipleSelectAddEach, IsRangeWord, andNeil1-4/+4
TargetWholeDocument.
2015-06-04Move FindText flag decoding from caller to function to minimize code and chanceNeil1-2/+1
of mistakes.
2015-02-19Add methods for converting between byte positions and UTF-16 code point ↵Neil Hodgson1-0/+2
positions. This is needed on Cocoa where the IME wants to be able to index into the document with UTF-16 counts to match Cocoa's own use of UTF-16.