Lines Matching refs:lineFoldStateCurrent

364 static unsigned int GetFoldInPreprocessorLevelFlag(int lineFoldStateCurrent) {  in GetFoldInPreprocessorLevelFlag()  argument
365 return lineFoldStateCurrent & stateFoldInPreprocessorLevelMask; in GetFoldInPreprocessorLevelFlag()
368 static void SetFoldInPreprocessorLevelFlag(int &lineFoldStateCurrent, unsigned int nestLevel) { in SetFoldInPreprocessorLevelFlag() argument
369 lineFoldStateCurrent &= ~stateFoldInPreprocessorLevelMask; in SetFoldInPreprocessorLevelFlag()
370 lineFoldStateCurrent |= nestLevel & stateFoldInPreprocessorLevelMask; in SetFoldInPreprocessorLevelFlag()
373 static void ClassifyPascalPreprocessorFoldPoint(int &levelCurrent, int &lineFoldStateCurrent, in ClassifyPascalPreprocessorFoldPoint() argument
380 unsigned int nestLevel = GetFoldInPreprocessorLevelFlag(lineFoldStateCurrent); in ClassifyPascalPreprocessorFoldPoint()
388 SetFoldInPreprocessorLevelFlag(lineFoldStateCurrent, nestLevel); in ClassifyPascalPreprocessorFoldPoint()
389 lineFoldStateCurrent |= stateFoldInPreprocessor; in ClassifyPascalPreprocessorFoldPoint()
395 SetFoldInPreprocessorLevelFlag(lineFoldStateCurrent, nestLevel); in ClassifyPascalPreprocessorFoldPoint()
397 lineFoldStateCurrent &= ~stateFoldInPreprocessor; in ClassifyPascalPreprocessorFoldPoint()
419 static void ClassifyPascalWordFoldPoint(int &levelCurrent, int &lineFoldStateCurrent, in ClassifyPascalWordFoldPoint() argument
426 lineFoldStateCurrent |= stateFoldInRecord; in ClassifyPascalWordFoldPoint()
431 (strcmp(s, "case") == 0 && !(lineFoldStateCurrent & stateFoldInRecord))) { in ClassifyPascalWordFoldPoint()
509 lineFoldStateCurrent &= ~stateFoldInRecord; in ClassifyPascalWordFoldPoint()
527 …int lineFoldStateCurrent = lineCurrent > 0 ? styler.GetLineState(lineCurrent - 1) & stateFoldMaskA… in FoldPascalDoc() local
562 ClassifyPascalPreprocessorFoldPoint(levelCurrent, lineFoldStateCurrent, i + 2, styler); in FoldPascalDoc()
565 ClassifyPascalPreprocessorFoldPoint(levelCurrent, lineFoldStateCurrent, i + 3, styler); in FoldPascalDoc()
574 if (stylePrev == SCE_PAS_WORD && !(lineFoldStateCurrent & stateFoldInPreprocessor)) { in FoldPascalDoc()
576 …ClassifyPascalWordFoldPoint(levelCurrent, lineFoldStateCurrent, startPos, endPos, lastStart, i, st… in FoldPascalDoc()
592 int newLineState = (styler.GetLineState(lineCurrent) & ~stateFoldMaskAll) | lineFoldStateCurrent; in FoldPascalDoc()