Page 1 of 1
Allow Ctrl+F to search in Session History
Posted: Wed Oct 05, 2022 5:54 pm
by Caronte3D
Some times I must retrieve an old snippet of code deleted later, so I get ir from the Session History, but is very difficult to find without a search mode.
Re: Allow Ctrl+F to search in Session History
Posted: Wed Oct 05, 2022 10:13 pm
by BarryG
+1
Been requested before, with some workarounds ->
viewtopic.php?t=73336
Re: Allow Ctrl+F to search in Session History
Posted: Thu Oct 06, 2022 9:41 am
by Caronte3D
I already try the Kermo code, but it's not useful for me, I only need a way to search on the open session history nothing more.
In the mean time, I copy the history code to a new pad in the IDE and search from there, but it's ridiculous.
I hope someone implement that feature

Re: Allow Ctrl+F to search in Session History
Posted: Thu Oct 06, 2022 6:02 pm
by davido
+1
Re: Allow Ctrl+F to search in Session History
Posted: Thu Oct 06, 2022 8:08 pm
by miskox
+1
Saso
Re: Allow Ctrl+F to search in Session History
Posted: Fri Nov 25, 2022 9:09 am
by lorde
Re: Allow Ctrl+F to search in Session History
Posted: Fri Nov 25, 2022 9:22 am
by BarryG
Actually, I'd love a "snapshot" feature for History that supports a name/description. So I could take a snapshot called "Before adding feature X" and then be able to revert back to that code version by selecting it from a "Snapshots" list in the History.
Re: Allow Ctrl+F to search in Session History
Posted: Sat Apr 01, 2023 6:17 pm
by Caronte3D
Nice idea!
Re: Allow Ctrl+F to search in Session History
Posted: Sun Apr 02, 2023 3:22 pm
by Fred
While session history is useful to get back some code you just modified, it's not meant to be a full featured code versioning program. You should use git or svn if you start a project and need proper snapshots/history
Re: Allow Ctrl+F to search in Session History
Posted: Sun Apr 02, 2023 6:21 pm
by Rinzwind
True, but session history does exist and is useful if I could just navigate the displayed source code more easily. A find text is the minimum. A procedure browser would be nice too. As it is now, I have to copy paste it into another document to make sense of it. It lacks a bit of polish.
Re: Allow Ctrl+F to search in Session History
Posted: Sun Apr 02, 2023 9:51 pm
by BarryG
Just adding a simple text search (with InputRequester) to find text in the displayed history would be good. You don't need to do a whole search dialog like the IDE has, and we're not talking about searching ALL history items. Just the one that's displayed, so we can move to different parts of that code easily.
Re: Allow Ctrl+F to search in Session History
Posted: Sun Apr 02, 2023 11:53 pm
by AZJIO
BarryG wrote: Fri Nov 25, 2022 9:22 am
So I could take a snapshot called "Before adding feature X"
To do this, I wrote the
AnotherFileNearby tool, this creates a copy of the file in the same folder, from which you will continue to write a new function. And this can be repeated several times. Each new copy will have added functionality. It also additionally protects you from an unexpected shutdown of the computer, you will always have a complete copy of some functionality. Although it is better to make a backup copy in a separate folder (".\old copy"), since there are quite a lot of them, 20 pcs. and more.