* is a sliding window of the entire document rendering.
* It is the official interface between the LyX core and
* the frontend WorkArea.
- *
+ *
* \sa WorkArea
* \sa Buffer
* \sa CoordCache
/// resize the BufferView.
void resize();
- /// load a buffer into the view.
- bool loadLyXFile(support::FileName const & name, bool tolastfiles = true);
-
/// perform pending metrics updates.
/** \c Update::FitCursor means first to do a FitCursor, and to
* force an update if screen position changes.
/// return the pixel height of the document view.
int workHeight() const;
- /// switch between primary and secondary keymaps for RTL entry.
- void switchKeyMap();
+ /// translate and insert a character, using the correct keymap.
+ void translateAndInsert(char_type c, Text * t, Cursor & cur);
/// return true for events that will handle.
FuncStatus getStatus(FuncRequest const & cmd);
std::string data)> updateDialog;
/// This signal is emitted when the layout at the cursor is changed.
- boost::signal<void(std::string layout)> layoutChanged;
+ boost::signal<void(docstring layout)> layoutChanged;
private:
///