Ok Thanks to you geoff.
Also, is there a way to save in the scite session file what part of the
file were fold ? I'm forced to click on all the '-' in the margin when I
open my file..
Thanks again :-)
--
J.P.
Geoff Catlin a écrit :
This probably isn't the solution you're hoping for, but you could do
this:
<?php
if(1){#REGION
<a lot of finished php code>
}#ENDREGION
?>
-geoff
Abraham (J.P.) wrote:
Hello, Happy new year :-)
I'm working with a large .php file.. And I'd like to fold it. I can
do it only on the 'if', 'elseif', 'function' and so on. I would like
to use something like #region and #endregion to fold a bigger part of
the file ?
<?php
#region
<a lot of finished php code>
#endregion
<something usefull>
#region
<a lot of finished php code>
#endregion
?>
Can I do it ? I guess I need to create a php.properties file.. I
tried the following :
file.patterns.php = *.php
preprocessor.symbol.$(file.patterns.php)=#
preprocessor.start.$(file.patterns.php)=REGION
preprocessor.end.$(file.patterns.php)=ENDREGION
but it doesn't work..
Could you help me doing this ? Thank you :-)
regards
--
J.P.
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest