/// \return Tool tip for the given position.
docstring toolTip(int x, int y) const;
/// \return the context menu for the given position.
- Menu const & contextMenu(int x, int y) const;
+ docstring contextMenu(int x, int y) const;
/// Save the current position as bookmark.
/// if idx == 0, save to temp_bookmark
/// This method will automatically scroll and update the BufferView and updated
/// if needed.
void showCursor();
+ /// LFUN_SCROLL Helper.
+ void lfunScroll(FuncRequest const & cmd);
/// scroll down document by the given number of pixels.
void scrollDown(int pixels);
/// scroll up document by the given number of pixels.