Scinterm API Documentation

A curses platform for Scintilla that supports curses platforms like ncurses.

Functions defined by Scinterm

SCI_COLOR_PAIR(f, b)

[Macro] Returns the curses COLOR_PAIR for the given curses foreground and background COLORs. This is used simply to enumerate every possible color combination.

Parameters:

Return:

scintilla_delete(sci)

Deletes the given Scintilla window.

Parameters:

Return:

scintilla_get_clipboard(sci, len)

Returns a null-terminated copy of the text on Scintilla’s internal clipboard (not the primary and/or secondary X selections) and stores its length in len. The caller is responsible for freeing the returned text. Keep in mind clipboard text may contain null bytes.

Parameters:

Return:

scintilla_get_window(sci)

Returns the curses WINDOW associated with the given Scintilla window.

Parameters:

Return:

scintilla_new(callback, userdata)

Creates a new Scintilla curses window.

Parameters:

Return:

scintilla_noutrefresh(sci)

Refreshes the Scintilla window on the virtual screen. This should be done along with the normal curses noutrefresh().

Parameters:

scintilla_refresh(sci)

Refreshes the Scintilla window on the physical screen. This should be done along with the normal curses refresh().

Parameters:

Return:

scintilla_send_key(sci, key, shift, ctrl, alt)

Sends the specified key to the given Scintilla window for processing. If it is not consumed, an SCNotification will be emitted.

Parameters:

Return:

scintilla_send_message(sci, iMessage, wParam, lParam)

Sends the given message with parameters to the given Scintilla window.

Parameters:

Return:

scintilla_send_mouse(sci, event, time, button, y, x, shift, ctrl, alt)

Sends the specified mouse event to the given Scintilla window for processing.

Parameters:

Return: