Community
Participate
Working Groups
There is a bug about PDT(bug 302038). After I debug deep into the code,I think we need to sort SemanticHighlightingPresenter.fPositions,because the php content is considered as a big region,and php highlighters consume the big region,then contribute positions,these positions are not sorted.I am not sure if this bug can be reproduced for other adapters,but I really can not fix it in pdt code.And our users complaint this very much. Thanks very much!!
Created attachment 167872 [details] patch
The patch looks good to me. It definitely seems like an oversight as computeIndexAtOffset requires that the positions be ordered by offset. I can see the trouble that this would cause regarding syntax highlighting, so I'll request this be in place for RC1. Marking Nitin for review.
Code checked in for RC1.
Thank you for your investigation and the patch!