Skip to content

Commit 755cee8

Browse files
committed
Removes duplicated logic
1 parent 30786a5 commit 755cee8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

plugin/src/software/aws/toolkits/eclipse/amazonq/util/QInvocationSession.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,6 @@ public void transitionToDecisionMade() {
221221
state = QInvocationSessionState.DECISION_MADE;
222222

223223
unsetVerticalIndent();
224-
225-
// Clear previous next line indent in certain cases (always for now?)
226-
// From Felix: Not really sure when or where this is needed, disabling for now.
227-
// This is throwing under certain circumstances with IllegalArgument
228-
// var widget = viewer.getTextWidget();
229-
// var caretLine = widget.getLineAtOffset(widget.getCaretOffset());
230-
// if (!isLastLine(widget, caretLine + 1)) {
231-
// widget.setLineVerticalIndent(caretLine + 1, 0);
232-
// }
233224
}
234225

235226
public void setCaretMovementReason(final CaretMovementReason reason) {

0 commit comments

Comments
 (0)