All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
eafd18dac0
commit
25c3ba7338
@@ -27,7 +27,8 @@
|
||||
#include "TextEdit.h"
|
||||
|
||||
|
||||
namespace Gui {
|
||||
namespace Gui
|
||||
{
|
||||
|
||||
class PythonSyntaxHighlighter;
|
||||
class PythonSyntaxHighlighterP;
|
||||
@@ -36,15 +37,15 @@ class PythonSyntaxHighlighterP;
|
||||
* Python text editor with syntax highlighting.
|
||||
* \author Werner Mayer
|
||||
*/
|
||||
class GuiExport PythonEditor : public PythonTextEditor
|
||||
class GuiExport PythonEditor: public PythonTextEditor
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PythonEditor(QWidget *parent = nullptr);
|
||||
explicit PythonEditor(QWidget* parent = nullptr);
|
||||
~PythonEditor() override;
|
||||
|
||||
void OnChange( Base::Subject<const char*> &rCaller,const char* rcReason ) override;
|
||||
void OnChange(Base::Subject<const char*>& rCaller, const char* rcReason) override;
|
||||
void toggleBreakpoint();
|
||||
void showDebugMarker(int line);
|
||||
void hideDebugMarker();
|
||||
@@ -66,12 +67,12 @@ public Q_SLOTS:
|
||||
|
||||
protected:
|
||||
/** Pops up the context menu with some extensions */
|
||||
void contextMenuEvent ( QContextMenuEvent* e ) override;
|
||||
void contextMenuEvent(QContextMenuEvent* e) override;
|
||||
void drawMarker(int line, int x, int y, QPainter*) override;
|
||||
void keyPressEvent(QKeyEvent *) override;
|
||||
void keyPressEvent(QKeyEvent*) override;
|
||||
|
||||
private:
|
||||
//PythonSyntaxHighlighter* pythonSyntax;
|
||||
// PythonSyntaxHighlighter* pythonSyntax;
|
||||
struct PythonEditorP* d;
|
||||
};
|
||||
|
||||
@@ -79,18 +80,18 @@ private:
|
||||
* Syntax highlighter for Python.
|
||||
* \author Werner Mayer
|
||||
*/
|
||||
class GuiExport PythonSyntaxHighlighter : public SyntaxHighlighter
|
||||
class GuiExport PythonSyntaxHighlighter: public SyntaxHighlighter
|
||||
{
|
||||
public:
|
||||
explicit PythonSyntaxHighlighter(QObject* parent);
|
||||
~PythonSyntaxHighlighter() override;
|
||||
|
||||
void highlightBlock (const QString & text) override;
|
||||
void highlightBlock(const QString& text) override;
|
||||
|
||||
private:
|
||||
PythonSyntaxHighlighterP* d;
|
||||
};
|
||||
|
||||
} // namespace Gui
|
||||
} // namespace Gui
|
||||
|
||||
#endif // GUI_PYTHONEDITOR_H
|
||||
#endif // GUI_PYTHONEDITOR_H
|
||||
|
||||
Reference in New Issue
Block a user