This is how the code is elsewhere. Do you use tab size == 4 ?

Yes, 4 spaces, so the formatting below is right? As for me it is hard to separate condition from following statements.

    if (!current_view_
        || (!lyxrc.open_buffers_in_tabs
        && current_view_->documentBufferView() != 0
        && !is_open)) {
        // We want the ui session to be saved per document and not per
        // window number. The filename crc is a good enough identifier.
        createView(support::checksum(fname));
        current_view_->openDocument(fname);



Well, I had to add fix for any_cast.

Thanks for fixing.

Yuriy

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to