mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
A new button has been added to the "Execute SQL" toolbar for invoking the new Un/Comment Block feature. See issue #1614
30 lines
479 B
C++
30 lines
479 B
C++
#ifndef SQLTEXTEDIT_H
|
|
#define SQLTEXTEDIT_H
|
|
|
|
#include "ExtendedScintilla.h"
|
|
|
|
class FindReplaceDialog;
|
|
class SqlUiLexer;
|
|
|
|
/**
|
|
* @brief The SqlTextEdit class
|
|
* This class is based on the QScintilla widget
|
|
*/
|
|
class SqlTextEdit : public ExtendedScintilla
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SqlTextEdit(QWidget *parent = nullptr);
|
|
~SqlTextEdit() override;
|
|
|
|
static SqlUiLexer* sqlLexer;
|
|
|
|
public slots:
|
|
void reloadSettings();
|
|
void toggleBlockComment();
|
|
|
|
};
|
|
|
|
#endif
|