diff options
Diffstat (limited to 'dw')
-rw-r--r-- | dw/findtext.hh | 4 | ||||
-rw-r--r-- | dw/iterator.hh | 6 | ||||
-rw-r--r-- | dw/layout.hh | 3 |
3 files changed, 7 insertions, 6 deletions
diff --git a/dw/findtext.hh b/dw/findtext.hh index 3a4ab2a7..8ef953e3 100644 --- a/dw/findtext.hh +++ b/dw/findtext.hh @@ -59,9 +59,9 @@ private: */ CharIterator *hlIterator; - static const char* rev(const char* _str); /* Function to reverse a C-string */ + static const char* rev(const char* _str); /* reverse a C string */ - static int *createNexttab (const char *needle, bool caseSens, bool backwards); + static int *createNexttab (const char *needle,bool caseSens,bool backwards); bool unhighlight (); bool search0 (bool backwards, bool firstTrial); diff --git a/dw/iterator.hh b/dw/iterator.hh index 1d4c2f98..f8fb4d31 100644 --- a/dw/iterator.hh +++ b/dw/iterator.hh @@ -66,9 +66,9 @@ public: * \brief Shrink highlighted region to no longer contain the * current content. * - * The direction parameter indicates whether the highlighted region should be - * reduced from the start (direction > 0) or from the end (direction < 0). - * If direction is 0 all content is unhighlighted. + * The direction parameter indicates whether the highlighted region should + * be reduced from the start (direction > 0) or from the end + * (direction < 0). If direction is 0 all content is unhighlighted. */ virtual void unhighlight (int direction, HighlightLayer layer) = 0; diff --git a/dw/layout.hh b/dw/layout.hh index a4214220..b910ac20 100644 --- a/dw/layout.hh +++ b/dw/layout.hh @@ -255,7 +255,8 @@ public: emitter.connectLayout (receiver); } /** \brief See dw::core::FindtextState::search. */ - inline FindtextState::Result search (const char *str, bool caseSens, int backwards) + inline FindtextState::Result search (const char *str, bool caseSens, + int backwards) { return findtextState.search (str, caseSens, backwards); } /** \brief See dw::core::FindtextState::resetSearch. */ |