Hi,
I am iterating through the text, and I need to detect if certain word has cafsMisSpelled attribute assigned to it.
How can I achieve this?
Thanks!!!
#1
♥ 0
Hi,
I am iterating through the text, and I need to detect if certain word has cafsMisSpelled attribute assigned to it.
How can I achieve this?
Thanks!!!
Hi,
each TParagraph has a CharAttr array. Thjis array are cardinals, the lower 3 bytes are used as index values for the attributes, the high byte is used for status bits, such as cafsMisSpelled with the value
cafsMisSpelled = $04000000;
You onyl need to test the value if the bit is set
if (val and flag)<>0 then ...
Julian