<http://forum.pspad.com/read.php?f=2&i=10623&t=10623>
----------------------------------------------------------------
Hi,
Thanks for PSPad ! I've donated yet again to thank your for the new 4.5.0
version :)
I've got a quite specific feature request, it's something that would be
quite handy in my every day coding activity.
Suppose you've got code like that (in Python):
a = {
'a' : 1,
'bcvbc' : 2,
}
I'd like a function which when selecting the two lines between the
brackets would align them this way :
a = {
'a' : 1,
'bcvbc' : 2,
}
This would also be very handy in C/C++/Java/C# when declaring variables :
int a = 1;
int cxvxcvx = 2;
int sdfs = 3;
would become :
int a = 1;
int cxvxcvx = 2;
int sdfs = 3;
Basically the new feature would ask for a separator character and add
spaces before the first matching character of each line so that all
character are aligned (you would need to look for the rightmost character
first). This would allow us to write readable code in a fast way !
Regards,
Nicolas
--
PSPad freeware editor http://www.pspad.com