Lines Matching refs:lineFoldStateCurrent

363 static unsigned int GetFoldInPreprocessorLevelFlag(int lineFoldStateCurrent) {  in GetFoldInPreprocessorLevelFlag()  argument
364 return lineFoldStateCurrent & stateFoldInPreprocessorLevelMask; in GetFoldInPreprocessorLevelFlag()
367 static void SetFoldInPreprocessorLevelFlag(int &lineFoldStateCurrent, unsigned int nestLevel) { in SetFoldInPreprocessorLevelFlag() argument
368 lineFoldStateCurrent &= ~stateFoldInPreprocessorLevelMask; in SetFoldInPreprocessorLevelFlag()
369 lineFoldStateCurrent |= nestLevel & stateFoldInPreprocessorLevelMask; in SetFoldInPreprocessorLevelFlag()
372 static void ClassifyPascalPreprocessorFoldPoint(int &levelCurrent, int &lineFoldStateCurrent, in ClassifyPascalPreprocessorFoldPoint() argument
379 unsigned int nestLevel = GetFoldInPreprocessorLevelFlag(lineFoldStateCurrent); in ClassifyPascalPreprocessorFoldPoint()
387 SetFoldInPreprocessorLevelFlag(lineFoldStateCurrent, nestLevel); in ClassifyPascalPreprocessorFoldPoint()
388 lineFoldStateCurrent |= stateFoldInPreprocessor; in ClassifyPascalPreprocessorFoldPoint()
394 SetFoldInPreprocessorLevelFlag(lineFoldStateCurrent, nestLevel); in ClassifyPascalPreprocessorFoldPoint()
396 lineFoldStateCurrent &= ~stateFoldInPreprocessor; in ClassifyPascalPreprocessorFoldPoint()
418 static void ClassifyPascalWordFoldPoint(int &levelCurrent, int &lineFoldStateCurrent, in ClassifyPascalWordFoldPoint() argument
425 lineFoldStateCurrent |= stateFoldInRecord; in ClassifyPascalWordFoldPoint()
430 (strcmp(s, "case") == 0 && !(lineFoldStateCurrent & stateFoldInRecord))) { in ClassifyPascalWordFoldPoint()
490 lineFoldStateCurrent &= ~stateFoldInRecord; in ClassifyPascalWordFoldPoint()
508 …int lineFoldStateCurrent = lineCurrent > 0 ? styler.GetLineState(lineCurrent - 1) & stateFoldMaskA… in FoldPascalDoc() local
543 ClassifyPascalPreprocessorFoldPoint(levelCurrent, lineFoldStateCurrent, i + 2, styler); in FoldPascalDoc()
546 ClassifyPascalPreprocessorFoldPoint(levelCurrent, lineFoldStateCurrent, i + 3, styler); in FoldPascalDoc()
555 if (stylePrev == SCE_PAS_WORD && !(lineFoldStateCurrent & stateFoldInPreprocessor)) { in FoldPascalDoc()
557 …ClassifyPascalWordFoldPoint(levelCurrent, lineFoldStateCurrent, startPos, endPos, lastStart, i, st… in FoldPascalDoc()
573 int newLineState = (styler.GetLineState(lineCurrent) & ~stateFoldMaskAll) | lineFoldStateCurrent; in FoldPascalDoc()