forked from qt-creator/qt-creator
Editor: Fix whitespace cleaning.
Task-number: QTCREATORBUG-7994 Change-Id: I6c197ccc3a148555018e8f8184d116c88d7ea400 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -35,17 +35,16 @@ class PythonIndenter : public TextEditor::Indenter
|
||||
{
|
||||
public:
|
||||
PythonIndenter();
|
||||
virtual ~PythonIndenter();
|
||||
virtual ~PythonIndenter() override;
|
||||
|
||||
bool isElectricCharacter(const QChar &ch) const;
|
||||
void indentBlock(QTextDocument *document,
|
||||
const QTextBlock &block,
|
||||
const QChar &typedChar,
|
||||
const TextEditor::TabSettings &settings);
|
||||
bool isElectricCharacter(const QChar &ch) const override;
|
||||
|
||||
int indentFor(const QTextBlock &block, const TextEditor::TabSettings &tabSettings) override;
|
||||
|
||||
protected:
|
||||
bool isElectricLine(const QString &line) const;
|
||||
int getIndentDiff(const QString &previousLine) const;
|
||||
int getIndentDiff(const QString &previousLine,
|
||||
const TextEditor::TabSettings &tabSettings) const;
|
||||
|
||||
private:
|
||||
QStringList m_jumpKeywords;
|
||||
|
||||
Reference in New Issue
Block a user