Skip to content

Commit

Permalink
Removes duplicated logic
Browse files Browse the repository at this point in the history
  • Loading branch information
dingfeli committed Sep 20, 2024
1 parent 30786a5 commit 755cee8
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,6 @@ public void transitionToDecisionMade() {
state = QInvocationSessionState.DECISION_MADE;

unsetVerticalIndent();

// Clear previous next line indent in certain cases (always for now?)
// From Felix: Not really sure when or where this is needed, disabling for now.
// This is throwing under certain circumstances with IllegalArgument
// var widget = viewer.getTextWidget();
// var caretLine = widget.getLineAtOffset(widget.getCaretOffset());
// if (!isLastLine(widget, caretLine + 1)) {
// widget.setLineVerticalIndent(caretLine + 1, 0);
// }
}

public void setCaretMovementReason(final CaretMovementReason reason) {
Expand Down

0 comments on commit 755cee8

Please sign in to comment.