--- gigedit/trunk/src/gigedit/scripteditor.h 2016/05/01 14:51:55 2896 +++ gigedit/trunk/src/gigedit/scripteditor.h 2016/05/01 21:17:42 2898 @@ -54,7 +54,6 @@ Glib::RefPtr m_preprocTag; Glib::RefPtr m_errorTag; Glib::RefPtr m_warningTag; - Glib::RefPtr m_readOnlyTag; Gtk::TextView m_textView; Gtk::Button m_applyButton; Gtk::Button m_cancelButton; @@ -65,8 +64,7 @@ std::vector m_issues; #endif - bool m_ignoreEraseEvents; - + bool isModified() const; void onButtonCancel(); void onButtonApply(); void onWindowHide(); @@ -74,11 +72,13 @@ void onTextErased(const Gtk::TextBuffer::iterator& itStart, const Gtk::TextBuffer::iterator& itEnd); void onModifiedChanged(); #if USE_LS_SCRIPTVM - void removeIssueAnchors(); void updateSyntaxHighlightingByVM(); void updateParserIssuesByVM(); LinuxSampler::ScriptVM* GetScriptVM(); + void updateIssueTooltip(GdkEventMotion* e); #endif + bool on_motion_notify_event(GdkEventMotion* e); + bool onWindowDelete(GdkEventAny* e); }; #endif // GIGEDIT_SCRIPTEDITOR_H