PDA

View Full Version : Ctrl+H - Notepad++


Robi70
04-11-2011, 06:55
Ciao a tutti,
uso Notepad++ un pò per tutto (asp, php, html, css) senza mai trovare alcuna lacuna nell'editor. Ma c'è una cosa che proprio non riesco a trovare.
Ma è mai possibile che con la funzione "Sostituisci" Ctrl+H non si riesca a sostituire del codice distribuito su più linee???:(

Il vecchio e vetusto CuteHtml ci riusciva alla grande:eek:

Robi70
04-11-2011, 16:08
si accettano consigli anche su un altro editor che faccia ciò che ho richiesto:D

daxdaxdax
04-11-2011, 17:49
Ciao, anche io uso Notepad++, cosa intendi di preciso con "codice su piu linee"?
Te lo chiedo perchè io ho preso uno spezzone di codice php tanto da provare il replace e ha funzionato correttamente..
Ho usato questo, sostituendo content
$content = str_replace('Á', 'Á' , $content);
$content = str_replace('Â', 'Â' , $content);
$content = str_replace('Ã', 'Ã' , $content);
$content = str_replace('Ä', 'Ä' , $content);
$content = str_replace('Å', 'Å' , $content);
$content = str_replace('Æ', 'Æ' , $content);
$content = str_replace('Ç', 'Ç' , $content);
$content = str_replace('È', 'È' , $content);
$content = str_replace('É', 'É' , $content);
$content = str_replace('Ê', 'Ê' , $content);
$content = str_replace('Ë', 'Ë' , $content);
$content = str_replace('Ì', 'Ì' , $content);
$content = str_replace('Í', 'Í' , $content);
$content = str_replace('Î', 'Î' , $content);
$content = str_replace('Ï', 'Ï' , $content);
$content = str_replace('Ð', 'Ð' , $content);
$content = str_replace('Ñ', 'Ñ' , $content);
$content = str_replace('Ò', 'Ò' , $content);
$content = str_replace('Ó', 'Ó' , $content);
$content = str_replace('Ô', 'Ô' , $content);
$content = str_replace('Õ', 'Õ' , $content);
$content = str_replace('Ö', 'Ö' , $content);
$content = str_replace('×', '×' , $content);
$content = str_replace('Ø', 'Ø' , $content);
$content = str_replace('Ù', 'Ù' , $content);
$content = str_replace('Ú', 'Ú' , $content);
$content = str_replace('Û', 'Û' , $content);
$content = str_replace('Ü', 'Ü' , $content);
$content = str_replace('Ý', 'Ý' , $content);


Ho notepad++ V3.6