Merge remote-tracking branch 'origin/master'

This commit is contained in:
Dmitry Trofimov
2016-10-29 00:04:50 +02:00
6 changed files with 2 additions and 8 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

After

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 B

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 B

@@ -932,12 +932,7 @@ public final class EditorUtil {
DocumentEx document = ObjectUtils.tryCast(editor.getDocument(), DocumentEx.class);
if (document != null && document.isInBulkUpdate()) {
MessageBusConnection connection = ApplicationManager.getApplication().getMessageBus().connect();
disposeWithEditor(editor, new Disposable() {
@Override
public void dispose() {
connection.disconnect();
}
});
disposeWithEditor(editor, connection);
connection.subscribe(DocumentBulkUpdateListener.TOPIC, new DocumentBulkUpdateListener.Adapter() {
@Override
public void updateFinished(@NotNull Document doc) {
@@ -37,8 +37,7 @@ if run_cov:
argv = []
for arg in sys.argv:
if arg.startswith('-m'):
argv.append('-m')
if arg.startswith('-m') and arg[2:]:
argv.append(arg[2:])
else:
argv.append(arg)