_ADD LINES TO BOTTOM OF DOCUMENT - Cursor at Bottom_ For example: ```lua local function GetEmptyLines(sLE, iLE) local sR = "" for i = 1, iLE do sR = sR .. sLE end return sR end
local aEOL = {"\r\n", "\r", "\n"} local iEOL = geany.scintilla("SCI_GETEOLMODE") local sAdd = GetEmptyLines(aEOL[iEOL + 1], 25)
local sTxt = geany.text() geany.text(sTxt .. sAdd) geany.select(geany.length()) ```