Abdelrazak Younes schrieb:
Richard Heck wrote:
Index: Paragraph.h
===================================================================
--- Paragraph.h    (revision 18413)
+++ Paragraph.h    (working copy)
@@ -359,9 +359,11 @@
     ///
     bool hfillExpansion(Row const & row, pos_type pos) const;
- /// Check if we are in a Biblio environment.
-    /// \retval true if the cursor needs to be moved right.
-    bool checkBiblio(bool track_changes);
+    /// Check if we are in a Biblio environment and insert or
+    /// delete InsetBibitems as necessary.
+    /// \retval int 1 to move cursor right; -1 to move it left;
+    /// 0 to leave it where it is.
+    int checkBiblio(bool track_changes);

In general enums are more explicative:

enum CursorMove {
    NoMove,
    MoveRight,
    MoveLeft
}


I did not take a closer look at the code, but shouldn't it be forward and backward instead of right and left?

Bernhard

Reply via email to