diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-04 14:27:07 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-04 14:27:07 +1000 |
commit | 3c3a5dba7a21d03d133566f116953cff527e2167 (patch) | |
tree | c5d8f13b568a73bf24cd327ce2a2d8547894a4c6 | |
parent | dd8e407919931e7265fd13c49e2bf53923e46782 (diff) | |
download | scintilla-mirror-3c3a5dba7a21d03d133566f116953cff527e2167.tar.gz |
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.
-rw-r--r-- | doc/ScintillaDoc.html | 12 |
1 files changed, 7 insertions, 5 deletions
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</a>(lineNumber); held down in a similar manner to <a class="message" href="#SCN_KEY">SCN_KEY</a>.</p> <p><b id="SCN_UPDATEUI">SCN_UPDATEUI</b><br /> - 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 <code>updated</code> field is set to the bit set of things changed since the previous notification.</p> <table class="standard" summary="Modify notification type flags"> <tbody> @@ -7279,7 +7281,7 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE</a>(lineNumber); <td align="center">0x01</td> - <td>Contents, styling or markers have been changed.</td> + <td>Contents, styling or markers may have been changed.</td> </tr> @@ -7288,7 +7290,7 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE</a>(lineNumber); <td align="center">0x02</td> - <td>Selection has been changed.</td> + <td>Selection may have been changed.</td> </tr> @@ -7297,7 +7299,7 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE</a>(lineNumber); <td align="center">0x04</td> - <td>Scrolled vertically.</td> + <td>May have scrolled vertically.</td> </tr> @@ -7306,7 +7308,7 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE</a>(lineNumber); <td align="center">0x08</td> - <td>Scrolled horizontally.</td> + <td>May have scrolled horizontally.</td> </tr> </tbody> |