Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.0TextMarker
-
None
Description
The conditions CURRENTCOUNT and TOTALCOUNT have exactly the same source code, except class and constructor names. The code is correct for condition TOTALCOUNT, but not for condition CURRENTCOUNT. TOTALCOUNT counts the number of annotations within the whole document, whereas CURRENTCOUNT should only count the number of annotations until the position of the matched annotation. This has to be fixed or perhaps condition CURRENTCOUNT is not needed at all.