def getReviewPosition(): """Retreaves the current TextInfo instance representing the user's review position. If it is not set, it uses the user's set navigator object and creates a TextInfo from that. """ if globalVars.reviewPosition: return globalVars.reviewPosition else: obj=globalVars.navigatorObject globalVars.reviewPosition,globalVars.reviewPositionObj=review.getPositionForCurrentMode(obj) return globalVars.reviewPosition
def getReviewPosition(): """Retreaves the current TextInfo instance representing the user's review position. If it is not set, it uses the user's set navigator object and creates a TextInfo from that. """ if globalVars.reviewPosition: return globalVars.reviewPosition else: obj=globalVars.navigatorObject globalVars.reviewPosition,globalVars.reviewPositionObj=review.getPositionForCurrentMode(obj) return globalVars.reviewPosition
def getReviewPosition() -> textInfos.TextInfo: """Retrieves the current TextInfo instance representing the user's review position. If it is not set, it uses navigator object to create a TextInfo. """ if globalVars.reviewPosition: return globalVars.reviewPosition else: obj=globalVars.navigatorObject globalVars.reviewPosition,globalVars.reviewPositionObj=review.getPositionForCurrentMode(obj) return globalVars.reviewPosition