scripting:api:text-document:protect-line

ProtectLine

Method of ITextDocument

Mark lines as protected

TextDocument.ProtectLine(nFirstLine, nCount, bVal);
TextDocument.ProtectLine nFirstLine, nCount, bVal
HRESULT hr = TextDocument.ProtectLine(nFirstLine, nCount, bVal);