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 162290 - YAML editor reports syntax error against a correct file.
Summary: YAML editor reports syntax error against a correct file.
Status: RESOLVED DUPLICATE of bug 157214
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-09 11:55 UTC by tkrd_oiax
Modified: 2009-04-09 12:01 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 tkrd_oiax 2009-04-09 11:55:26 UTC
YAML editor reports syntax error against a correct text.

A sample text that causes this behaviour is following:

<% %w(alpha beta gamma).each do |name| %>
<%= name %>:
  name: <%= name %>
  age: 20
<% end %>

The editor shows a red icon on the line 3 saying "Null we had this expected '<document start>',
 but found org.jvyamlb.tokens.PositioniedBlockMappingStartToken."

When I put a character "x" before "<%= name>" on the line2, the red icon disappeared.
Comment 1 tkrd_oiax 2009-04-09 12:01:24 UTC

*** This issue has been marked as a duplicate of 157214 ***