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

Bug 355008

Summary: Position updater not updating Semantic Highlighting Positions properly
Product: [WebTools] WTP Source Editing Reporter: Nick Sandonato <nsand.dev>
Component: wst.sseAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: gloriay
Version: 3.2.5Flags: thatnitind: review+
Target Milestone: 3.2.5   
Hardware: All   
OS: All   
Whiteboard: WI77798
Attachments:
Description Flags
patch none

Description Nick Sandonato CLA 2011-08-17 16:05:51 EDT
In the SemanticHighlightingPresenter there is a check for overlapping positions to make sure that the correct position is updated. This check is being done in the wrong spot  causing an updateWithPrecedingEvent to execute instead of updateWithOverEndEvent.
Comment 1 Nick Sandonato CLA 2011-08-17 16:06:50 EDT
Created attachment 201669 [details]
patch
Comment 2 Nick Sandonato CLA 2011-08-19 11:06:23 EDT
Code has been released.