//}
-// x,y are screen coordinates
-// sets cursor only within this LyXText
-bool LyXText::setCursorFromCoordinates(LCursor & cur, int const x, int const y)
+void LyXText::setCursorFromCoordinates(LCursor & cur, int const x, int const y)
{
BOOST_ASSERT(this == cur.text());
pit_type pit = getPitNearY(cur.bv(), y);
<< " pos: " << pos
<< endl;
- return setCursor(cur, pit, pos, true, bound);
+ setCursor(cur, pit, pos, true, bound);
+ return;
}