diff options
Diffstat (limited to 'dw/findtext.cc')
-rw-r--r-- | dw/findtext.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dw/findtext.cc b/dw/findtext.cc index 9793db91..e7cd3597 100644 --- a/dw/findtext.cc +++ b/dw/findtext.cc @@ -216,6 +216,10 @@ bool FindtextState::unhighlight () return false; } +/** \todo If this is made UTF8-aware one day, we might want to + * setlocale(LC_CTYPE, "") for the duration of the search. See the comment in + * main() for why we normally keep it set to "C". + */ bool FindtextState::search0 (bool backwards, bool firstTrial) { if (iterator->getChar () == CharIterator::END) |