Help with reformatting lines of code
Posted: Wed Aug 27, 2003 2:32 pm
I have code that looks like this in a number of files:-
I want to put it all one one line :
The key things are it starts with Info and ends with ;
I think I want a macro to operate over all the files and use Ctrl-J, however, there are some cases where it is already on one line and Ctrl-J appends the line following the ;
I think that's a bug with Ctrl-J (I'll report that separately).
Any ideas?
Code: Select all
Info
(
"something\n",
xyz
); Code: Select all
Info("something\n", xyz); I think I want a macro to operate over all the files and use Ctrl-J, however, there are some cases where it is already on one line and Ctrl-J appends the line following the ;
I think that's a bug with Ctrl-J (I'll report that separately).
Any ideas?