private void selectionChanged() { myBackSlashPressed.clear(); UIUtil.invokeLaterIfNeeded( new Runnable() { @Override public void run() { updateEditorsFromProperties(); } }); }
@TestOnly public void dropAllUnsavedDocuments() { if (!ApplicationManager.getApplication().isUnitTestMode()) { throw new RuntimeException("This method is only for test mode!"); } ApplicationManager.getApplication().assertWriteAccessAllowed(); if (!myUnsavedDocuments.isEmpty()) { myUnsavedDocuments.clear(); fireUnsavedDocumentsDropped(); } }