Column Editing.

mike

Member³
First - Thanks for the enhancements. I'm very much looking forward to this version!

Regarding "After making a column selection with Alt-select, you can now type new text for the column. The newly typed text will be repeated on each line of the column selection."

If I want to insert text, I don't highlight any characters. I just alt-select a column without a character. When I do that, it only works for the first character for me. After I type the first character, the remaining ones only type on the last line. To be able to insert multiple characters in a column, I need to highlight a column with at least 1 character and overwrite it.
 
Last edited:
+1.

I think that would be a useful addition to this functionality, which by the way, has been a long way in the making. I recall having asked this somewhere around beta 7.

Anyway, thanks a lot for this one Marco. Finally I don't need to cut 'n paste back and forth between PLD and ultraedit.
 
Last edited:
Noticed the same issue as Mike. Also didn't work when I would select a column of spaces before column. Behaviour is the same; only one character is added before the last line selected.
When the code before the multiline selection contains tab-characters strangely enough on all lines typed character is added, only the position is off. Not sure what happens when line-ends are mixed xnix(chr(10)) / windows(chr(13)||chr(10)). After adding that 1 character on all lines, only the last line gets edited foor the next characters.

Something I do quite frequently while coding is aligning columns. Nice to have would be if you could select insertion-points on different lines using ctrl-click and then using tab have them all aligned or entering a space(or other character) and have it entered before each selection...

But indeed really nice improvement once it works!

Cheers, Jan
 
Deleting does not work well if done with the delete key either. If I select a column with one character in it, then delete one character with the delete key it works well. Delete a second character and only the top character in the column is deleted.

I realize it's faster to column select all characters to delete, and that works.
 
Now on Beta5, and unfortunately column editing doesn't yet work as expected. It's one of those would be really nice if it worked features ;-)

btw, related and already an issue in release 12 is when I'm at the end of a line after a space (not a character); when I delete the end of line the cursor jumps one or more characters to the right.

1) Column editing doesn't seem to work the same in the different window-types.
2) when I select the varchar2 column from below with alt-select and then try to type number, all vachar2 strings selected get deleted, but only on the first line the text number is typed. pasting the text number over the selection has the same result.
3) In a program window, when I select below column of varchar2, for the first 3 lines and press tab, see result below:
( p_own varchar2
, p_tab varchar2
, p_thrd varchar2
, p_longvariable varchar2

result:
( p_own r2
, p_tab r2
, p_thrd r2
, p_longvariable varchar2

When I select only column of spaces between the variable name and varchar2, and press space multiple times, result is ok.
When I press tab once I get this:
( p_own varchar2
, p_tab varchar2
, p_thrd varchar2
, p_longvariable varchar2

and after a second tab I get this:
( p_own va rchar2
, p_tab varchar2
, p_thrd varchar2
, p_longvariable varchar2

when I press a sequence of undo keys until I'm back at the original situation I see quite a lot of actions I did not expect...

I really hope you can get column editing right, at least in the program editor window. In SQL and command windows it would also be really nice.

I guess I still find it kind of confusing that you have to select a column of spaces/characters and then enter text, one character at a time...

Cheers, Jan
 
ok, that's a pity but formatting isn't kept.. I'll send this by mail for you to check.

Cheers,

Jan
 
Beta 8, I have the following code
Code:
my_procedure (parameter1 => my_variable1,
...............parameter2 => my_variable2,
...............parameter3 => my_value);
where the dots represent spaces.

I mark column 14 only (below the opening parenthesis), lines 2 and 3 and press Delete to left-align the parameters. The result is as follows:
Code:
my_procedure (parameter1 => my_variable1,
...............parameter2 => my_variable2,
..............parameter3 => my_value);
i.e. parameter2 is not aligned.

If I press Ctrl-Z a couple of times, I can see that the two lines are aligned before an extra space is inserted in line 2. This extra space should not be inserted.

It is a strange error. The example should look almost exactly like above to reproduce the error and the marking should be in the right place, otherwise it works as designed. If I e.g. replace my_value with my_variable3, or make one of the other variable names shorter, it can not be reproduced.

But please fix this error.
 
Back
Top