Commit 804e2aa3 authored by Alain Laporte's avatar Alain Laporte
Browse files

Remove colon left in some class declaration

Fixed declaration:

class MyClass:

BUG: 454555
parent 378d8b51
Pipeline #185955 failed with stage
in 4 minutes and 14 seconds
......@@ -116,6 +116,7 @@ void KatePluginSymbolViewerView::parsePythonSymbols(void)
// qDebug(13000)<<"Function -- Inserted : "<<name<<" at row : "<<i;
if (in_class == 1) { // strip off the word "class "
name = name.trimmed().mid(6);
name = name.left(name.indexOf(QLatin1Char(':'))); // remove possible ':' at the end
} else { // strip off the word "def "
name = name.trimmed().mid(4);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment