|
|
Stale marker problem [message #557109 is a reply to message #556885] |
Sat, 04 September 2010 14:17 |
Ralf Ebert Messages: 72 Registered: July 2009 |
Member |
|
|
I'm seeing stale markers for the todotext language, I guess something
trips over the fake indent/dedent tokens. I will change the grammar to
remove the rule which causes the markers anyway, so I don't particularly
care about this; I thought I'd report it anyway because it's easy to
reproduce. If I shall file a bugzilla for this, just tell me ;)
Steps to reproduce:
git clone http://github.com/ralfebert/org.eclipselabs.todotext.git
git checkout 78a70c7
Generate language, run, create a .todos document like this:
1
1a
2
(1\n\t1a\n2). Go with the cursor behind "1a", press enter. It will
complain about:
required (...)+ loop did not match anything at input ''
This marker is correct, the language does not allow empty todos. Now
type a character. The Problem will go away, but the red error marker in
the document stays, even after saving:
http://www.ralfebert.de/dump/xtext_todos_stale_marker.png
If the document is reopened, it goes away.
Reproducable on Eclipse SDK 3.6.1 M20100902-1717 + Xtext SDK
1.0.1.v201008311940.
Ralf
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03419 seconds