advice2020 created an issue (geany/geany-plugins#1585)

Looking for two scripts if interested

`SCRIPT 1`
`MOVE ITEMS SEPARATED BY SPACES TO THE NEXT LINE`
Say you have a text file with the following lines of text
```
1-apple 2-orange.txt 3-banana_
<blank line>
4-grape 5-pear 6-pineapple
```

---------------------------------------------------------------------------

EXAMPLE 1 - APPLIES TO ENTIRE TEXT FILE
If no selections are made and this script is applied, this text file would look 
like
```
1-apple
2-orange.txt
3-banana_
<blank line>
`4-grape
5-pear
6-pineapple
```
Removes spaces that were in between and moves that item to the next line

---------------------------------------------------------------------------

EXAMPLE 2 - APPLIES ONLY TO SELECTED ITEMS
If only a line is selected
`1-apple 2-orange.txt 3-banana_`

then would look line
```
1-apple
2-orange.txt
3-banana_
<blank line>
4-grape 5-pear 6-pineapple

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1585
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/issues/[email protected]>

Reply via email to