History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RUBY-934
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Oleg Shpynov
Reporter: Michael Klishin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Ruby

Editor doesn't recognize method calls with block, causing wrong class/do-to-end pair matches

Created: 07 Sep 07 22:14   Updated: 31 Oct 07 17:23
Component/s: Editing
Fix Version/s: 1.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. File user_profile_photos_controller.rb (0.9 kb)

Environment: Linux, OS X

Build: 7,241
Severity: High


 Description  « Hide
I have attached file and when I point to 3rd end from the bottom (line 25) I see class highlighted which is way wrong. This is because the editor do not recognize method calls with blocks that respond_to_parent and render(:update) are.

 All   Comments   Work Log   Change History      Sort Order:
Michael Klishin - 07 Sep 07 22:15
File to reproduce the bug.

Oleg Shpynov - 08 Sep 07 10:58
Hi, Michael!
What plugin version are you using?

Oleg Shpynov - 10 Sep 07 17:12
It`s only brace-matcher bug. It doesn`t affect parsing of code.
Need some internal IDEA API changes to fix.

Oleg Shpynov - 31 Oct 07 17:23
fixed