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

Key: RUBY-247
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Oleg Shpynov
Reporter: Pavel Tcholakov
Votes: 0
Watchers: 0
Operations

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

Conditional expressions are incorrectly highlighted as errors

Created: 01 Feb 07 18:57   Updated: 26 Dec 07 14:40
Component/s: Highlighting
Fix Version/s: 1.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: WinXP, IDEA 6.0.4, Ruby plugin 0.1.1 (rev. 5620)

Build: 5,620


 Description  « Hide
The following (valid) Ruby code is highlighted as an error "Expected ; or end of line"

email.strip.length == 0 && email = e.general_email.to_s

Same with this:

_title.size > 0 && _title[_title.size-1] != "." && _title += "."



 All   Comments   Work Log   Change History      Sort Order:
Oleg Shpynov - 21 Feb 07 21:36
Add hack to arg parsing with look ahead

Oleg Shpynov - 26 Dec 07 14:40
fixed in 13476