MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / getLanguages

Method getLanguages

src/NotepadNextApplication.cpp:261–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261QStringList NotepadNextApplication::getLanguages() const
262{
263 return getLuaState()->executeAndReturn<QStringList>(
264 R"(
265 local names = {}
266 for k in pairs(languages) do table.insert(names, k) end
267 table.sort(names, function (a, b) return string.lower(a) < string.lower(b) end)
268 return names
269 )");
270}
271
272void NotepadNextApplication::setEditorLanguage(ScintillaNext *editor, const QString &languageName) const
273{

Callers 1

setupLanguageMenuMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected