GetBufSelText (hbuf)

Returns the selected characters in the file buffer hbuf as a string. A maximum of one line of text is returned. This is useful for getting the text of a word selection. A macro error is generated if the given file buffer is not already displayed in a source file window.