@elextr It does say that it uses Scintilla as the core text editing component, when I first browsed the code it looks like mainly lua, looking closer I see some calls that create a Scintilla document. See textadept.c line no. 1355.
/**
* Creates a new Scintilla document and adds it to the Lua state.
* Generates 'buffer_before_switch' and 'buffer_new' events.
* @param doc Almost always zero, except for the first Scintilla view created,
* in which its doc pointer would be given here since it already has a
* pre-created buffer.
* @see lL_adddoc
*/
static void new_buffer(sptr_t doc) {
if (!doc) {
doc = SS(focused_view, SCI_CREATEDOCUMENT, 0, 0); // create the new document
lL_event(lua, "buffer_before_switch", -1);
lL_adddoc(lua, doc);
lL_gotodoc(lua, focused_view, -1, FALSE);
} else lL_adddoc(lua, doc), SS(focused_view, SCI_ADDREFDOCUMENT, 0, doc);
#if GTK
...
https://foicica.com/textadept/TECHNOLOGY.html
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.