64    void resizeEvent( QResizeEvent *event ) 
override;
 
   65    void showEvent( QShowEvent *event ) 
override;
 
   66    bool eventFilter( QObject *obj, QEvent *event ) 
override;
 
   76    bool isSearchBarVisible() 
const;
 
   97    void addWarning( 
int lineNumber, 
const QString &warning );
 
  107    void clearWarnings();
 
  123    bool save( 
const QString &path = QString() );
 
  133    void showSearchBar();
 
  141    void hideSearchBar();
 
  150    void setSearchBarVisible( 
bool visible );
 
  157    void setReplaceBarVisible( 
bool visible );
 
  175    bool loadFile( 
const QString &path );
 
  184    void setFilePath( 
const QString &path );
 
  199    bool openInExternalEditor( 
int line = -1, 
int column = -1 );
 
  208    bool shareOnGist( 
bool isPublic );
 
  235    void textSearchChanged( 
const QString &text );
 
  238    void replaceSelection();
 
  242    void clearSearchHighlights();
 
  243    void addSearchHighlights();
 
  244    int searchFlags() 
const;
 
  245    bool findText( 
bool forward, 
bool findFirst );
 
  246    void updateHighlightController();
 
  247    void searchMatchCountChanged( 
int matchCount );
 
  249    enum HighlightCategory
 
  256    QWidget *mFindWidget = 
nullptr;
 
  259    QToolButton *mFindPrevButton = 
nullptr;
 
  260    QToolButton *mFindNextButton = 
nullptr;
 
  261    QToolButton *mCaseSensitiveButton = 
nullptr;
 
  262    QToolButton *mWholeWordButton = 
nullptr;
 
  263    QToolButton *mRegexButton = 
nullptr;
 
  264    QToolButton *mWrapAroundButton = 
nullptr;
 
  265    QToolButton *mShowReplaceBarButton = 
nullptr;
 
  266    QToolButton *mReplaceButton = 
nullptr;
 
  267    QToolButton *mReplaceAllButton = 
nullptr;
 
  268    int mBlockSearching = 0;
 
  270    std::unique_ptr<QgsScrollBarHighlightController> mHighlightController;
 
  272    QDateTime mLastModified;