mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
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)
|
||||
|
||||
Reference in New Issue
Block a user