Neil:
1)
Things looked fine until I reached:
Document::charClassification Document::WordCharClass(unsigned char ch) {
if ((SC_CP_UTF8 == dbcsCodePage) && (ch >= 0x80))
return ccWord;
return charClass[ch];
}
I can leave this in Document, but it emphasises that the RESearch stuff
knows nothing about code pages and similar problems... I will leave all
knowledge of dbcsCodePage in Document for now.
2) Having moved enum charClassification into class charClassify, it is now a
very ugly:
charClassify::charClassification
when used in Document. Perhaps charClassify::Class would be less of a
mouthful, or you may have a preference.
I must admit to being tempted to abandon this and go back to the simplest
possible change, with everything back in RESearch as before, and just
changing ModifyWord().
Anyhow, I will press on and see what the end result looks like.
Greg
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest