[sword-devel] VerseKey::Chapter and VerseKey::Book

Troy A. Griffitts sword-devel@crosswire.org
Tue, 17 Jul 2001 17:35:41 -0700

	We had a discussion about this in bt-devel and we decided that this was
the appropriate behavior!  This is why it was added! :)  I've included
the previous method below.  There were so many people that agreed that
this was the logical default behavior that we included it in the libs
some time ago.

	I understand that you expect the frontend to do this, but if this is
what most all clients will do, then this should probably be the default
behavior.  That was my thinking for changing the libs, anyway.  Let me
know what you think.



Date: Sat, 30 Dec 2000 01:34:55 +0100
From: Joachim Ansorg <jansorg@gmx.de>
Subject: Re: [bt-devel] Usage question


Thanks to all who suggested things!
I implemented te way Troy suggested, and I hope it's correct.

Please test it.

- --Joachim

> Joachim,
>       We also had this question with the windows frontend.  What we do is
> this.
>       If verse is requested changed
>               change verse
>       If chapter is requested changed
>               change verse to 1
>               change chapter
>       if book is requested changed
>               change verse to 1
>               change chapter to 1
>               change book
> Maybe it's not what your users will want but it has stopped the
> complaining on the windows side.
>               -Troy.