| Summary: | [Auto Edit] ML comment in SL comment produces bad result in xtext editor | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Henrik Lindberg <henrik.lindberg> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow, sven.efftinge |
| Version: | 2.0.0 | Flags: | sven.efftinge:
indigo+
|
| Target Milestone: | M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
I guess this is just another variant on "regions" not being skipped.
Other bad auto edits happen
Example:
With this text
// ML_COMMENT PATTERN: '/ *' '/'* ( !('*' | '/') | !'*' '/' | '*' !'/')* '*'+ '/'
//
Hitting return to create a new empty line, the editor inserts ';' to complete the commented out rule.
Pushed to master. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Reproducible in Xtext 2.0 editor (i.e. edit MyDSL.xtext). Type : // xxx /* (with caret after the *) when hitting return the result is: // xxx /* * */