#67: Code folding grabs one extra line -------------------------------+-------------------------------------------- Reporter: anonymous | Owner: zdennis Type: defect | Status: new Priority: normal | Milestone: Component: Editor | Version: 0.7.0-d Severity: minor | Keywords: Ticket_dependency: | -------------------------------+-------------------------------------------- The code folding markers end further than they should in some contexts: they end in the line AFTER the corresponding 'end' command.[[BR]] If this is intentional (to reduce the structure to one single line - with swallowing all empty lines that follow - instead of collapsing the body only) then at least folding of embedded structures ending on consecutive lines should be fixed, because the current implementation swallows the outer 'end' when the inner element is folded[[BR]] For example, folding line 2 hides line 5 too, which it should not[[BR]] {{{ class C # 1 def m # 2 #... # 3 end # 4 end # 5 }}}
-- Ticket URL: <http://rubyeclipse.mktec.com/cgi-bin/trac.py/ticket/67> RDT (RubyEclipse) <http://rubyeclipse.mktec.com> Eclipse Ruby Plugin