Procedure TParagraph.AddFlagAttr(A:Integer; B:Integer; Flag:Cardinal)

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Parameters

  • A:Integer
  • B:Integer
  • Flag:Cardinal

Description

Assigns "cafs" flags to the given part of the paragraph. [a..b-1] cafsHyphen = $01000000; - assigned by reader or Ctrl+minus, break here cafsWasChecked = $02000000; - used by spellcheck routine - don't check again cafsMisSpelled = $04000000; - used by spellcheck routine - red line cafsMisSpelled2 = $08000000; - used by spellcheck routine - green line cafsInsertedText = $10000000; cafsDeletedText = $20000000; cafsWordHighlight = $40000000; - highlighted by find routine cafsDelete = $80000000; - Text is marked for deletion