private static int getCaretStartOffsetInsideString(@NotNull final CompletionParameters parameters,
                                                       @NotNull final PyStringLiteralExpression parent) {
      final int caretAbsoluteOffset = parameters.getOffset();
      final int stringExprStartOffset = parameters.getPosition().getTextRange().getStartOffset();
      final int stringValueStartOffset = parent.getStringValueTextRange().getStartOffset();
      return caretAbsoluteOffset - stringExprStartOffset - stringValueStartOffset;
    }
private static int getCaretStartOffsetInsideString(@NotNull final CompletionParameters parameters,
                                                       @NotNull final PyStringLiteralExpression parent)