diff -r d1a603a70f83 -r 9becf9ca115c src/eric7/QScintilla/MarkupProviders/HtmlProvider.py --- a/src/eric7/QScintilla/MarkupProviders/HtmlProvider.py Tue Apr 23 09:29:13 2024 +0200 +++ b/src/eric7/QScintilla/MarkupProviders/HtmlProvider.py Tue Apr 23 11:26:04 2024 +0200 @@ -383,7 +383,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):