summarylogtreecommitdiffstats
path: root/pyindent.patch
blob: de67f03e43f1867d7cc8b4103d2a38dd60fcc87e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/plugins/python/pythonindenter.cpp b/src/plugins/python/pythonindenter.cpp
index b907d0f4..eed0e4a0 100644
--- a/src/plugins/python/pythonindenter.cpp
+++ b/src/plugins/python/pythonindenter.cpp
@@ -41,6 +41,10 @@ private:
                   const TextEditor::TabSettings &tabSettings,
                   int cursorPositionInEditor = -1) override;
 
+    void autoIndent(const QTextCursor &cursor,
+                    const TextEditor::TabSettings &tabSettings,
+                    int cursorPositionInEditor = -1) { }
+                  
     bool isElectricLine(const QString &line) const;
     int getIndentDiff(const QString &previousLine,
                       const TextEditor::TabSettings &tabSettings) const;