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 | c66be88299d82de789c265025120a3dd7df1aa6c (patch) | |
tree | ccc603ced976ff0b329a70d48e3b56178098c056 | |
parent | a3cfb4a67fb6100e0ddddbf11f644d43331dadf1 (diff) | |
download | scintilla-mirror-c66be88299d82de789c265025120a3dd7df1aa6c.tar.gz |
Bug [#2006]. State SCN_UPDATEUI is an indication that change may have occurred
and not that a change definitely occurred.
-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 633508035..8ba5d668b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -7227,8 +7227,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> @@ -7248,7 +7250,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> @@ -7257,7 +7259,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> @@ -7266,7 +7268,7 @@ href="#SCI_POSITIONFROMLINE">SCI_POSITIONFROMLINE</a>(lineNumber); <td align="center">0x04</td> - <td>Scrolled vertically.</td> + <td>May have scrolled vertically.</td> </tr> @@ -7275,7 +7277,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> |