Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 177924

Summary: Incorrect folding in Ruby editor
Product: [Technology] DLTK Reporter: Michael Klishin <michael.s.klishin>
Component: RubyAssignee: dltk.ruby-inbox <dltk.ruby-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.95   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Source file to reproduce bug none

Description Michael Klishin CLA 2007-03-18 05:51:34 EDT
Build ID: I20070222-0951

Steps To Reproduce:
1. Add the following code to your Ruby source file:
IGNORE_PATTERNS = spec_files + [
          /\/lib\/ruby\//,
          /bin\/spec:/,
          /bin\/rcov:/,
          /lib\/rspec_on_rails/,
          /vendor\/rails/,
          # TextMate's Ruby and RSpec plugins
          /Ruby\.tmbundle\/Support\/tmruby.rb:/,
          /RSpec\.tmbundle\/Support\/lib/,
          /temp_textmate\./
        ]

2. Scroll down to QuietBacktraceTweaker class.
3. See # TextMate's Ruby and RSpec plugins line that folds next line of code.


More information:

See backtrace_twealer.rb file from RSpec (rspec.rubyforge.org) source code.
Comment 1 Michael Klishin CLA 2007-03-18 06:01:37 EDT
Created attachment 61205 [details]
Source file to reproduce bug
Comment 2 Mikhail Kalugin CLA 2007-04-11 08:20:06 EDT
Fixed.
Comment 3 Eclipse Webmaster CLA 2007-07-29 09:22:07 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991
Comment 4 Andrey Platov CLA 2008-05-26 02:49:52 EDT
bulk change: fixed in 0.95