* remove debug output

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23149 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-02-23 03:13:54 +00:00
parent 37b79f1039
commit f2837e7bcb

View File

@ -2204,24 +2204,24 @@ void BufferView::setInlineCompletion(Cursor & cur, DocIterator const & pos,
d->inlineCompletion = completion;
d->inlineCompletionUniqueChars = min(completion.size(), uniqueChars);
lyxerr << "setInlineCompletion pos=" << pos << " completion=" << completion << " uniqueChars=" << uniqueChars << std::endl;
//lyxerr << "setInlineCompletion pos=" << pos << " completion=" << completion << " uniqueChars=" << uniqueChars << std::endl;
// at new position?
DocIterator const & old = d->inlineCompletionPos;
if (old != pos) {
lyxerr << "inlineCompletionPos changed" << std::endl;
//lyxerr << "inlineCompletionPos changed" << std::endl;
// old or pos are in another paragraph?
if ((!samePar(cur, pos) && !pos.empty())
|| (!samePar(cur, old) && !old.empty())) {
singlePar = false;
lyxerr << "different paragraph" << std::endl;
//lyxerr << "different paragraph" << std::endl;
}
d->inlineCompletionPos = pos;
}
// set update flags
if (changed) {
lyxerr << "inlineCompletion changed" << std::endl;
//lyxerr << "inlineCompletion changed" << std::endl;
Update::flags flags
= cur.disp_.update() | Update::Force;