Prev
|
Next
| Top >
Macro Language Guide
File Buffer Functions
File buffer functions are used to create and manipulate
file buffers and the text within them. A file buffer is the loaded
image of a text file. File buffers are edited by the user and then
saved back to disk with the Save command.
Many of the file buffer functions use buffer handles
(hbuf). These are handles to open file buffers. An hbuf is typically
a small integer value. An hbuf value of hNil (zero) indicates an error.
In this section:
AppendBufLine (hbuf, s)
ClearBuf (hbuf)
CloseBuf (hbuf)
CopyBufLine (hbuf, ln)
DelBufLine (hbuf, ln)
GetBufHandle (filename)
GetBufLine (hbuf, ln)
GetBufLineCount (hbuf)
GetBufLineLength (hbuf, ln)
GetBufLnCur (hbuf)
GetBufName (hbuf)
GetBufProps (hbuf)
GetBufSelText (hbuf)
GetCurrentBuf ()
InsBufLine (hbuf, ln, s)
IsBufDirty (hbuf)
IsBufRW (hbuf)
MakeBufClip (hbuf, fClip)
NewBuf (name)
OpenBuf (filename)
OpenMiscFile (filename)
PasteBufLine (hbuf, ln)
PrintBuf (hbuf, fUseDialogBox)
PutBufLine (hbuf, ln, s)
RenameBuf (hbuf, szNewName)
SaveBuf (hbuf)
SaveBufAs (hbuf, filename)
SetBufDirty (hbuf, fDirty)
SetBufIns (hbuf, ln, ich)
SetBufSelText (hbuf, s)
SetCurrentBuf (hbuf)
Prev
|
Next
| Top >
Macro Language Guide