using lyx::pos_type;
using lyx::word_location;
+using std::endl;
+
bool transposeChars(LyXCursor const & cursor)
{
while (pos &&
(pit->isSeparator(pos - 1) ||
- pit->isKomma(pos - 1) ||
- pit->isNewline(pos - 1)) &&
+ pit->isKomma(pos - 1) ||
+ pit->isNewline(pos - 1)) &&
!(pit->isHfill(pos - 1) ||
pit->isInset(pos - 1)))
--pos;
cursorLeftOneWord(from, pars);
break;
case lyx::NEXT_WORD:
- lyxerr << "LyXText::getWord: NEXT_WORD not implemented yet\n";
+ lyxerr << "LyXText::getWord: NEXT_WORD not implemented yet"
+ << endl;
break;
case lyx::PARTIAL_WORD:
break;