A Bufprop record contains file buffer properties. It is returned by GetBufProps. The Bufprop record has the following fields:
Field |
Description |
Name |
The buffer name (i.e. file name) |
fNew |
True if buffer is a new, unsaved buffer. |
fDirty |
True if the buffer has been edited since it was saved or opened. |
fReadOnly |
True if the buffer is read-only. |
fClip |
True if the buffer is a clip that appears in the Clip Window. |
fMacro |
True if the buffer is a macro file. |
fRunningMacro |
True if the buffer is a currently running macro file. |
fCaptureResults |
True if the buffer contains captured custom command output. |
fSearchResults |
True if the buffer contains search results. |
fProtected |
True if the buffer protected and reserved for internal use. |
lnCount |
The line count of the buffer. |
Language |
The programming language of the buffer. The language is determined by the file's document type. |
DocumentType |
The document type of the buffer. |