- protected slots:
- virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
- virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end);
+ //! If true, the marker line will be set automatically on buffer switch
+ /** \return Whether the marker line should be set on buffer switch
+ */
+ virtual inline bool autoMarkerLine() const { return true; }
+
+protected slots:
+ void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) override;
+ void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end) override;