int closes[MAXOPENED];
int actualdeptindex;
int ignoreIntervalls[2*MAXOPENED][2];
- int previousNotIgnored(int);
+ // int previousNotIgnored(int);
int nextNotIgnored(int);
void handleOpenP(int i);
void handleCloseP(int i, bool closingAllowed);
closes[1] = -1;
}
+#if 0
int Intervall::previousNotIgnored(int start)
{
int idx = 0; /* int intervalls */
}
return start;
}
+#endif
int Intervall::nextNotIgnored(int start)
{
void LatexInfo::buildKeys()
{
+ static bool keysBuilt = false;
+
+ if (keysBuilt) return;
KeyInfo foreign = KeyInfo(KeyInfo::isMain, 2);
KeyInfo standard = KeyInfo(KeyInfo::isStandard,1);
KeyInfo regex = KeyInfo(KeyInfo::isRegex, 1);
makeKey("footnote", leadremove);
makeKey("code", leadremove);
makeKey("lyx", ignoreMe);
+ keysBuilt = true;
}
/*