소스 검색

Fix for 54238: Restore build cancelling to Swing-based IDEs

tags/V1_2_0
mkersten 20 년 전
부모
커밋
a17b51bec3
1개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 7
    3
      ajbrowser/src/org/aspectj/tools/ajbrowser/BasicEditor.java

+ 7
- 3
ajbrowser/src/org/aspectj/tools/ajbrowser/BasicEditor.java 파일 보기

@@ -72,9 +72,13 @@ public class BasicEditor implements EditorAdapter {
}

public void showSourceLine(ISourceLocation sourceLocation, boolean highlight) {
showSourceLine(sourceLocation.getSourceFile().getAbsolutePath(), sourceLocation.getLine(), highlight);
}

try {
showSourceLine(sourceLocation.getSourceFile().getAbsolutePath(), sourceLocation.getLine(), highlight);
} catch (NullPointerException npe) {
Ajde.getDefault().getIdeUIAdapter().displayStatusInformation(" no corresponding source line to seek to");
}
}
public void showSourceLine(int lineNumber, boolean highlight) {
showSourceLine(filePath, lineNumber, highlight);
}

Loading…
취소
저장