stefangabos:
--------------------------------------------------------------------------------
question:

as you know, in PHP, if i have some code like 

    for ($i = 0; $i < 10; $i++) {

        echo $i;

    }

and i press "Ctrl-A" (for block commenting). everything will turn to

//     for ($i = 0; $i < 10; $i++) {
//
//         echo $i;
//
//     }

is there a way to change this so it inserts a blank line at the top and bottom
of the selected block and then put the other commenting style, so that in the
end it looks like

/*
    for ($i = 0; $i < 10; $i++) {

        echo $i;

    }
*/

thanks
--------------------------------------------------------------------------------

Hi stefangabos,
what have this request to do with this beta build ?
Would be better to ask this in the english discussion forum.

I think you can do this with an CLIP like
cite:
--------------------------------------------------------------------------------
[comment | comment an code block]
/*
ยง
*/
|
;--------------------------------------------------------------------------------


* Than select your code you wanna comment-out
* press Ctrl+Space
* type c o m m e n
* press enter

Press F1 in PSPad and search for CLIP and "Clip file format " for further help.

-- 
greets,     Stefan
[img]http://pspad.milten.lima-city.de/Fan.gif[/img]  (pleased user since 1722)
[url=http://tinyurl.com/52xrj]inofficial FAQs[/url] +  
[url=http://forum.pspad.com/read.php?2,16286,page=2]Infos[/url] + 
[url=http://forum.pspad.com/read.php?6,24628]Special Settings[/url]

<http://forum.pspad.com/read.php?6,42668,42805>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem