/[svn]/gigedit/trunk/src/gigedit/scripteditor.h
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/scripteditor.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2893 by schoenebeck, Fri Apr 29 14:19:53 2016 UTC revision 2896 by schoenebeck, Sun May 1 14:51:55 2016 UTC
# Line 22  Line 22 
22  #endif  #endif
23    
24  #if USE_LS_SCRIPTVM  #if USE_LS_SCRIPTVM
25  namespace LinuxSampler {  # include <linuxsampler/scriptvm/ScriptVM.h>
26      class ScriptVM;  # include <linuxsampler/scriptvm/ScriptVMFactory.h>
 }  
27  #endif  #endif
28    
29  class ScriptEditor : public ManagedWindow {  class ScriptEditor : public ManagedWindow {
# Line 55  protected: Line 54  protected:
54      Glib::RefPtr<Gtk::TextBuffer::Tag> m_preprocTag;      Glib::RefPtr<Gtk::TextBuffer::Tag> m_preprocTag;
55      Glib::RefPtr<Gtk::TextBuffer::Tag> m_errorTag;      Glib::RefPtr<Gtk::TextBuffer::Tag> m_errorTag;
56      Glib::RefPtr<Gtk::TextBuffer::Tag> m_warningTag;      Glib::RefPtr<Gtk::TextBuffer::Tag> m_warningTag;
57        Glib::RefPtr<Gtk::TextBuffer::Tag> m_readOnlyTag;
58      Gtk::TextView m_textView;      Gtk::TextView m_textView;
59      Gtk::Button m_applyButton;      Gtk::Button m_applyButton;
60      Gtk::Button m_cancelButton;      Gtk::Button m_cancelButton;
# Line 62  protected: Line 62  protected:
62      gig::Script* m_script;      gig::Script* m_script;
63  #if USE_LS_SCRIPTVM  #if USE_LS_SCRIPTVM
64      LinuxSampler::ScriptVM* m_vm;      LinuxSampler::ScriptVM* m_vm;
65        std::vector<LinuxSampler::ParserIssue> m_issues;
66  #endif  #endif
67    
68        bool m_ignoreEraseEvents;
69    
70      void onButtonCancel();      void onButtonCancel();
71      void onButtonApply();      void onButtonApply();
72      void onWindowHide();      void onWindowHide();
# Line 71  protected: Line 74  protected:
74      void onTextErased(const Gtk::TextBuffer::iterator& itStart, const Gtk::TextBuffer::iterator& itEnd);      void onTextErased(const Gtk::TextBuffer::iterator& itStart, const Gtk::TextBuffer::iterator& itEnd);
75      void onModifiedChanged();      void onModifiedChanged();
76  #if USE_LS_SCRIPTVM  #if USE_LS_SCRIPTVM
77        void removeIssueAnchors();
78      void updateSyntaxHighlightingByVM();      void updateSyntaxHighlightingByVM();
79      void updateParserIssuesByVM();      void updateParserIssuesByVM();
80      LinuxSampler::ScriptVM* GetScriptVM();      LinuxSampler::ScriptVM* GetScriptVM();

Legend:
Removed from v.2893  
changed lines
  Added in v.2896

  ViewVC Help
Powered by ViewVC