Can't this be done with a simple filter, i.e. always change the '-' to one
kind regardless of the length. And when the user input comes in, do the
same.
Chris
On 2 March 2013 02:36, Nic Carter <niccarter at mac.com> wrote:
>> Do you have a proposed solution to this, David?
>> I know that on my iPhone it is very simple to use a proper ndash & so I
> will always use the correct type of dash according to what I am writing.
> (same with on a Mac!)
> However, the more significant issue is simply that people don't know there
> is a difference (or why they are different lengths, etc)... ;)
>> On 25/02/2013, at 2:48 AM, David Haslam <dfhmch at googlemail.com> wrote:
>> > In the KJV module, if you want to search for [say] the hyphenated name
> > "Maher–shalal–hash–baz", you first have to be aware that this module uses
> > the ndash in place of the hyphen.
> >
> > btw. It's not so easy to enter the ndash from a keyboard, and probably
> even
> > harder in an Android tablet or mobile.
> >
> > If you use ordinary hyphen/minus for the search key hyphen for this
> module,
> > you don't find anything with "Exact phrase".
> > If you use "Multi-word", you do find "Maher" highlighted in the found
> verse.
> > (e.g. using Xiphos).
> >
> > For modules in general, however, the user cannot usually know in advance
> > whether hyphenated words use the ndash, the hyphen or something else.
> >
> > Has anyone else looked into this aspect of the search feature?
> >
> > David
> >
> >
> >
> >
> >
> > --
> > View this message in context:
>http://sword-dev.350566.n4.nabble.com/Searching-for-hyphenated-words-tp4652016.html> > Sent from the SWORD Dev mailing list archive at Nabble.com.
> >
> > _______________________________________________
> > sword-devel mailing list: sword-devel at crosswire.org> > http://www.crosswire.org/mailman/listinfo/sword-devel> > Instructions to unsubscribe/change your settings at above page
>>> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org>http://www.crosswire.org/mailman/listinfo/sword-devel> Instructions to unsubscribe/change your settings at above page
>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20130302/189732c2/attachment.html>