textPane.clearUndos();
if (absolutePath.endsWith(".py")) {
new DebuggerShortcuts(this); // TO MOVE TO NONWRAPPINGTEXTPANE
}
new GenericShortcuts(this); // TO MOVE TO NONWRAPPINGTEXTPANE
if (activateSourceTab) {
tabbedPane.setSelectedIndex(TestCasePane.SOURCE_INDEX);
}
} catch (IOException ioe) {
ioe.printStackTrace();