Fixed "ft" in locate bar.

Fixed a bug in the tokenizer when switching stacked sub-syntaxes.
Fixed export languages.
This commit is contained in:
Martín Lucas Golini
2025-06-24 00:42:56 -03:00
parent 4fb1c61911
commit e230ecba0d
5 changed files with 21 additions and 8 deletions

View File

@@ -4112,6 +4112,9 @@ static void exportLanguages( const std::string& path, const std::string& langs,
SyntaxDefinitionManager::instance()->loadFromFolder( langsPath );
std::vector<SyntaxDefinition> defs;
for ( auto& preDef : sdm->getPreDefinitions() )
preDef.load();
if ( !langs.empty() ) {
if ( langs == "all" ) {
defs = sdm->getDefinitions();