Source Code (Use browser search to find items of interest.)

Class Index

kdevelop'HlSatherIdent (./kdevelop/kdevelop/kwrite/highlight.h:236)

class HlSatherIdent : public HlItemWw {
  public:
    HlSatherIdent(int attribute, int context);
    virtual const QChar *checkHgl(const QChar *);
};


kdevelop'HlSatherIdent::HlSatherIdent() (./kdevelop/kdevelop/kwrite/highlight.cpp:679)

HlSatherIdent::HlSatherIdent(int attribute, int context)
  : HlItemWw(attribute,context) {
}


kdevelop'HlSatherIdent::checkHgl() (./kdevelop/kdevelop/kwrite/highlight.cpp:683)

const QChar *HlSatherIdent::checkHgl(const QChar *s) {
  if ((*s >= 'a' && *s <= 'z') || (*s >= 'A' && *s <= 'Z')) {
    s++;
    while ((*s >= 'a' && *s <= 'z')
           || (*s >= 'A' && *s <= 'Z')
           || (*s >= '0' && *s <= '9')
           || *s == '_') s++;
    if (*s == '!') s++;
    return s;
  }
  return 0L;
}