ze
Loading...
Searching...
No Matches
Files | Functions
Collaboration diagram for Status bar:

Files

file  status.c
 Status bar message helpers.
 

Functions

void editorSetStatusMessage (const char *fmt,...)
 Set the transient status message using printf-style formatting.
 
void scmEditorSetStatusMessage (SCM message)
 Set the status message from a Scheme string.
 

Detailed Description

Function Documentation

◆ editorSetStatusMessage()

void editorSetStatusMessage ( const char *  fmt,
  ... 
)

Set the transient status message using printf-style formatting.

Formats into E.statusmsg and records the current time for display in the message bar.

Parameters
[in]fmtprintf-style format string.
[in]...Format arguments.
Postcondition
Status message and timestamp are updated.
See also
editorDrawMessageBar()

◆ scmEditorSetStatusMessage()

void scmEditorSetStatusMessage ( SCM  message)

Set the status message from a Scheme string.

Converts message to a C string, copies into E.statusmsg (clamped to buffer size), and updates the timestamp.

Ownership: the temporary C string is freed before return; message remains owned by Guile.

Parameters
[in]messageScheme string to display.
Postcondition
Status message and timestamp are updated.
See also
editorSetStatusMessage()