aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/MessageNumbers.py
diff options
context:
space:
mode:
authormitchell <unknown>2019-07-11 12:08:38 -0400
committermitchell <unknown>2019-07-11 12:08:38 -0400
commit9aa30a8b9d05b183226f99b3e3981a3acab8cb90 (patch)
treec3159aa240f0c0b8a8a1e92d3d4ae0dcd3f1601e /test/MessageNumbers.py
parent94fcf744a869517f5c0a60afd4f1812ac7b96c3e (diff)
downloadscintilla-mirror-9aa30a8b9d05b183226f99b3e3981a3acab8cb90.tar.gz
Backport: Bug [#2110]. Limit text returned from WM_GETTEXT to length specified in wParam. Changed GetTextLength to use same logic as GetText to ensure they agree.
Backport of changeset 7572:d7aedab278d0.
Diffstat (limited to 'test/MessageNumbers.py')
-rw-r--r--test/MessageNumbers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/MessageNumbers.py b/test/MessageNumbers.py
index 782027069..440a0f668 100644
--- a/test/MessageNumbers.py
+++ b/test/MessageNumbers.py
@@ -14,6 +14,7 @@ msgs = {
"WM_EXITSIZEMOVE":562,
"WM_GETMINMAXINFO":36,
"WM_GETTEXT":13,
+"WM_GETTEXTLENGTH":14,
"WM_IME_SETCONTEXT":0x0281,
"WM_IME_NOTIFY":0x0282,
"WM_KEYDOWN":256,