예제 #1
0
 public RawView(Inspector2 oOwner)
 {
     string str;
     this.InitializeComponent();
     this.txtRaw.Font = new Font("Lucida Console", CONFIG.flFontSize);
     this.m_owner = oOwner;
     RawView rawView = this;
     if (this.m_owner is IRequestInspector2)
     {
         str = "fiddler.inspectors.request.raw.";
     }
     else
     {
         str = "fiddler.inspectors.response.raw.";
     }
     rawView.sPrefKey = str;
     this.SetWordWrapState(FiddlerApplication.Prefs.GetBoolPref(string.Concat(this.sPrefKey, "wordwrap"), false));
     this.txtRaw.BackColor = CONFIG.colorDisabledEdit;
     Utilities.SetCueText(this.txtSearchFor, " Find... (press Ctrl+Enter to highlight all)");
 }