Make update_tree_view() work faster on single-parent, many folders tree.
commit3b3fdedd1f1f59e7dcca51191ed849a9eb1525c7
authorPlamen Petrov <pvp@tk.ru.acad.bg>
Sun, 17 Feb 2008 22:25:19 +0000 (18 00:25 +0200)
committerPlamen Petrov <pvp@tk.ru.acad.bg>
Sun, 17 Feb 2008 22:25:19 +0000 (18 00:25 +0200)
tree8a17c9fac35d2c2f883f14657d44fcb2f5d6f222
parent5d076b4455eace043f8c010b200700de33d1b7d2
Make update_tree_view() work faster on single-parent, many folders tree.

    Make update_tree_view() again use the technique which remembered the
last added item, and if it did not work - moved up until the top of the
tree is reached. In case this technique does not work - fall back to the
"locate-and-add" slow method of adding sub-folders/tree items. The
current used on can be deteremined when kmk is started with debug level
+4 (third bit of a byte): message for fast adding says "FAST adding ..."
and fall back is showed by "doing a slow search..." message followed by
a message that says only "adding ..."
src/kmk.cpp