Source Code (Use browser search to find items of interest.)
Class Index
kdevelop'Hl2CharDetect (./kdevelop/kdevelop/kwrite/highlight.h:65)
class Hl2CharDetect : public HlItem {
public:
Hl2CharDetect(int attribute, int context, QChar ch1, QChar ch2);
virtual const QChar *checkHgl(const QChar *);
protected:
QChar sChar1;
QChar sChar2;
};
kdevelop'Hl2CharDetect::Hl2CharDetect() (./kdevelop/kdevelop/kwrite/highlight.cpp:205)
Hl2CharDetect::Hl2CharDetect(int attribute, int context, QChar ch1, QChar ch2)
: HlItem(attribute,context) {
sChar1 = ch1;
sChar2 = ch2;
}
kdevelop'Hl2CharDetect::checkHgl() (./kdevelop/kdevelop/kwrite/highlight.cpp:211)
const QChar *Hl2CharDetect::checkHgl(const QChar *str) {
if (str[0] == sChar1 && str[1] == sChar2) return str + 2;
return 0L;
}