notepad-plus-plus/scintilla/test
Christian Grasser d8c6350918 Update to scintilla 5.5.1 & Lexilla 5.3.3
Release 5.5.1 ( https://www.scintilla.org/scintilla551.zip )

    Released 22 July 2024.
    SCI_CUTALLOWLINE added which is similar to SCI_COPYALLOWLINE but also deletes the copied text. Feature #1518.
    Can set font used for autocompletion lists with SCI_AUTOCSETSTYLE. Feature #1523.
    Increase maximum zoom set interactively to +60 points. Feature #1517.
    Fix flickering cursor after some mouse action sequences. Bug #2443.

Release 5.3.3 ( https://www.scintilla.org/lexilla533.zip )

    Released 22 July 2024.
    ASP: Control whether ASP is enabled for XML and HTML with lexer.xml.allow.asp and lexer.html.allow.asp. Issue #252.
    JavaScript: Recognize regular expressions at start or after '>' in JavaScript when lexer is cpp, hypertext, or xml. Issue #250, Bug #918.
    JavaScript: Recognize initial #! 'shebang' line as a comment in standalone files. Issue #253.
    Lua: Fix non-ASCII identifiers joined with '.' or ':'. Issue #242.
    Lua: Fix folding for multi-line SCE_LUA_LITERALSTRING and SCE_LUA_COMMENT when performed incrementally. Issue #247.
    PHP: Control whether PHP is enabled for XML and HTML with lexer.xml.allow.php and lexer.html.allow.php. Issue #252.

Close #15466
2024-07-23 13:07:50 +02:00
..
gi Upgrade Scintilla from v3.56 to v4.14 2019-05-04 21:14:48 +03:00
unit Update to scintilla 5.5.0 & Lexilla 5.3.2 2024-04-30 04:19:49 +02:00
MessageNumbers.py Upgrade Scintilla from 4.1.4 to 4.2.0 2019-07-22 13:08:41 +02:00
README Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5 2022-03-27 17:12:53 +02:00
ScintillaCallable.py Update: Scintilla 5.3.5 Lexilla 5.2.5 2023-06-02 14:15:54 +02:00
XiteMenu.py [UPDATE] Update Scintilla to 3.3.4 2013-08-28 00:44:27 +00:00
XiteWin.py Update: Scintilla 5.3.5 Lexilla 5.2.5 2023-06-02 14:15:54 +02:00
performanceTests.py Updated to Scintilla 5.4.1 & Lexilla 5.3.0 2023-12-26 23:17:53 +01:00
simpleTests.py Update to scintilla 5.5.1 & Lexilla 5.3.3 2024-07-23 13:07:50 +02:00
win32Tests.py Updated to Scintilla 5.4.1 & Lexilla 5.3.0 2023-12-26 23:17:53 +01:00
xite.py Upgrade Scintilla from v4.2.0 to v4.4.6 2021-02-21 19:14:40 +01:00

README

The test directory contains some unit and performance tests for Scintilla.

The tests can only be run on Windows using Python 2.7 or 3.x.
Python 2.7+ is required because the bytes string type and literals are available.
Scintilla must be built before running any tests.
Lexilla may be built before running tests but lexing tests will be skipped if Lexilla not available.

A test application for Windows only is in xite.py and this can be run to experiment:
pythonw xite.py

To run the basic tests:
python simpleTests.py

To check for performance regressions:
python performanceTests.py
While each test run will be different and the timer has only limited granularity, some results
from a 2 GHz Athlon with a DEBUG build are:
 0.187 testAddLine
. 0.203 testAddLineMiddle
. 0.171 testHuge
. 0.203 testHugeInserts
. 0.312 testHugeReplace
.