advice2020 left a comment (geany/geany-plugins#1527) ### TOOL 2 - REGULAR TEXT / LINE NUMBER BASED (Requires script for "move up" and script for "move down")
This tool is very similar but works with just regular text based on lines (instead of code folds) `TXT EXAMPLE` line of text ONE line of text TWO line of text THREE ------------------------------------ `ACTION 1 - CARET BASED` This moves current line caret is in up/down -Place caret in line ONE -Apply "move down" script, moves line ONE down TWO ONE THREE ------------------------------------ `ACTION 2 - SELECTION BASED` Again if too complex can ignore. Also trickier because if selection is again being viewed as "2 carets" (beginning and end) question arises, should the move up/down be based on A. the text within the selection only or B. the entire line that the beginning caret is in and the entire line that the end caret is in Seems like `A` where the move is based on text within selection would make more sense but might be more difficult to achieve? For example if document contains these 3 lines APPLE ORANGE BANANA GRAPE SEED If selection was APPLE `ORANGE` `BANANA` `GRAPE `SEED Applying "move down" script would look like APPLE SEED ORANGE BANANA GRAPE Thank you to anyone who reads this -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1527#issuecomment-3623835712 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/issues/1527/[email protected]>
