Skip to content

Commit f070359

Browse files
committed
Ignore _expandCollapseBeforeReview in script_reviewStartOfLine.
1 parent fd65a65 commit f070359

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

source/globalCommands.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,9 +1092,8 @@ def script_review_nextWord(self,gesture):
10921092

10931093
def script_review_startOfLine(self,gesture):
10941094
info=api.getReviewPosition().copy()
1095-
if info._expandCollapseBeforeReview:
1096-
info.expand(textInfos.UNIT_LINE)
1097-
info.collapse()
1095+
info.expand(textInfos.UNIT_LINE)
1096+
info.collapse()
10981097
api.setReviewPosition(info)
10991098
info.expand(textInfos.UNIT_CHARACTER)
11001099
ui.reviewMessage(_("Left"))

0 commit comments

Comments
 (0)