mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
FindAdv: Handle neg-spaces like normal space if searching without format
This commit is contained in:
parent
8de81e8dc1
commit
07cacef398
@ -773,7 +773,12 @@ int InsetSpace::plaintext(odocstringstream & os,
|
|||||||
case InsetSpaceParams::NEGTHIN:
|
case InsetSpaceParams::NEGTHIN:
|
||||||
case InsetSpaceParams::NEGMEDIUM:
|
case InsetSpaceParams::NEGMEDIUM:
|
||||||
case InsetSpaceParams::NEGTHICK:
|
case InsetSpaceParams::NEGTHICK:
|
||||||
return 0;
|
if (rp.find_effective()) {
|
||||||
|
os << ' ';
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
return 0;
|
||||||
default:
|
default:
|
||||||
os << ' ';
|
os << ' ';
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -136,7 +136,7 @@ public:
|
|||||||
///
|
///
|
||||||
void validate(LaTeXFeatures & features) const override;
|
void validate(LaTeXFeatures & features) const override;
|
||||||
///
|
///
|
||||||
bool findUsesToString() const override { return true; }
|
bool findUsesToString() const override { return false; }
|
||||||
///
|
///
|
||||||
void toString(odocstream &) const override;
|
void toString(odocstream &) const override;
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user