From: Robert S. <Robert@Schwenn-R.de> - 2008-10-15 19:16:16
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <tt>Suraj N. Kurapati schrieb:</tt> <blockquote cite="mid:48F...@gn..." type="cite"><tt>Josh Burnap wrote:<br> </tt> <blockquote type="cite"><tt>Is it possible to left align a rectangular selection?<br> <br> Example:<br> <br> 1 a<br> 2 b <br> 3 c<br> <br> <br> I want to select and left align the a,b,c column.<br> </tt></blockquote> <!----><tt><br> Select the a,b,c column with keyboard or control+click+drag with <br> mouse and then press control+f to find in the selection: replace the <br> regular expression ^\s+ with nothing. That will remove all leading <br> spaces in the column, thereby left aligning them.<br> <br> </tt></blockquote> <tt>Hi, </tt><tt>did You try it? The search string "^\s+" does only work, when the </tt><tt>rectangular selection begins at line start. And in every case the following characters in each line are effected.<br> <br> I'd think, actually it isn't possible with core or plugin actions to align text inside a </tt><tt>rectangular selection without changing the text outside the selection. I also didn't see a macro yet that does the job.<br> <br> Robert<br> </tt> </body> </html> |