[jsword-svn] bibledesktop/java/main/org/crosswire/bibledesktop/book s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Thu Mar 24 21:02:51 MST 2005


Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book
In directory www.crosswire.org:/tmp/cvs-serv17152/java/main/org/crosswire/bibledesktop/book

Modified Files:
	DisplaySelectPane.java 
Log Message:
Added a marginally workable solution for match.

Index: DisplaySelectPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/DisplaySelectPane.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** DisplaySelectPane.java	22 Mar 2005 12:39:56 -0000	1.27
--- DisplaySelectPane.java	25 Mar 2005 04:02:49 -0000	1.28
***************
*** 294,301 ****
              if (key instanceof PassageTally)
              {
!                 PassageTally tally = (PassageTally) key;
!                 tally.setOrdering(PassageTally.ORDER_TALLY);
!                 // TODO: Make the number of ranges in a tally be an option.
!                 tally.trimRanges(20, RestrictionType.NONE);
              }
  
--- 294,310 ----
              if (key instanceof PassageTally)
              {
!                 if (chkMatch.isSelected())
!                 {
!                     PassageTally tally = (PassageTally) key;
!                     tally.setOrdering(PassageTally.ORDER_TALLY);
!                     // TODO: Make the number of ranges in a tally be an option.
!                     tally.trimRanges(20, RestrictionType.NONE);
!                 }
!                 else
!                 {
!                     // If match is not selected then show the entire result
!                     Key newKey = book.createEmptyKeyList();
!                     newKey.addAll(key);
!                 }
              }
  



More information about the jsword-svn mailing list