mbien commented on PR #6541:
URL: https://github.com/apache/netbeans/pull/6541#issuecomment-1751681361

   i think this is a good hotfix for the linked issue, however this makes it 
look ugly in some situations.
   If someone formats the code like this:
   ```java
   if (asdf)
   {
       // asdf
   }
   ```
   the closing `}` will always remain visible when folded. One way to solve 
this would be to check if the closing token stands alone in that line or not. 
If it is alone, add it to the fold like before, if it is not, keep it outside 
the fold like in this fix - but that would be more work most likely.
   
   @dbalek do we have any code folding tests?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to