aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit
AgeCommit message (Collapse)AuthorFilesLines
2013-04-19Using std::fill instead of a loop is much faster. As much as 4x on a large ↵nyamatongwe4-0/+8
block.
2013-04-15Update tests for last change to RunStyles as it no longer throws in FillRange.nyamatongwe1-5/+1
2013-04-15RunStyles can be corrupted by filling 0 length ranges and ranges that go ↵nyamatongwe1-0/+18
past end so throw std::invalid_argument exceptions for these conditions. Provide a Check method to validate the consistency of a RunStyles and throw std::runtime_error if corruption is detected.
2012-09-12Fix bug where removing all characters from indicator at end of document didnyamatongwe1-0/+31
not remove that run causing iteration over the indicator to hang.
2012-05-29add CharClassifier::GetCharsOfClassMook2-1/+111
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
2011-06-07Testing RunStyles::AllSame and RunStyles::AllSameAs.nyamatongwe1-0/+18
2011-06-07Add tests for bug found in #3291579 and for new RunStyles::Findnyamatongwe2-0/+119
and ContractionState::HiddenLines methods.
2011-02-13Avoid unnecessary relinks on Windows.nyamatongwe1-2/+4
2011-02-13Added Merge method to SparseState to make it possible to detect significantnyamatongwe1-1/+100
changes in lexers which will require styling beyond the end of the current range.
2011-02-10Only append a state if the value differs from the last current value.nyamatongwe1-0/+7
2011-02-10New class SparseState for storing lexer state that may notnyamatongwe1-0/+138
change on most lines.
2011-02-03Added some coverage testing.nyamatongwe1-1/+5
2011-02-01Added runStyles tests.nyamatongwe1-1/+1
2011-02-01Unit tests for Scintilla data structures.nyamatongwe8-0/+850