aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEdit/ScintillaDocument.h
diff options
context:
space:
mode:
authorJustin Dailey <unknown>2017-07-18 17:48:36 +1000
committerJustin Dailey <unknown>2017-07-18 17:48:36 +1000
commit0fa7771be3ad0009ffa79ddc81ac9749c2f65db1 (patch)
tree8961b2f6d3132e3ba43d4a5f9e4fb082971cc06e /qt/ScintillaEdit/ScintillaDocument.h
parent0e237487cfb370b98dd4e4d170cd4a88aced140a (diff)
downloadscintilla-mirror-0fa7771be3ad0009ffa79ddc81ac9749c2f65db1.tar.gz
Backport: Bug [#1959]. Eliminate extra layer in signal emission for document.
Backport of changeset 6355:f8c75a2bda6d.
Diffstat (limited to 'qt/ScintillaEdit/ScintillaDocument.h')
-rw-r--r--qt/ScintillaEdit/ScintillaDocument.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/qt/ScintillaEdit/ScintillaDocument.h b/qt/ScintillaEdit/ScintillaDocument.h
index 510127f94..27d8d0e1d 100644
--- a/qt/ScintillaEdit/ScintillaDocument.h
+++ b/qt/ScintillaEdit/ScintillaDocument.h
@@ -80,26 +80,14 @@ public:
int get_character(int pos); // Calls GetCharacterAndWidth(pos, NULL)
-private:
- void emit_modify_attempt();
- void emit_save_point(bool atSavePoint);
- void emit_modified(int position, int modification_type, const QByteArray& text, int length,
- int linesAdded, int line, int foldLevelNow, int foldLevelPrev);
- void emit_style_needed(int pos);
- void emit_lexer_changed();
- void emit_error_occurred(int status);
-
signals:
void modify_attempt();
void save_point(bool atSavePoint);
- void modified(int position, int modification_type, const QByteArray& text, int length,
- int linesAdded, int line, int foldLevelNow, int foldLevelPrev);
+ void modified(int position, int modification_type, const QByteArray &text, int length,
+ int linesAdded, int line, int foldLevelNow, int foldLevelPrev);
void style_needed(int pos);
void lexer_changed();
void error_occurred(int status);
-
- friend class ::WatcherHelper;
-
};
#ifdef SCI_NAMESPACE