mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
Always use std::endl with lyxerr.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7480 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
195c4e14c3
commit
ffe20e2e9c
@ -188,10 +188,10 @@ bool BufferView::Pimpl::loadLyXFile(string const & filename, bool tolastfiles)
|
||||
// get absolute path of file and add ".lyx" to the filename if
|
||||
// necessary
|
||||
string s = FileSearch(string(), filename, "lyx");
|
||||
|
||||
|
||||
bool const found = !s.empty();
|
||||
|
||||
if (!found)
|
||||
if (!found)
|
||||
s = filename;
|
||||
|
||||
// file already open?
|
||||
@ -404,14 +404,14 @@ int BufferView::Pimpl::resizeCurrentBuffer()
|
||||
bv_->text->fullRebreak();
|
||||
update();
|
||||
} else {
|
||||
lyxerr << "text not available!\n";
|
||||
lyxerr << "text not available!" << endl;
|
||||
// See if we have a text in TextCache that fits
|
||||
// the new buffer_ with the correct width.
|
||||
bv_->text = textcache.findFit(buffer_, workarea().workWidth());
|
||||
if (bv_->text) {
|
||||
lyxerr << "text in cache!\n";
|
||||
lyxerr << "text in cache!" << endl;
|
||||
if (lyxerr.debugging()) {
|
||||
lyxerr << "Found a LyXText that fits:\n";
|
||||
lyxerr << "Found a LyXText that fits:" << endl;
|
||||
textcache.show(lyxerr, make_pair(buffer_, make_pair(workarea().workWidth(), bv_->text)));
|
||||
}
|
||||
// Set the owner of the newly found text
|
||||
@ -421,7 +421,7 @@ int BufferView::Pimpl::resizeCurrentBuffer()
|
||||
|
||||
resizeInsets(bv_);
|
||||
} else {
|
||||
lyxerr << "no text in cache!\n";
|
||||
lyxerr << "no text in cache!" << endl;
|
||||
bv_->text = new LyXText(bv_);
|
||||
resizeInsets(bv_);
|
||||
bv_->text->init(bv_);
|
||||
@ -639,7 +639,7 @@ void BufferView::Pimpl::workAreaResize()
|
||||
|
||||
void BufferView::Pimpl::update()
|
||||
{
|
||||
lyxerr << "BufferView::update()\n";
|
||||
lyxerr << "BufferView::update()" << endl;
|
||||
screen().redraw(*bv_);
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* BufferView_pimpl.C: _Always_ use std::endl with lyxerr
|
||||
|
||||
2003-08-01 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
@ -60,10 +63,10 @@
|
||||
* factory.C: submenu for Note/Comment/Greyedout
|
||||
|
||||
2003-07-29 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
|
||||
* lyx_main.C (LyX):
|
||||
* BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
|
||||
|
||||
|
||||
2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* LaTeXFeatures.C:
|
||||
|
Loading…
Reference in New Issue
Block a user