Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338838

Summary: [Autoedit] Spurious double single quote auto-edit insertion
Product: [Modeling] TMF Reporter: Ed Willink <ed>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow, sven.efftinge
Version: 2.0.0Flags: sven.efftinge: indigo+
Target Milestone: M7   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2011-03-03 12:40:18 EST
[Found an Xtext repro for one of my problems.]

M5 and a bit.

In the following Xtext grammar:
---------------------------------
grammar org.eclipse.xtext.example.Mini with org.eclipse.xtext.common.Terminals

generate fowlerdsl "http://example.xtext.org/FowlerDsl"

Statemachine:
	{Statemachine}
	'events' 'end' 'xyzzy
;
----------------------------------
Click following the xyzzy and type the missing '. '' is inserted.

I think the problem only occurs when there is no subsequent string partition.
Comment 1 Sebastian Zarnekow CLA 2011-04-07 09:51:32 EDT
Pushed fix to master.
Comment 2 Karsten Thoms CLA 2017-09-19 17:35:51 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:46:47 EDT
Closing all bugs that were set to RESOLVED before Neon.0