You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Stefano Calabrese (Jira)" <ji...@apache.org> on 2021/07/22 07:46:00 UTC

[jira] [Commented] (NETBEANS-5480) Can't fold a class/method when a range of PHP tags overlaps a range of class/method body

    [ https://issues.apache.org/jira/browse/NETBEANS-5480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385327#comment-17385327 ] 

Stefano Calabrese commented on NETBEANS-5480:
---------------------------------------------

Thank you, guys!

> Can't fold a class/method when a range of PHP tags overlaps a range of class/method body
> ----------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-5480
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5480
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Editor
>    Affects Versions: 12.2
>            Reporter: Stefano Calabrese
>            Assignee: Junichi Yamamoto
>            Priority: Minor
>              Labels: Folding, pull-request-available
>             Fix For: 12.5
>
>         Attachments: aspected_tmp_code_php.jpg, netbeans-5480-1.jpg, wrong_tmp_code_php.jpg
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Hi i have a problem with code folding "<?php ?>"
> if you have this PHP code
> {code:java}
> Segnaposto codice // 
> <?php
> class A {
>     function B(){
>         ?><div>Hello</div><?php
>     }
> }
> {code}
> when you create it it's ok, but *if you save, close and re-open it* ,
> you can see collapse <?php -> ?> and break folding as in image (tmp_code_php.jpg)
>  
> Actual result after save, close & reopen file .php
> image attached wrong_tmp_code_php.jpg
>  
> Expected result:
> image attached aspected_tmp_code_php.jpg
>  
>  
> Thank you



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists