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 165822 - space before } breaks autoindent
Summary: space before } breaks autoindent
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 14:22 UTC by Martin Schovanek
Modified: 2011-01-28 20:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2009-05-22 14:22:26 UTC
[#200505220201, jdk 1.5.0]

to reproduce:
1) type in a .rb file (| represents the cursor)
  {| }
2) press enter
ERROR: the text is indented to:
  {
 |}
but should be:
  {
    |
  }

NOTE: pressing enter at: {|} works well.
Comment 1 Erno Mononen 2009-05-29 16:22:37 UTC
I'll address this for 6.8.
Comment 2 Erno Mononen 2010-04-22 13:05:44 UTC
Still there, targeting 6.9 if time permits.