Lines Matching refs:lineFoldStateCurrent
366 static unsigned int GetFoldInPreprocessorLevelFlag(int lineFoldStateCurrent) { in GetFoldInPreprocessorLevelFlag() argument
367 return lineFoldStateCurrent & stateFoldInPreprocessorLevelMask; in GetFoldInPreprocessorLevelFlag()
370 static void SetFoldInPreprocessorLevelFlag(int &lineFoldStateCurrent, unsigned int nestLevel) { in SetFoldInPreprocessorLevelFlag() argument
371 lineFoldStateCurrent &= ~stateFoldInPreprocessorLevelMask; in SetFoldInPreprocessorLevelFlag()
372 lineFoldStateCurrent |= nestLevel & stateFoldInPreprocessorLevelMask; in SetFoldInPreprocessorLevelFlag()
375 static void ClassifyPascalPreprocessorFoldPoint(int &levelCurrent, int &lineFoldStateCurrent, in ClassifyPascalPreprocessorFoldPoint() argument
382 unsigned int nestLevel = GetFoldInPreprocessorLevelFlag(lineFoldStateCurrent); in ClassifyPascalPreprocessorFoldPoint()
390 SetFoldInPreprocessorLevelFlag(lineFoldStateCurrent, nestLevel); in ClassifyPascalPreprocessorFoldPoint()
391 lineFoldStateCurrent |= stateFoldInPreprocessor; in ClassifyPascalPreprocessorFoldPoint()
397 SetFoldInPreprocessorLevelFlag(lineFoldStateCurrent, nestLevel); in ClassifyPascalPreprocessorFoldPoint()
399 lineFoldStateCurrent &= ~stateFoldInPreprocessor; in ClassifyPascalPreprocessorFoldPoint()
421 static void ClassifyPascalWordFoldPoint(int &levelCurrent, int &lineFoldStateCurrent, in ClassifyPascalWordFoldPoint() argument
428 lineFoldStateCurrent |= stateFoldInRecord; in ClassifyPascalWordFoldPoint()
433 (strcmp(s, "case") == 0 && !(lineFoldStateCurrent & stateFoldInRecord))) { in ClassifyPascalWordFoldPoint()
511 lineFoldStateCurrent &= ~stateFoldInRecord; in ClassifyPascalWordFoldPoint()
529 …int lineFoldStateCurrent = lineCurrent > 0 ? styler.GetLineState(lineCurrent - 1) & stateFoldMaskA… in FoldPascalDoc() local
564 ClassifyPascalPreprocessorFoldPoint(levelCurrent, lineFoldStateCurrent, i + 2, styler); in FoldPascalDoc()
567 ClassifyPascalPreprocessorFoldPoint(levelCurrent, lineFoldStateCurrent, i + 3, styler); in FoldPascalDoc()
576 if (stylePrev == SCE_PAS_WORD && !(lineFoldStateCurrent & stateFoldInPreprocessor)) { in FoldPascalDoc()
578 …ClassifyPascalWordFoldPoint(levelCurrent, lineFoldStateCurrent, startPos, endPos, lastStart, i, st… in FoldPascalDoc()
594 int newLineState = (styler.GetLineState(lineCurrent) & ~stateFoldMaskAll) | lineFoldStateCurrent; in FoldPascalDoc()