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

Class Index

kdevelop'HlCPrep (./kdevelop/kdevelop/kwrite/highlight.h:167)

class HlCPrep : public HlItem {
  public:
    HlCPrep(int attribute, int context);
    virtual bool startEnable(QChar c) {return c == '\0';}
    virtual const QChar *checkHgl(const QChar *);
};


kdevelop'HlCPrep::HlCPrep() (./kdevelop/kdevelop/kwrite/highlight.cpp:513)

HlCPrep::HlCPrep(int attribute, int context)
  : HlItem(attribute,context) {
}


kdevelop'HlCPrep::checkHgl() (./kdevelop/kdevelop/kwrite/highlight.cpp:517)

const QChar *HlCPrep::checkHgl(const QChar *s) {

  while (*s == ' ' || *s == '\t') s++;
  if (*s == '#') {
    s++;
    return s;
  }
  return 0L;
}