| Summary: | SingleLineTerminalsStrategy does not overwrite selection, if right-Terminal is entered | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Benjamin Schwertfeger <benjamin.schwertfeger> | ||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | sebastian.zarnekow | ||||
| Version: | 1.0.0 | Flags: | sebastian.zarnekow:
helios+
|
||||
| Target Milestone: | SR1 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Fixed in HEAD. As I did not apply the patch directly, I'ld like you to verify the fix. Thanks. This solution works also. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Created attachment 175417 [details] Patch to obtain the given length but still place the curser between both terminals IS: If you write a grammar with "(" and ")" as terminals, the registered SingleLineTerminalsStrategy prevent from select select some text and overwrite with the right-Terminal "(". The length is always set to 0. Expected: The selected text should be replaced with the left- and the right terminal.