forked from qt-creator/qt-creator
Disable bracket matching when automatic insertion is disabled
When automatic insertion of brackets is disabled in the completion settings, it is reasonable to expect the automatic matching of brackets is also disabled. Task-number: QTCREATORBUG-454 Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
@@ -59,6 +59,7 @@ class BaseTextDocument;
|
||||
class BaseTextEditorEditable;
|
||||
class FontSettings;
|
||||
struct BehaviorSettings;
|
||||
struct CompletionSettings;
|
||||
struct DisplaySettings;
|
||||
struct StorageSettings;
|
||||
struct TabSettings;
|
||||
@@ -160,13 +161,15 @@ public:
|
||||
void setParenthesesMatchingEnabled(bool b);
|
||||
bool isParenthesesMatchingEnabled() const;
|
||||
|
||||
void setAutoParenthesesEnabled(bool b);
|
||||
bool isAutoParenthesesEnabled() const;
|
||||
|
||||
void setHighlightCurrentLine(bool b);
|
||||
bool highlightCurrentLine() const;
|
||||
|
||||
void setLineNumbersVisible(bool b);
|
||||
bool lineNumbersVisible() const;
|
||||
|
||||
|
||||
void setMarksVisible(bool b);
|
||||
bool marksVisible() const;
|
||||
|
||||
@@ -363,6 +366,7 @@ public slots:
|
||||
virtual void setDisplaySettings(const TextEditor::DisplaySettings &);
|
||||
virtual void setBehaviorSettings(const TextEditor::BehaviorSettings &);
|
||||
virtual void setStorageSettings(const TextEditor::StorageSettings &);
|
||||
virtual void setCompletionSettings(const TextEditor::CompletionSettings &);
|
||||
|
||||
protected:
|
||||
bool viewportEvent(QEvent *event);
|
||||
|
||||
Reference in New Issue
Block a user