Created
April 9, 2020 12:26
-
-
Save cvpe/afb1fa8678d44d75b3114ed1c49fac41 to your computer and use it in GitHub Desktop.
find_in_files_new_menu.py
this may also require a modified data source, since the default might be calling reload
Thanks for your, as usual very appreciated, advices, I promise I'll do it, but please, let me some time. My wife asks me to work in the garden 😢😪
I'll not stop the scan background thread even if we select a file to watch because if we come back to watch another file, the list has still increased and should be normally ended. But I'll stop the thread if we close the TableView.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Heres an idea... kick off a background thread in the menuitem action that does the recusive search.
When you append, call TableView.insert_rows(rows). the item selected callback would need to set a flag to stop the search.
This would allow results to populate in realtime.