mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
InsetIndex: add a few comments.
This commit is contained in:
parent
758792f6d6
commit
b5418f0d29
@ -1241,6 +1241,7 @@ struct IndexEntry
|
||||
{
|
||||
IndexEntry() = default;
|
||||
|
||||
/// Builds an entry for the index with the given LaTeX index entry `s` and a pointer to the index inset `d`.
|
||||
IndexEntry(docstring const & s, DocIterator const & d, bool for_output = false)
|
||||
: dit_(d)
|
||||
{
|
||||
@ -1250,6 +1251,7 @@ struct IndexEntry
|
||||
parseItem(subsub_, for_output);
|
||||
}
|
||||
|
||||
/// Comparison between two entries only based on their LaTeX representation.
|
||||
bool equal(IndexEntry const & rhs) const
|
||||
{
|
||||
return main_ == rhs.main_ && sub_ == rhs.sub_ && subsub_ == rhs.subsub_;
|
||||
|
Loading…
Reference in New Issue
Block a user