Diff of /lexers/LexECL.cxx [5a1754] .. [17badf]  Maximize  Restore

Switch to unified view

a/lexers/LexECL.cxx b/lexers/LexECL.cxx
...
...
45
#ifdef SCI_NAMESPACE
45
#ifdef SCI_NAMESPACE
46
using namespace Scintilla;
46
using namespace Scintilla;
47
#endif
47
#endif
48
48
49
static bool IsSpaceEquiv(int state) {
49
static bool IsSpaceEquiv(int state) {
50
  return (state <= SCE_ECL_COMMENTDOC) ||
50
  switch (state) {
51
      // including SCE_ECL_DEFAULT, SCE_ECL_COMMENT, SCE_ECL_COMMENTLINE
51
  case SCE_ECL_DEFAULT:
52
      (state == SCE_ECL_COMMENTLINEDOC) || (state == SCE_ECL_COMMENTDOCKEYWORD) ||
52
  case SCE_ECL_COMMENT:
53
  case SCE_ECL_COMMENTLINE:
54
  case SCE_ECL_COMMENTLINEDOC:
55
  case SCE_ECL_COMMENTDOCKEYWORD:
53
      (state == SCE_ECL_COMMENTDOCKEYWORDERROR);
56
    case SCE_ECL_COMMENTDOCKEYWORDERROR:
57
  case SCE_ECL_COMMENTDOC:
58
      return true;
59
60
  default:
61
      return false;
62
  }
54
}
63
}
55
64
56
static void ColouriseEclDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[],
65
static void ColouriseEclDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[],
57
                            Accessor &styler) {
66
                            Accessor &styler) {
58
    WordList &keywords0 = *keywordlists[0];
67
    WordList &keywords0 = *keywordlists[0];

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks