Column mode in PB IDE
Column mode in PB IDE
Hello!
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)
Thanks.
Saso
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)
Thanks.
Saso
Re: Column mode in PB IDE
Push ALT key and select with the left mouse button
Re: Column mode in PB IDE
It's not written anywhere ...
On Windows and macOS the 'ALT' key
On Linux with the 'CTRL' key
On Windows and macOS the 'ALT' key
On Linux with the 'CTRL' key
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Column mode in PB IDE
Ha! That is good to know.
Is split window another hidden gem?
Is split window another hidden gem?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Column mode in PB IDE
Well, you get a rectangle selection, but the edit does not work. In column mode i believe you would be able type/edit on all the lines at once.
Re: Column mode in PB IDE
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
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
Re: Column mode in PB IDE
Thank you all!
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?).
Thanks again.
Saso
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?).
Thanks again.
Saso
Re: Column mode in PB IDE
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.
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.
Mostly running PureBasic <latest stable version and current alpha/beta> (x64) on Windows 11 Home
Re: Column mode in PB IDE
@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).
Saso
Saso
Re: Column mode in PB IDE
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'.
- 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'.
Re: Column mode in PB IDE
Thank you all for this.
I was unaware of this gem!
What other 'Easter eggs' are hidden?
I was unaware of this gem!
What other 'Easter eggs' are hidden?
DE AA EB