aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
AgeCommit message (Collapse)AuthorFilesLines
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.
2013-01-19Implement APIs for Unicode line ends and substyles and expose tonyamatongwe1-3/+5
message interface. Expose IDocumentWithLineEnd interface on Document.
2012-09-04Cache the CaseFolder object between FindText calls so that finding many ↵nyamatongwe1-1/+5
instances of a common string in the document doesn't spend excessive time constructing case folder objects.
2012-05-29add CharClassifier::GetCharsOfClassMook1-0/+1
add SCI_GETWORDCHARS(<unused>, stringresult chars) command to get word chars add SCI_GETWHITESPACECHARS(<unused>, stringresult chars) to get whitespace chars add SCI_GETPUNCTUATIONCHARS(<unused>, stringresult chars) to get punctutation also add tests for {Set,Get}{Word,Whitespce,Punctuation}Chars, CharClassifier
2012-05-26Add GetRangePointer and GetGapPosition methods.nyamatongwe1-0/+2
2012-05-26For case-insensitive UTF-8 searching, use UTF8Classify for finding validnyamatongwe1-1/+0
character width so compatible with other similar code. Optimize treatment of single byte ASCII characters and also optimize loop conditions. These mostly make up for the performance decrease from calling UTF8Classify. Add support definitions UTF8MaxBytes and UTF8IsAscii in UniConversion. Remove ExtractChar as no longer needed.
2011-11-16Bug #3283519. CountCharacters added to count the number ofnyamatongwe1-0/+1
characters between two positions. From Andrey Moskalyov.
2011-10-26Implement ILoader interface so that clients can load documents fromnyamatongwe1-2/+4
background threads.
2011-09-23Optimized MarkerNext so it can be much faster when no marker ever setnyamatongwe1-0/+1
and a little faster when markers have been used.
2011-07-11Avoid shadowing of fields even for static methods to stop warnings.nyamatongwe1-1/+1
2011-07-02Folding related fixes. Initiated by bug #3323805.Marko Njezic1-19/+18
Make fold highlighting follow closely the actual folding implementation. Introduce a concept of fold headers with a tail to accommodate certain fold highlighting situations. Optimize PaintSelMargin(), so it doesn't waste time with fold markers, unless really necessary. Make EnsureLineVisible() find right parent, when called on whitespace line. Fix wrong fold tail marker when needWhiteClosure is true.
2011-05-13Break measurement of text into reasonable sized segments similarnyamatongwe1-0/+1
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-27Optimize fold marker highlight. Feature #3282649.nyamatongwe1-1/+1
From Jérôme LAFORGE.
2011-04-16Better highlight drawing where fold header has no subordinates. Bug #3279730.nyamatongwe1-6/+6
From Jérôme LAFORGE.
2011-04-07Add highlighting of current folding block. Feature #3147069.nyamatongwe1-0/+42
APIs MarkerEnableHighlight and MarkerSetBackSelected. From Jérôme Laforge.
2011-04-07Update copyright year.nyamatongwe1-1/+1
2011-01-10Fixing double-click inside word selecting non-word characters. Bug #3111174.nyamatongwe1-1/+1
A double-click on a visible character always selects that character and the word it is in. From Jordan Russell.
2010-09-25Optimization of line layout by minimizing calls in Editor::LayoutLine and ↵nyamatongwe1-0/+3
avoiding case force processing unless at least one style uses a case force option.
2010-09-16Making methods const when they should be.nyamatongwe1-2/+2
2010-08-19Adding GetLineIndentation to IDocument.nyamatongwe1-1/+1
2010-08-19Exposed BufferPointer through IDocument.nyamatongwe1-1/+1
2010-08-05Case insensitive search in DBCS and faster processing of DBCS.nyamatongwe1-0/+1
DBCS case folder implemented on Windows.
2010-08-04Added NextPosition as more efficient way to iterate through DBCS characters.nyamatongwe1-0/+1
2010-07-28Restore container lexing functionality which was accidentally removed by ↵nyamatongwe1-0/+3
lexer objects changes.
2010-07-13Files changed for new lexer design.nyamatongwe1-14/+47
2010-05-05Made some methods const.nyamatongwe1-4/+4
2010-04-30Made compatible with clang.nyamatongwe1-3/+3
2010-03-26Simplify code and use better variable names.nyamatongwe1-1/+2