Source Code (Use browser search to find items of interest.)
Class Index
kdevelop'HlCHex (./kdevelop/kdevelop/kwrite/highlight.h:136)
class HlCHex : public HlItemWw {
public:
HlCHex(int attribute, int context);
virtual const QChar *checkHgl(const QChar *);
};
kdevelop'HlCHex::HlCHex() (./kdevelop/kdevelop/kwrite/highlight.cpp:384)
HlCHex::HlCHex(int attribute, int context)
: HlItemWw(attribute,context) {
}
kdevelop'HlCHex::checkHgl() (./kdevelop/kdevelop/kwrite/highlight.cpp:388)
const QChar *HlCHex::checkHgl(const QChar *str) {
const QChar *s;
if (str[0] == '0' && (str[1] == 'x' || str[1] == 'X')) {
str += 2;
s = str;
while ((*s >= '0' && *s <= '9') || (*s >= 'A' && *s <= 'F') || (*s >= 'a' && *s <= 'f')) s++;
if (s > str) {
if (*s == 'L' || *s == 'l' || *s == 'U' || *s == 'u') s++;
return s;
}
}
return 0L;
}