mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
063fdd118b
* rowpainter.C::paintPar(): don't calculate row signature here. Use ParagraphMetrics::rowChangeStatus() instead. * RowList_fwd.h: RowSignature is now a vector. * ParagraphMetrics - rowChangeStatus(), updateRowChangeStatus(), calculateRowSignature(): new methods. - row_signature_: new member - rowSignature_: renamed to row_signature_ * TextMetrics::redoParagraph(): call ParagraphMetrics::updateRowChangeStatus() * BufferView::updateMetrics(): simplify the singlePar case. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16543 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
635 B
C++
36 lines
635 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file RowList_fwd.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Angus Leeming
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef ROW_LIST_FWD_H
|
|
#define ROW_LIST_FWD_H
|
|
|
|
#include "lyxrow.h"
|
|
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
|
|
namespace lyx {
|
|
|
|
/**
|
|
* Each paragraph is broken up into a number of rows on the screen.
|
|
* This is a list of such on-screen rows, ordered from the top row
|
|
* downwards.
|
|
*/
|
|
typedef std::vector<Row> RowList;
|
|
///
|
|
typedef std::vector<size_type> RowSignature;
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
#endif
|