--- a/ListView.st Sun Nov 19 14:10:10 2017 +0100
+++ b/ListView.st Sun Nov 19 15:05:32 2017 +0100
@@ -602,19 +602,23 @@
compareModelWhenUpdating
"return the compare when updating behavior.
+
If true (the default), the list of lines as given due to a model update
is processed and compared against the currently shown text.
If they are the same, no action is taken.
+
This behavior is ok in 99.99% of all applications.
However, you may turn this off iff:
- - it is very expensive to process the list (for example, because the list
- is defined by a virtual array, which computes the lines dynamically, on
- the fly).
+ - it is very expensive to process the list (for example, because the list
+ is defined by a virtual array, which computes the lines dynamically, on
+ the fly).
One use where this flag should be turned off is in the hex-memory display,
which is able to simulate texts with millions of lines, but they are actually
simulated by generating the presented lines dynamically, as they are displayed."
^ compareModelOnUpdate
+
+ "Modified (comment): / 19-11-2017 / 14:14:04 / cg"
!
compareModelWhenUpdating:aBoolean