29 if (!(last_word_on_line_ ==
true && last_word_on_line ==
false)) {
30 if (hyphen_word_ !=
nullptr) {
32 hyphen_word_ =
nullptr;
33 hyphen_active_dawgs_.
clear();
37 tprintf(
"reset_hyphen_vars: last_word_on_line %d -> %d\n",
38 last_word_on_line_, last_word_on_line);
40 last_word_on_line_ = last_word_on_line;
47 if (hyphen_word_ ==
nullptr) {
56 hyphen_active_dawgs_ = active_dawgs;
59 hyphen_word_->
print(
"set_hyphen_word: ");
void reset_hyphen_vars(bool last_word_on_line)
const UNICHARSET * unicharset() const
void make_bad()
Set the fields in this choice to be default (bad) values.
void set_hyphen_word(const WERD_CHOICE &word, const DawgPositionVector &active_dawgs)
DLLSYM void tprintf(const char *format,...)
void remove_last_unichar_id()