Le 15 août 2020 18:21:18 GMT+02:00, Richard Kimberly Heck <rikih...@lyx.org> a écrit : >On 8/14/20 4:02 PM, Stephan Witt wrote: >> Hi all, >> >> to implement the correct and Mac conforming solution for navigation >through the LyX document with keyboard I need to go forward and >backward. Sounds simple and I want to use the DocIterator for that. >Nevertheless I missed two methods to use DocIterators for backward >iteration. First I’d like to have the opposite test to atEnd() - name >it atBegin() to stop the loop at beginning. Second there is the >possibility to go forward and skip closed or readonly text insets. But >the symmetric method for backward traversal isn’t there. >> >> I’ve attached a patch to implement these methods. Did I overlook >something and if not is it the right thing? I found it useful and >working and like to add it. Any objections? > >No, but I'm not terribly familiar with this code. > >Riki > > >-- >lyx-devel mailing list >lyx-devel@lists.lyx.org >http://lists.lyx.org/mailman/listinfo/lyx-devel
I cannot look at the patch but the principle is fine. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel