mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
implement isChar() in header like all other insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35368 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2f1ac0b4fd
commit
c4d00e85eb
@ -333,12 +333,6 @@ void InsetSpecialChar::validate(LaTeXFeatures & features) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool InsetSpecialChar::isChar() const
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool InsetSpecialChar::isLetter() const
|
bool InsetSpecialChar::isLetter() const
|
||||||
{
|
{
|
||||||
return kind_ == HYPHENATION || kind_ == LIGATURE_BREAK;
|
return kind_ == HYPHENATION || kind_ == LIGATURE_BREAK;
|
||||||
|
@ -76,7 +76,7 @@ public:
|
|||||||
void validate(LaTeXFeatures &) const;
|
void validate(LaTeXFeatures &) const;
|
||||||
|
|
||||||
// should this inset be handled like a normal charater
|
// should this inset be handled like a normal charater
|
||||||
bool isChar() const;
|
bool isChar() const { return true; }
|
||||||
/// is this equivalent to a letter?
|
/// is this equivalent to a letter?
|
||||||
bool isLetter() const;
|
bool isLetter() const;
|
||||||
// should we break lines after this inset?
|
// should we break lines after this inset?
|
||||||
|
Loading…
Reference in New Issue
Block a user