|
|
OK. The culprit is eb772d0.
Luckily, this is a one-liner : add
oldTAWidth - 1;
after line 494 (as of eb772d0) in function Fl_Text_Display::resize().
This is visible as follows :
git reset -- hard eb772d0,
make a copy of src/Fl_Text_Display.cxx and FL/Fl_Text_Display.H
git pull -ff
copy the two saved files to src/ and FL/, respectively.
Build and run test/tree: 'SelectAll' and 'Deselect All' are slow and become slower and slower
each time they are used because the Simple Terminal contains more and more text.
Comment out the single line #495 in src/Fl_Text_Display.cxx to get
// oldTAWidth - 1;
This undoes eb772d0.
Build and run test/tree: 'SelectAll' and 'Deselect all' run quickly, and their run-time doesn't increase.
Greg: I propose to stop here and let you continue the analysis of this issue, if you agree.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
[ Direct Link to Message ] | |
|
| |