Skip to content

Commit

Permalink
fix focus problem (#95)
Browse files Browse the repository at this point in the history
* fix focus problem

* fix focus problem
  • Loading branch information
xiangtianyu authored Oct 12, 2024
1 parent f1ef9f0 commit 5e82dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/zhongan/devpilot/util/EditorUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static void openFileAndSelectLines(@NotNull Project project, String fileU
return;
}

Editor editor = FileEditorManager.getInstance(project).openTextEditor(new OpenFileDescriptor(project, codeFile), true);
Editor editor = FileEditorManager.getInstance(project).openTextEditor(new OpenFileDescriptor(project, codeFile), false);
if (editor != null) {
if (startColumn == null) {
startColumn = 0;
Expand Down

0 comments on commit 5e82dba

Please sign in to comment.