mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
* getPos(): add const attribute to BufferView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15804 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
60cf37471d
commit
f31ea3e157
@ -202,7 +202,7 @@ Point coordOffset(BufferView const & bv, DocIterator const & dit,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Point getPos(BufferView & bv, DocIterator const & dit, bool boundary)
|
Point getPos(BufferView const & bv, DocIterator const & dit, bool boundary)
|
||||||
{
|
{
|
||||||
CursorSlice const & bot = dit.bottom();
|
CursorSlice const & bot = dit.bottom();
|
||||||
CoordCache::ParPosCache::const_iterator cache_it =
|
CoordCache::ParPosCache::const_iterator cache_it =
|
||||||
|
@ -38,7 +38,7 @@ bool string2font(std::string const & data, LyXFont & font, bool & toggle);
|
|||||||
*/
|
*/
|
||||||
std::string const freefont2string();
|
std::string const freefont2string();
|
||||||
|
|
||||||
Point getPos(BufferView & bv, DocIterator const & dit, bool boundary);
|
Point getPos(BufferView const & bv, DocIterator const & dit, bool boundary);
|
||||||
|
|
||||||
enum CurStatus {
|
enum CurStatus {
|
||||||
CUR_INSIDE,
|
CUR_INSIDE,
|
||||||
|
Loading…
Reference in New Issue
Block a user