+
+ /// are we busy ?
+ bool busy() const;
+
+
+ /// \name Generic accessor functions
+ //@{
+ /// The current BufferView refers to the BufferView that has the focus,
+ /// including for example the one that is created when you use the
+ /// advanced search and replace pane.
+ /// \return the currently selected buffer view.
+ BufferView * currentBufferView();
+ BufferView const * currentBufferView() const;
+
+ /// The document BufferView always refers to the view's main document
+ /// BufferView. So, even if the BufferView in e.g., the advanced
+ /// search and replace pane has the focus.
+ /// \return the current document buffer view.
+ BufferView * documentBufferView();
+ BufferView const * documentBufferView() const;
+
+ void newDocument(std::string const & filename,
+ bool fromTemplate);
+
+ /// display a message in the view
+ /// could be called from any thread
+ void message(docstring const &);
+
+ bool getStatus(FuncRequest const & cmd, FuncStatus & flag);
+ /// dispatch command.
+ /// \return true if the \c FuncRequest has been dispatched.
+ void dispatch(FuncRequest const & cmd, DispatchResult & dr);
+
+ void restartCursor();
+ /// Update the completion popup and the inline completion state.
+ /// If \c start is true, then a new completion might be started.
+ /// If \c keep is true, an active completion will be kept active
+ /// even though the cursor moved. The update flags of \c cur might
+ /// be changed.
+ void updateCompletion(Cursor & cur, bool start, bool keep);
+
+ ///