mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Change tracking:
src/paragraph.h: src/paragraph_pimpl.C: src/paragraph_pimpl.h: src/paragraph.C: remove setChangeType(...) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15372 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b55f70432c
commit
8f426399d8
@ -1440,12 +1440,6 @@ void Paragraph::setChange(Change const & change)
|
||||
}
|
||||
|
||||
|
||||
void Paragraph::setChangeType(lyx::pos_type pos, Change::Type type)
|
||||
{
|
||||
pimpl_->setChangeType(pos, type);
|
||||
}
|
||||
|
||||
|
||||
void Paragraph::setChange(lyx::pos_type pos, Change const & change)
|
||||
{
|
||||
pimpl_->setChange(pos, change);
|
||||
|
@ -205,9 +205,6 @@ public:
|
||||
return lookupChange(pos).type == Change::DELETED;
|
||||
}
|
||||
|
||||
/// set change type at given pos
|
||||
void setChangeType(lyx::pos_type pos, Change::Type type);
|
||||
|
||||
/// set change for the entire par
|
||||
void setChange(Change const & change);
|
||||
|
||||
|
@ -116,15 +116,6 @@ void Paragraph::Pimpl::setChange(Change const & change)
|
||||
}
|
||||
|
||||
|
||||
void Paragraph::Pimpl::setChangeType(pos_type pos, Change::Type type)
|
||||
{
|
||||
if (!tracking())
|
||||
return;
|
||||
|
||||
changes_->set(type, pos);
|
||||
}
|
||||
|
||||
|
||||
void Paragraph::Pimpl::setChange(pos_type pos, Change const & change)
|
||||
{
|
||||
if (!tracking())
|
||||
|
@ -44,8 +44,6 @@ public:
|
||||
bool isChanged(lyx::pos_type start, lyx::pos_type end) const;
|
||||
/// set change for the entire par
|
||||
void setChange(Change const & change);
|
||||
/// set change type at given pos
|
||||
void setChangeType(lyx::pos_type pos, Change::Type type);
|
||||
/// set change at given pos
|
||||
void setChange(lyx::pos_type pos, Change const & change);
|
||||
/// accept change
|
||||
|
Loading…
Reference in New Issue
Block a user