[sword-devel] I hardly sticked with a simple programming thing :-~

Victor Porton sword-devel@crosswire.org
Thu, 06 Jun 2002 15:45:49 +0600


I need to record the offsets of tokens from the beginning of an entry text 
(for in the future to retrieve the text fragments at these offsets). But there 
is a problem.

virtual bool SWBasicFilter::handleToken (char **buf, const char *token, 
DualStringMap &userData);

This method does not have an argument providing me with the offset of the 
token from the beginning of the text :-(

What to do?! It seems to be the need for a backward incompatible change of 
this function to receive the offset :-~

Any ideas?
-- 
Victor Porton (porton@narod.ru)