Community
Participate
Working Groups
Build ID: M20070921-1145 Where: org.eclipse.jface.text.rules.PatternRule#endSequenceDetection More information: If there are escaped characters the method uses scanner.read() (Line 246 & 252) but does not increase readCount (Line 242). In the case that the rule does not apply, some characters will then not unread. A simple readCount++ in Line 253 should solve this problem.
Do you have a scenario or test case?
(In reply to comment #1) > Do you have a scenario or test case? No, but as far as I understand the PredicateRule system it should unread all characters if the rule does not apply. This does not happen here, so it seems to be an error. If you want, I can try to construct a testcase.
>If you want, I can try to construct a testcase. Yes, please as we did not have a problem so far in any product that uses this rule. So not much reason to touch it ;-)
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.