I'm not sure I understand how Scintilla follows the "inefficient but easy" tradition
Easy to implement:
see how little code is needed to use Scintilla
https://sourceforge.net/p/scintilla/feature-requests/1331/#392c/280c
Inefficient if you count the time spent chasing subtle bugs inside character-counting loops, or the "inextricable suite of if / elseif / goto code" https://sourceforge.net/p/scintilla/feature-requests/1074