Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338838 - [Autoedit] Spurious double single quote auto-edit insertion
Summary: [Autoedit] Spurious double single quote auto-edit insertion
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 12:40 EST by Ed Willink CLA
Modified: 2017-09-19 17:46 EDT (History)
2 users (show)

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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