X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView.h;h=da216279640438be70b5b936bf50500bac7b70cb;hb=52e5755c84ceb65d935764da467c7b948672e77e;hp=2368a1d16901fc66eb3f6600b93e8eac02fefdbd;hpb=e0d54dd3b497b78094ea16ab0f38ccdc8c1642e2;p=lyx.git diff --git a/src/BufferView.h b/src/BufferView.h index 2368a1d169..da21627964 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -72,7 +72,7 @@ struct ScrollbarParameters * 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 @@ -93,9 +93,6 @@ public: /// 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. @@ -146,8 +143,8 @@ public: /// 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); @@ -245,7 +242,7 @@ public: std::string data)> updateDialog; /// This signal is emitted when the layout at the cursor is changed. - boost::signal layoutChanged; + boost::signal layoutChanged; private: ///