--- a/src/eric7/QScintilla/MarkupProviders/MarkdownProvider.py Tue Apr 23 09:29:13 2024 +0200 +++ b/src/eric7/QScintilla/MarkupProviders/MarkdownProvider.py Tue Apr 23 11:26:04 2024 +0200 @@ -275,7 +275,7 @@ editor.beginUndoAction() markup = "> " - sline, sindex, eline, eindex = editor.getSelection() + sline, _sindex, eline, eindex = editor.getSelection() for line in range(sline, eline + 1 if eindex > 0 else eline): editor.insertAt(markup, line, 0) editor.endUndoAction() @@ -303,7 +303,7 @@ dlg = ImageMarkupDialog(ImageMarkupMode.MarkDown) if dlg.exec() == QDialog.DialogCode.Accepted: - address, altText, title, originalSize, width, height = dlg.getData() + address, altText, title, _originalSize, _width, _height = dlg.getData() if title: markup = ''.format(altText, address, title) @@ -368,7 +368,7 @@ lineSeparator = editor.getLineSeparator() editor.beginUndoAction() if editor.hasSelectedText(): - startLine, startIndex, endLine, endIndex = editor.getSelection() + startLine, _startIndex, endLine, endIndex = editor.getSelection() if endIndex == 0: endLine -= 1 for line in range(startLine, endLine + 1):