mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed during completion method for PyDictKeyNamesCompletionContributor
This commit is contained in:
+1
-1
@@ -181,7 +181,7 @@ public class PyDictKeyNamesCompletionContributor extends PySeeingOriginalComplet
|
||||
if (isDictKeys) {
|
||||
if (str.getText().startsWith("'") && str.getText().endsWith("'") ||
|
||||
str.getText().startsWith("\"") && str.getText().endsWith("\""))
|
||||
context.setReplacementOffset(context.getSelectionEndOffset()+1);
|
||||
context.setReplacementOffset(str.getTextOffset()+str.getTextLength());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user