33 static const char oName[] =
"Words of Christ in Red";
34 static const char oTip[] =
"Toggles Red Coloring for Words of Christ On and Off if they are marked";
38 static const StringList oVals(&choices[0], &choices[2]);
60 const char *from = orig.
c_str();
63 const char* start = 0;
66 for (text =
""; *from; from++) {
72 else if (*from ==
'>') {
75 if ((token[0] ==
'q') && (token[1] ==
' ')) {
76 start = strstr(token.
c_str(),
" who=\"Jesus\"");
77 if (start && (strlen(start) >= 12)) {
#define SWORD_NAMESPACE_START
unsigned long length() const
virtual ~OSISRedLetterWords()
static const StringList * oValues()
const char * c_str() const
std::list< SWBuf > StringList
SWBuf & append(const char *str, long max=-1)
static const char oName[]
virtual char processText(SWBuf &text, const SWKey *key=0, const SWModule *module=0)
static const char * choices[4]
#define SWORD_NAMESPACE_END