aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
AgeCommit message (Collapse)AuthorFilesLines
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.
2014-10-03CountCharacters can be const so it is now.Neil1-1/+1
2014-10-02Allow using C++11 <regex> for searches as a provisional feature.Neil1-1/+16
2014-07-24Mark const methods const.Neil1-1/+1
2014-07-23Avoid shadowed names mostly in method prototypes. Turn off shadowNeil1-1/+1
warnings for lexers since they may be maintained by others.
2014-07-18Added the tentative undo feature. This is useful for IMEs that want to displayNeil1-0/+6
and manipulate a character being composed, but may then commit or remove it leaving no history in undo of the intermediate forms.
2014-06-23Use Range type for hotspot to simplify manipulation.Neil1-0/+4
2014-05-24Removing style byte indicators.Neil1-5/+0
2014-04-22Hoisting some calculations into classes: ContractionState::DisplayLastFromDocNeil Hodgson1-0/+8
Range::First and Range::Last. Changing Editor::RectangleFromRange arguments to a Range. Simplifying code and specifying some local variables as const.
2014-04-16Allow filtering of insertions.Neil1-5/+7
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil1-2/+2
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-5/+5
Parameter names added to method declarations.
2013-07-22Added the character representation feature.Neil1-0/+3
2013-07-11Include case conversion data in Scintilla so that all platforms will performNeil1-18/+0
case conversion of Unicode text in accordance with Unicode.
2013-06-29Bug: [#1483]. Split GetRelativePosition into 2 calls one for moving between ↵Neil1-1/+2
character positions and the other for retrieving a character and width.
2013-06-27Bug: [#1483]. Adding StyleContext::GetRelativeCharacter for ↵nyamatongwe1-0/+1
character-oriented access. Implemented using new method IDocumentWithLineEnd::GetRelativePosition.
2013-05-24Made methods const where they can be and are logically const as well.nyamatongwe1-32/+32
2013-05-05Removed nethods that are no longer used and are less safe than alternatives.nyamatongwe1-1/+0
2013-05-01Replacing raw pointers and allocations with std::vector and std::string.nyamatongwe1-0/+1
2013-04-28Use std::vector for list of watchers instead of manual management.nyamatongwe1-7/+7
2013-04-28Removed unused members.nyamatongwe1-3/+0
2013-04-19Remove unused methods.nyamatongwe1-6/+0
2013-01-19Support the three Unicode line ends NEL, LS, and PS in CellBuffer, Document,nyamatongwe1-0/+4
Editor and the message interface. Will only be turned on for lexers that support Unicode line ends.
2013-01-19To allow for new line end sequences implement IsPositionInLineEnd on thenyamatongwe1-0/+1
document and use it instead of checks for particular byte values. Use equivalent checks against numCharsBeforeEOL in other contexts. When line ends visible, display byte value blobs for non-ASCII line ends.