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

Class Index

kdelibs'HlMHex (./kdelibs/kwrite/highlight.h:201)

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


//ada decimal

kdelibs'HlMHex::HlMHex() (./kdelibs/kwrite/highlight.cpp:590)

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


kdelibs'HlMHex::checkHgl() (./kdelibs/kwrite/highlight.cpp:594)

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

  if (*s >= '0' && *s <= '9') {
    s++;
    while ((*s >= '0' && *s <= '9') || (*s >= 'A' && *s <= 'F')) s++;
    if (*s == 'H') return s + 1;
  }
  return 0L;
}