mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* paragraph.h:
* paragraph.C: code reformatting only git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15429 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
57494b23ba
commit
91e50210eb
@ -249,7 +249,7 @@ int Paragraph::erase(pos_type start, pos_type end, bool trackChanges)
|
||||
|
||||
|
||||
void Paragraph::insert(pos_type start, string const & str,
|
||||
LyXFont const & font, Change const & change)
|
||||
LyXFont const & font, Change const & change)
|
||||
{
|
||||
for (size_t i = 0, n = str.size(); i != n ; ++i)
|
||||
insertChar(start + i, str[i], font, change);
|
||||
@ -257,7 +257,7 @@ void Paragraph::insert(pos_type start, string const & str,
|
||||
|
||||
|
||||
void Paragraph::insertChar(pos_type pos, Paragraph::value_type c,
|
||||
bool trackChanges)
|
||||
bool trackChanges)
|
||||
{
|
||||
pimpl_->insertChar(pos, c, Change(trackChanges ?
|
||||
Change::INSERTED : Change::UNCHANGED));
|
||||
@ -265,7 +265,7 @@ void Paragraph::insertChar(pos_type pos, Paragraph::value_type c,
|
||||
|
||||
|
||||
void Paragraph::insertChar(pos_type pos, Paragraph::value_type c,
|
||||
LyXFont const & font, bool trackChanges)
|
||||
LyXFont const & font, bool trackChanges)
|
||||
{
|
||||
pimpl_->insertChar(pos, c, Change(trackChanges ?
|
||||
Change::INSERTED : Change::UNCHANGED));
|
||||
@ -281,14 +281,15 @@ void Paragraph::insertChar(pos_type pos, Paragraph::value_type c,
|
||||
}
|
||||
|
||||
|
||||
void Paragraph::insertInset(pos_type pos, InsetBase * inset, Change const & change)
|
||||
void Paragraph::insertInset(pos_type pos, InsetBase * inset,
|
||||
Change const & change)
|
||||
{
|
||||
pimpl_->insertInset(pos, inset, change);
|
||||
}
|
||||
|
||||
|
||||
void Paragraph::insertInset(pos_type pos, InsetBase * inset,
|
||||
LyXFont const & font, Change const & change)
|
||||
LyXFont const & font, Change const & change)
|
||||
{
|
||||
pimpl_->insertInset(pos, inset, change);
|
||||
setFont(pos, font);
|
||||
|
@ -300,10 +300,10 @@ public:
|
||||
LyXFont const &, Change const & change);
|
||||
///
|
||||
void insertInset(pos_type pos, InsetBase * inset,
|
||||
Change const & change);
|
||||
Change const & change);
|
||||
///
|
||||
void insertInset(pos_type pos, InsetBase * inset,
|
||||
LyXFont const &, Change const & change);
|
||||
LyXFont const &, Change const & change);
|
||||
///
|
||||
bool insetAllowed(InsetBase_code code);
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user