advice2020 left a comment (geany/geany-plugins#1527) @Skif-off Skifff! Thank you for working on this. See, was not creating intrigue, it was more difficult then it seemed wasn't it :)
Not going to get into explanation because you went a different route, but when I had mentioned the 1 tool approach I was thinking of many different possibilities/combinations for how that could have been achieved but yes in certain scenarios 2 sets of keybindings would be required/more versatile. ------------------------------------- SCRIPT 2 TEST RESULTS With there not being many resources available to you for script, this is pretty good :) I will share some pros and cons noticed during testing... -Requires extra step to make selection, but good idea to be able to make use of the current functionality offered -Cannot move more then one code fold at a time -Because based on "move line" actions, still limited to moving up/down one line at a time -Can be a little tricky when using things like xml files, depending on where caret is placed because these files are often many different "levels". If place caret in the tag names themselves, the entire sections get selected. However in some scenarios this could be a benefit because makes selection of more then one code fold at a time -Was trying to find any Geany developers interested in adding more visual elements regarding code folds to make them standout more to users but does not seem that any are interested. Also many of my ideas possibly require updates to Scintilla which I no longer have support for. With the script you have provided being based on selection it kind of can double in certain scenarios as being a visual indication of code fold contents, so that is an unexpected benefit. ------------------------------------- I am going to update my Geany request post about this topic, but again that post has not received any responses so developers might not be currently interested in this idea either, but I think still worth mentioning. So that leads me to my next questions... How much progress have you made learning Geany coding, are you ready to make the updates required for this to work? :) Also I requested you learn FP and Lazarus, how is that going? I spent a lot of time making many many posts that require FP and Lazarus coding knowledge, before realizing that I probably should not be putting time into them. So when you are done with these Geany updates, if you could start working on those FP and Lazarus coding based posts that would be great :) Thank you very much for looking into this and for working on multiple solutions. The fact that you were able to get anything to work for this is great, especially with there not being many resources available through Lua itself. If I hear anything about these keybindings being added to Geany I will let you know. Thanks again -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1527#issuecomment-3658286978 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/issues/1527/[email protected]>
