Skip to content

Commit

Permalink
Fix folding of 2 consecutive methods
Browse files Browse the repository at this point in the history
If the second method starts in the same line the first one ends then
there will still be 2 foldings.

#1992
  • Loading branch information
jakub-suliga committed Feb 12, 2025
1 parent 8ff6f72 commit eb0709b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,6 @@ protected void computeFoldingStructure(IJavaElement element, FoldingStructureCom
includelastLine= true;
IRegion normalized= alignRegion(regions[i], ctx);
if (normalized != null) {
includelastLine= true;
Position position= createCommentPosition(normalized);
if (position != null) {
boolean commentCollapse;
Expand Down

0 comments on commit eb0709b

Please sign in to comment.