Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365819

Summary: [textmatestyler] Fix textMateStyler tests
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: test
Version: 0.3   
Target Milestone: 0.5 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-12-06 18:31:58 EST
A bunch of the unit tests are failing. I believe this is due to performance work done recently in the TextView which breaks the test assumptions.

For example, a grammar that assigned the same style class to the last 2 characters in a line of text like
> foo

formerly yielded 2 style regions:
> f[o][o]

but the current code seems to combine them into one larger region:
> f[oo]

Need to make sure this is indeed working as intended, and update the tests if so.