Немного почистил. Добавлен поиск переменных по питоньим исходникам (lexer)

This commit is contained in:
svkalinin
2022-12-15 11:59:05 +03:00
parent 6f85de472a
commit d215c1ca25
3 changed files with 62 additions and 56 deletions

View File

@@ -30,6 +30,7 @@ dict set lexers SH procRegexpCommand {regexp -nocase -all -- {^\s*?(function |)\
dict set lexers PY commentSymbol {#}
dict set lexers PY procFindString {(def )\s*?PROCNAME}
dict set lexers PY procRegexpCommand {regexp -nocase -all -- {^\s*?(def)\s*?(.*?)\((.*?)\):} $line match keyWord procName params}
dict set lexers PY varRegexpCommand {regexp -nocase -all -line -- {^\s*?(\w+)\s*=\s*(.+)($)} $line match varName varValue lineEnd}
#--------------------------------------------------
# Ruby