From 3c3a5dba7a21d03d133566f116953cff527e2167 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 4 Apr 2018 14:27:07 +1000 Subject: Backport: Bug [#2006]. State SCN_UPDATEUI is an indication that change may have occurred and not that a change definitely occurred. Backport of changeset 6668:3f20bac89b30. --- doc/ScintillaDoc.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index ba134cec4..2fcc5612b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -7258,8 +7258,10 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE(lineNumber); held down in a similar manner to SCN_KEY.

SCN_UPDATEUI
- Either the text or styling of the document has changed or the selection range or scroll position has changed. + Either the text or styling of the document has changed or the selection range or scroll position may have changed. Now would be a good time to update any container UI elements that depend on document or view state. + As it is sometimes difficult to determine whether a change has occurred, these events may also fire when there + has been no actual change. The updated field is set to the bit set of things changed since the previous notification.

@@ -7279,7 +7281,7 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE(lineNumber); - + @@ -7288,7 +7290,7 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE(lineNumber); - + @@ -7297,7 +7299,7 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE(lineNumber); - + @@ -7306,7 +7308,7 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE(lineNumber); - + -- cgit v1.2.3
0x01Contents, styling or markers have been changed.Contents, styling or markers may have been changed.
0x02Selection has been changed.Selection may have been changed.
0x04Scrolled vertically.May have scrolled vertically.
0x08Scrolled horizontally.May have scrolled horizontally.