Исправление подсветки
This commit is contained in:
parent
2dd866d8c4
commit
ef4a636623
|
@ -108,13 +108,14 @@ namespace eval Highlight {} {
|
||||||
ctext::addHighlightClassForRegexp $txt namespaces #4f64ff {::}
|
ctext::addHighlightClassForRegexp $txt namespaces #4f64ff {::}
|
||||||
}
|
}
|
||||||
proc MD {txt} {
|
proc MD {txt} {
|
||||||
|
ctext::addHighlightClassForRegexp $txt comments #666666 {^\s+?(#|//).*$}
|
||||||
ctext::addHighlightClassForRegexp $txt lists #4471ca {(\*|-|\+)+}
|
ctext::addHighlightClassForRegexp $txt lists #4471ca {(\*|-|\+)+}
|
||||||
ctext::addHighlightClassForSpecialChars $txt brackets green {[]{}()}
|
ctext::addHighlightClassForSpecialChars $txt brackets green {[]{}()}
|
||||||
ctext::addHighlightClassForRegexp $txt url #19a2a6 {(http|http|ftp|ssh)(://)(\w|\.|-)+?}
|
ctext::addHighlightClassForRegexp $txt url #19a2a6 {(http|https|ftp|ssh)(://)(\w|\.|-|/)+?}
|
||||||
ctext::addHighlightClassForRegexp $txt email #467a7b {(\w|\.|-)+?(@)(\w|\.|-)+?($|\s)}
|
ctext::addHighlightClassForRegexp $txt email #467a7b {(\w|\.|-)+?(@)(\w|\.|-)+?($|\s)}
|
||||||
ctext::addHighlightClassForRegexp $txt qoute #b84a0c {("|'|`).*?("|'|`)}
|
ctext::addHighlightClassForRegexp $txt qoute #b84a0c {("|'|`).*?("|'|`)}
|
||||||
ctext::addHighlightClassForRegexp $txt sharp #975db4 {(#+?)\s(.*?)$}
|
ctext::addHighlightClassForRegexp $txt sharp #975db4 {^(#+?)\s(.*?)$}
|
||||||
ctext::addHighlightClassForRegexp $txt quotedtext #a9b36c {^(\s*?)(>+).+?$}
|
ctext::addHighlightClassForRegexp $txt quotedtext #a9b36c {^(\s*?)(>+).+?$}
|
||||||
ctext::addHighlightClassForRegexp $txt italictext #dff74e {((_|\*)+?)(.+?)((_|\*)+?)}
|
ctext::addHighlightClassForRegexp $txt italictext #dff74e {((_|\*)+?)(\w+?)((_|\*)+?)}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ dict set lexers YML varRegexpCommandMultiline {regexp -all -line -- {^(\s*)(set_
|
||||||
# MD (markdown)
|
# MD (markdown)
|
||||||
dict set lexers MD tabSize 2
|
dict set lexers MD tabSize 2
|
||||||
dict set lexers MD procFindString {(#+?)\s*?PROCNAME}
|
dict set lexers MD procFindString {(#+?)\s*?PROCNAME}
|
||||||
dict set lexers MD procRegexpCommand {regexp -nocase -all -- {^\s*?(#+?)\s(.+?)$} $line match keyWord procName}
|
dict set lexers MD procRegexpCommand {regexp -nocase -all -- {^(#+?)\s(.+?)$} $line match keyWord procName}
|
||||||
# dict set lexers YML varRegexpCommandMultiline {regexp -all -line -- {^(\s*)(set_fact|vars):$} $line match indent keyWord}
|
# dict set lexers YML varRegexpCommandMultiline {regexp -all -line -- {^(\s*)(set_fact|vars):$} $line match indent keyWord}
|
||||||
|
|
||||||
# -------------------------------------------------
|
# -------------------------------------------------
|
||||||
|
|
|
@ -10,7 +10,7 @@ exec wish "$0" -- "$@"
|
||||||
######################################################
|
######################################################
|
||||||
# Version: 2.0.0
|
# Version: 2.0.0
|
||||||
# Release: alpha
|
# Release: alpha
|
||||||
# Build: 25112022110647
|
# Build: 25112022123908
|
||||||
######################################################
|
######################################################
|
||||||
|
|
||||||
# определим текущую версию, релиз и т.д.
|
# определим текущую версию, релиз и т.д.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user