MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / BlockFromBaseStyle

Method BlockFromBaseStyle

scintilla/lexlib/SubStyles.h:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 std::vector<WordClassifier> classifiers;
79
80 int BlockFromBaseStyle(int baseStyle) const {
81 for (int b=0; b < classifications; b++) {
82 if (baseStyle == baseStyles[b])
83 return b;
84 }
85 return -1;
86 }
87
88 int BlockFromStyle(int style) const {
89 int b = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected