This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 189959 - Code folding for 1.9.2 is not correct
Summary: Code folding for 1.9.2 is not correct
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-28 09:23 UTC by Masaki Katakai
Modified: 2013-11-26 21:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (8.65 KB, image/jpeg)
2010-08-28 09:23 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2010-08-28 09:23:17 UTC
Created attachment 101727 [details]
screenshot

Product Version: NetBeans IDE 6.9.1 (Build 201007282301)
Java: 1.6.0_21; Java HotSpot(TM) Client VM 17.0-b17
System: Windows XP version 5.1 running on x86; MS932; en (nb)

Code holding is not working when I use "Ruby 1.9.2 (2010-08-18 patchlevel 0) [i386-mswin32]"
as ruby platform.

def foo
	test
end

It shows like following when I use default built-in JRuby of NetBeans 6.9.1:

  def foo {...}

When I switched to "Ruby 1.9.2 (2010-08-18 patchlevel 0) [i386-mswin32]", it changed to

 {...}

Please see screenshot.
Comment 1 enebo 2013-11-26 21:23:14 UTC
This was fixed quite a while ago when an updated version of 1.9 parser was added.  This also works with 2.0 now as well.