Thank you for this fix. I tried to think of cases where expanding before
highlighting could cause problems and couldn't, so I've committed it to
CVS. It should get a bit of testing before the next (unstable) release
at the beginning of next year, in any case.
Thanks for another contribution to Greenstone!
All the best,
jens wille wrote:
>i now modified highlightext.cpp to expand macros before highlighting
>(instead of skipping macro names/arguments) which seems to solve the
>described problem completely - yet still the question: might this
>expanding-before-highlighting cause any trouble?
>anyway, here's what i did (in the highlighttext function):
>// expand macros _before_ highlighting
>text_t exptext = "";
>+ substituted the two following occurences of 'text' with 'exptext'
>(hope this is proper c++ ;-)
>if there aren't any objections against doing this i consider it the
>final solution :-)
>greenstone-users mailing list