Closed celltoolz closed 5 months ago
Thanks for working on this! Your solution is nicer than calculating milliseconds.
I noticed two differences to how this behaved before. Can you look into whether we can keep the old behavior?
https://github.com/Akuli/porcupine/assets/18505570/9240bf15-2025-4d74-8157-03ceba84bcb1
https://github.com/Akuli/porcupine/assets/18505570/b326580a-90c7-42d5-9948-cfdec2f6a23b
These probably have something to do with return "break"
. Let me know if you need help :)
It's working as you described now, was as simple as adding or not item.startswith('file')
to line 142. Now when you single click anywhere on a folder name it'll expand showing the contents
I pushed a couple small changes. You will need to run git pull
locally. I'm now happy with how it behaves.
Was thinking of maybe adding a symbols table to this this, something that looks like: Let me know what you think, i've already got a class that i wrote for another project that'd work wonderfully for just this thing. I'd only need to modify it to work with the other languages as it only works for python at the moment.
Fixed double click to work properly