+ bool insertCompletion(Cursor & cur, docstring const & s, bool finished);
+ ///
+ void completionPosAndDim(Cursor const &, int & x, int & y, Dimension & dim) const;
+ /// returns the text to be used as tooltip
+ /// \param prefix: a string that will preced the tooltip,
+ /// e.g., "Index: ".
+ /// \param len: length of the resulting string
+ /// NOTE This routine is kind of slow. It's fine to use it within the
+ /// GUI, but definitely do not try to use it in updateBuffer or anything
+ /// of that sort. (Note: unnecessary internal copies have been removed
+ /// since the previous note. The efficiency would have to be assessed
+ /// again by profiling.)
+ docstring toolTipText(docstring prefix = empty_docstring(),
+ size_t len = 400) const;