]> git.lyx.org Git - lyx.git/commitdiff
Put comment where it belongs
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 4 Sep 2023 09:07:34 +0000 (11:07 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 4 Sep 2023 09:07:34 +0000 (11:07 +0200)
src/BufferView.cpp

index 4531bda31b120ca760c851df576917304de7fa86..879beb0087271df2a706862db09356cc7b2c0e40 100644 (file)
@@ -283,11 +283,11 @@ struct BufferView::Private
        ///
        map<string, Inset *> edited_insets_;
 
        ///
        map<string, Inset *> edited_insets_;
 
-       /// When the row where the cursor lies is scrolled, this
-       /// contains the scroll offset
        // cache for id of the paragraph which was edited the last time
        int bookmark_edit_position_;
 
        // cache for id of the paragraph which was edited the last time
        int bookmark_edit_position_;
 
+       /// When the row where the cursor lies is scrolled, this
+       /// contains the scroll offset
        int horiz_scroll_offset_;
        /// a slice pointing to the start of the row where the cursor
        /// is (at last draw time)
        int horiz_scroll_offset_;
        /// a slice pointing to the start of the row where the cursor
        /// is (at last draw time)