Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325512 - [Validation] Allow to create errors / warnings for a textrange in the resource
Summary: [Validation] Allow to create errors / warnings for a textrange in the resource
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 14:23 EDT by Sebastian Zarnekow CLA
Modified: 2017-09-19 17:16 EDT (History)
0 users

See Also:
sebastian.zarnekow: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2010-09-16 14:23:19 EDT
Errors and warnings can be created for a structural feature of an object. However, it may be helpful to assign a certain range of the feature value to the validation result, e.g. a very long string may be invalid due to some unmatched regex. Clients should be able to set the offset / length of the error / warning.
Comment 1 Sebastian Zarnekow CLA 2010-09-21 09:20:23 EDT
This is interesting for ValueConverterExceptions, too.
Comment 2 Sebastian Zarnekow CLA 2011-01-21 04:28:36 EST
This is a pre-req to validate whitespace consistency in Xtend2's rich strings.
Comment 3 Sebastian Zarnekow CLA 2011-01-28 04:40:42 EST
Done. I'll file a second ticket for the value converter exceptions.
Comment 4 Karsten Thoms CLA 2017-09-19 17:04:11 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 5 Karsten Thoms CLA 2017-09-19 17:16:04 EDT
Closing all bugs that were set to RESOLVED before Neon.0