Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335663 - [validation] Allow to create value converter exceptions for a text range
Summary: [validation] Allow to create value converter exceptions for a text range
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext Backlog (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 04:42 EST by Sebastian Zarnekow CLA
Modified: 2012-11-20 10:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2011-01-28 04:42:09 EST
Consider the following string:

'this is a very long prefix \uInvalidEscape and a very long postfix'

The value converter should allow to mark the invalid escape sequence instead of the complete text.
Comment 1 Sebastian Zarnekow CLA 2012-04-02 16:17:21 EDT
There should be an additional constructor for the value converter exception that accepts a range (relative to the node). We probably need a subtype of SyntaxErrorMessage that refers to that range, too.