It would be great if Column mode be added to PB IDE. Sometimes I want to select (using shift key and arrow keys) some text but not the whole lines. See images.
(ultraedit has this funcionality - you can download a free demo)
I use it quite often, it is very useful.
One thing I miss though is when copying, pasting a block, to be able to insert the paste block, with lines insertion. Currently it is pasted on top of the existing code, as a replacement, which is another option to keep.
Be able type/edit on all the lines at once would be a great bonus feature +1
Thanks for the ALT option. It is something (if I want to copy/paste it somewhere) but I would prefer full funcionality (and I prefer using the keys - after all we use keyboard when typing code, right?).
Have you tried:
1. CursorKeys to the starting position
2. SHIFT + CursorKeys to select some code (normal)
3. SHIFT + ALT + CursorKeys to select some code (block mode)
After copy (CTRL + C) you can paste (CTRL + V) the text block, but you have to be sure you want overwrite the "block area".
Because insertion is a kind of overwritng the existing text.
I use this a lot, but it still may not be what you are looking for.
Just because it worked doesn't mean it works. PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
@Axolotl: thanks! It is close (holding ALT key is something I would have to memorize and it would be great to use only one key with my left hand: SHIFT).
You can also use search/replace to edit multiple identical lines simultaneously.
- select 'el' of multiple lines with shift alt cursor-keys (on linux)
- replace (cntrl F) 'el' with 'els', check 'search inside selection only'
- 'replace all'
now those lines have 'levels' instead of 'level'.