class Point;
class Text;
class TextMetrics;
-class ViewMetricsInfo;
enum CursorStatus {
CUR_INSIDE,
void putSelectionAt(DocIterator const & cur,
int length, bool backwards);
- /// return the internal \c ViewMetricsInfo.
- /// This is used specifically by the \c Workrea.
- /// \sa WorkArea
- /// \sa ViewMetricsInfo
- ViewMetricsInfo const & viewMetricsInfo();
/// update the internal \c ViewMetricsInfo.
void updateMetrics();
/// This signal is emitted when some dialog needs to be shown with
/// some data.
- void showDialogWithData(std::string const & name, std::string const & data);
-
- /// This signal is emitted when some inset dialogs needs to be shown.
- void showInsetDialog(std::string const & name, std::string const & data,
- Inset * inset);
+ void showDialog(std::string const & name, std::string const & data,
+ Inset * inset = 0);
/// This signal is emitted when some dialogs needs to be updated.
void updateDialog(std::string const & name, std::string const & data);
/// Update current paragraph metrics.
/// \return true if no further update is needed.
bool singleParUpdate();
- ///
- bool multiParSel();
/// Search recursively for the the innermost inset that covers (x, y) position.
/// \retval 0 if no inset is found.