Aegisub
Aegisub copied to clipboard
[Enhancment for a feature] Folds enhancement
Hello
May i ask for some enhancements for the folds feature?
I wish that i can make a comment for a whole fold and copy paste and repeat it and apply scripts to it like hydra.
Will this be possible?
I'm not sure what you mean, can you give an example?
I'm not sure what you mean, can you give an example?
When you create a new fold for multiple line it will fold them automatically right? Now, this untoggled fold you created you can't do anything to it like copying the toggled fold and paste it or right clicking it to repeat it or even apply scripts actions to it, aegisub only treat the fold like it's a normal one line and apply the action you want to the first line only and not to the all lines inside the fold.
Ah, I see. This is simply because when clicking on a closed fold, Aegisub will only select the one visible line. I did this to prevent unexpected behavior like accidentally overriding all hidden lines and losing their previous content.
However, you can still select all lines inside a fold without opening it by using range selects. If you click on a closed fold and drag the mouse down to the following line (or just shift+click the following line), it will also select all the lines in between. Then, you can ctrl+click that last line to deselect it, and you'll have selected everything in the fold.
https://user-images.githubusercontent.com/99741385/219755420-52c40512-1950-4cd4-bfc0-f9ef154530e1.mp4
I'm open to suggestions on how to add more intuitive controls or visualizations for folding, but with the constraints there are I couldn't find much more than what's already added.
Ah, I see. This is simply because when clicking on a closed fold, Aegisub will only select the one visible line. I did this to prevent unexpected behavior like accidentally overriding all hidden lines and losing their previous content.
However, you can still select all lines inside a fold without opening it by using range selects. If you click on a closed fold and drag the mouse down to the following line (or just shift+click the following line), it will also select all the lines in between. Then, you can ctrl+click that last line to deselect it, and you'll have selected everything in the fold.
I'm open to suggestions on how to add more intuitive controls or visualizations for folding, but with the constraints there are I couldn't find much more than what's already added.
Oh, i see. Thanks for the explaining man, and if you can add some thing the context menu like select current toggle and copy current toggle that will be awesome :)