/** add cursor position to the fname entry in the filepos list
@param pos file name and position of the cursor when the BufferView is closed.
/** add cursor position to the fname entry in the filepos list
@param pos file name and position of the cursor when the BufferView is closed.
/// Return lastcommands container (vector)
LastCommands const getcommands() const { return lastcommands; }
/// Return lastcommands container (vector)
LastCommands const getcommands() const { return lastcommands; }