Source Code (Use browser search to find items of interest.)
Class Index
kdevelop'HlCChar (./kdevelop/kdevelop/kwrite/highlight.h:161)
class HlCChar : public HlItemWw {
public:
HlCChar(int attribute, int context);
virtual const QChar *checkHgl(const QChar *);
};
kdevelop'HlCChar::HlCChar() (./kdevelop/kdevelop/kwrite/highlight.cpp:498)
HlCChar::HlCChar(int attribute, int context)
: HlItemWw(attribute,context) {
}
kdevelop'HlCChar::checkHgl() (./kdevelop/kdevelop/kwrite/highlight.cpp:502)
const QChar *HlCChar::checkHgl(const QChar *str) {
const QChar *s;
if (str[0] == '\'' && str[1] != '\0' && str[1] != '\'') {
s = checkEscapedChar(&str[1]); //try to match escaped char
if (!s) s = &str[2]; //match single non-escaped char
if (*s == '\'') return s + 1;
}
return 0L;
}