-void Text::setCursor(CursorSlice & cur, pit_type par, pos_type pos)
-{
- LASSERT(par != int(paragraphs().size()), /**/);
- cur.pit() = par;
- cur.pos() = pos;
-
- // now some strict checking
- Paragraph & para = getPar(par);
-
- // None of these should happen, but we're scaredy-cats
- if (pos < 0) {
- lyxerr << "don't like -1" << endl;
- LASSERT(false, /**/);
- }
-
- if (pos > para.size()) {
- lyxerr << "don't like 1, pos: " << pos
- << " size: " << para.size()
- << " par: " << par << endl;
- LASSERT(false, /**/);
- }
-}
-
-
-void Text::setCursorIntern(Cursor & cur,
- pit_type par, pos_type pos, bool setfont, bool boundary)
+void Text::setCursorIntern(Cursor & cur, pit_type pit, pos_type pos,
+ bool setfont, bool boundary)