diff --git a/lib/editor.tcl b/lib/editor.tcl index 84a60a0..b9fd8a7 100644 --- a/lib/editor.tcl +++ b/lib/editor.tcl @@ -543,8 +543,9 @@ namespace eval Editor { set line [$txt get $lineNumber.0 $lineNumber.end] if {[dict exists $lexers $fileType procRegexpCommand] != 0 } { if {[eval [dict get $lexers $fileType procRegexpCommand]]} { - puts [Tree::InsertItem $tree $treeItemName $procName "procedure" "$procName ($params)"] - lappend l [list $procName $params] + set procName_ [string trim $procName] + puts [Tree::InsertItem $tree $treeItemName $procName_ "procedure" "$procName_ ($params)"] + lappend l [list $procName_ $params] } } } diff --git a/lib/highlight.tcl b/lib/highlight.tcl index abb1a4e..52eec23 100644 --- a/lib/highlight.tcl +++ b/lib/highlight.tcl @@ -55,4 +55,17 @@ namespace eval Highlight {} { ctext::addHighlightClassForRegexp $txt comments #666666 {(#|//)[^\n\r]*} ctext::addHighlightClassForSpecialChars $txt qoute #b84a0c {"'`} } + + proc PY {txt} { + ctext::addHighlightClassForRegexp $txt flags orange {-+[a-zA-Z\-_]+} + ctext::addHighlightClass $txt stackControl #19a2a6 {if else for while case switch def import from return make break defer continue package len print with open} + ctext::addHighlightClass $txt types #7187d5 {string int int16 int32 int64 float bool byte} + ctext::addHighlightClassWithOnlyCharStart $txt vars #4471ca "\&" + ctext::addHighlightClassWithOnlyCharStart $txt vars #4471ca "\*" + # ctext::addHighlightClass $txt variable_funcs gold {var type struct} + ctext::addHighlightClassForSpecialChars $txt brackets green {[]{}()} + ctext::addHighlightClassForRegexp $txt paths lightblue {\.[a-zA-Z0-9\_\-]+} + ctext::addHighlightClassForRegexp $txt comments #666666 {(#|//)[^\n\r]*} + ctext::addHighlightClassForSpecialChars $txt qoute #b84a0c {"'`} + } } diff --git a/lib/image_library.tcl b/lib/image_library.tcl index 7badca4..ff04624 100644 --- a/lib/image_library.tcl +++ b/lib/image_library.tcl @@ -317,21 +317,7 @@ image create photo pixel -data { cEhZcwAALiMAAC4jAXilP3YAAAAHdElNRQfmCA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2yqOG5VFYg/AAAAAElFTkSuQmCC -} + image create photo html_10x20 -data { iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAYAAAC0VX7mAAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9 kT1Iw1AUhU9bpUVaHOwg4pChOlkpKuKoVShChVArtOpg8tI/aNKQpLg4Cq4FB38Wqw4uzro6uAqC @@ -362,22 +348,252 @@ image create photo htm_10x20 -data { AvqUUBuBXYAHzPvCzvlsBMYQ1P6CKTvnrZfsC2qU4V7DFruspvE1bHLx7mn9ZHHKHcj1n4vY6apy 4Gpj6onuSPUur00QGrL7t3eETeMf5+9jARg1VwGdzj5HHW6sd2btFQAAAABJRU5ErkJggg== } -image create photo json_10x20 -data { - iVBORw0KGgoAAAANSUhEUgAAAA0AAAAKCAYAAABv7tTEAAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9 - kT1Iw1AUhU9bpUVaHOwg4pChOlkpKuKoVShChVArtOpg8tI/aNKQpLg4Cq4FB38Wqw4uzro6uAqC - 4A+Io5OToouUeF9SaBHjhcf7OO+ew3v3Af5mlalmTwJQNcvIpJJCLr8qBF8Rgg8RJDAuMVOfE8U0 - POvrnnqp7uI8y7vvz4ooBZMBPoF4lumGRbxBPL1p6Zz3iaOsLCnE58RjBl2Q+JHrsstvnEsO+3lm - 1Mhm5omjxEKpi+UuZmVDJZ4ijimqRvn+nMsK5y3OarXO2vfkLwwXtJVlrtMaRgqLWIIIATLqqKAK - C3HaNVJMZOg86eEfcvwiuWRyVcDIsYAaVEiOH/wPfs/WLE5OuEnhJND7YtsfI0BwF2g1bPv72LZb - J0DgGbjSOv5aE5j5JL3R0WJHQP82cHHd0eQ94HIHGHzSJUNypAAtf7EIvJ/RN+WBgVugb82dW/sc - pw9AlmaVvgEODoHREmWve7w71D23f3va8/sBkKtys2tcKkcAAAAGYktHRAC8ALwAvCLnprkAAAAJ - cEhZcwAALiMAAC4jAXilP3YAAAAHdElNRQfmCAMIBRhOBIu7AAAAGXRF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AgelDYoePSgp0IE8SBeSqBQ8A9UEBGKFjRWaDcx2e6/8bCxJGIzMIeZ+d7HfN88 + GBDF8zfVuXhbB2HsoGFaOgCFgZB+AufCLU0On8AEDdTxIAkhTfseeOWKtpZfyN/aAMwvVKf9ibJK + HGFav5BOgHQ2kU4TCZv4R8s6v1Cd9o+f0dal+7hnZ3ZkCUBx6oZun5zEflsl80YxvzfRogfJNqJK + 5pYo/PxCsf6cYPYJEjSwG2vYz8sUvFOTmo4fQZIYidpImiBxCGmMicO8HwaYKERdn/TgBOqPoSP7 + 2fNpCZE7dVWvhEQhaiyQdZVpvl/vso4LaYz78gH3Ksdm5i7PPrJmq0Hqj6F2CER2OYxCluSur72n + XXsoc7WuifbrBzA2dzvLQP+TSQLWQaI2w68f91EbZ6WGBBsw7OXgXpIsy1HuXiQKcRfv0lx5Jb0E + AjBy+px2KlfI9o2DKXSlAFkK7SZ2fZXi0lNa9UX5V9xO4+q168+qb39MpaOH0CEHSVLM1nfs+keC + d29kt5/4B76/v5CyRGUnAAAAAElFTkSuQmCC } -image create photo sh_10x20 -data { +image create photo json_16x12 -data { + iVBORw0KGgoAAAANSUhEUgAAABAAAAAMCAYAAABr5z2BAAADeHpUWHRSYXcgcHJvZmlsZSB0eXBl + IGV4aWYAAHja1ZdtjuQoDIb/c4o9ArYBm+MQCNLeYI+/L4SkPqan1VNdvdIGFQGXMcaPTanc/s/f + 3f2Fh7J4F6Jayil5PCGHzAUD88ezzZ58mP2a+HPwIHe+ri8YIsFbjmnmJd8hx5jWPK9N6NS/DJ07 + FYzi7YtSlnx7lG/LINuzoeWB0LGzb2vBMiS8PArHvC6PUjZ9OFpbR4PiIbLbJ4hyiok0oA/sVVPG + 2NgHRTzbcLRXztNQPAJ6Cc75qcrwiXch8ehZ+PBSxoel4G3oWZKD4jEJEmefZ+A9UMIFeJrXRsVf + wbyPzS1Gv3m+cqyVJjMN3C0x1ugpP87seE4PLUtDDvnNULreD1hPOcUnuVzb84NHdqrw8cXdgvR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ICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAK + PD94cGFja2V0IGVuZD0idyI/PinPFKgAAAAGYktHRAC8ALwAvCLnprkAAAAJcEhZcwAALiMAAC4j + A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0 + aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJ + RD0ieG1wLmlpZDowZjI0NzU0My1mNmVmLTQyZDYtOGNkZS1hZGNmNjQ5MmFiNzIiCiAgICAgIHN0 + RXZ0OnNvZnR3YXJlQWdlbnQ9IkdpbXAgMi4xMCAoTGludXgpIgogICAgICBzdEV2dDp3aGVuPSIr + MDM6MDAiLz4KICAgIDwvcmRmOlNlcT4KICAgPC94bXBNTTpIaXN0b3J5PgogICA8cGx1czpJbWFn + ZVN1cHBsaWVyPgogICAgPHJkZjpTZXEvPgogICA8L3BsdXM6SW1hZ2VTdXBwbGllcj4KICAgPHBs + dXM6SW1hZ2VDcmVhdG9yPgogICAgPHJkZjpTZXEvPgogICA8L3BsdXM6SW1hZ2VDcmVhdG9yPgog + ICA8cGx1czpDb3B5cmlnaHRPd25lcj4KICAgIDxyZGY6U2VxLz4KICAgPC9wbHVzOkNvcHlyaWdo + dE93bmVyPgogICA8cGx1czpMaWNlbnNvcj4KICAgIDxyZGY6U2VxLz4KICAgPC9wbHVzOkxpY2Vu + c29yPgogIDwvcmRmOkRlc2NyaXB0aW9uPgogPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAog + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg + ICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQg + ZW5kPSJ3Ij8+ZvNcrAAAAAZiS0dEALwAvAC8IuemuQAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAAd0 + SU1FB+YIGgUpNo4qZpwAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAk0lE + QVQoz8WROwrDMBBEnxbUyCl9y6S10wQlNuQGyTFTunLhNBJsFq9xKg8IxH5mNBo4HDGz7O3FzFJP + rYkaTM7y2fYKOiCJWpjqoFFugbBC0AAhbFkAmEeGmLl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CHXPuWYaKRRYQERvbLBqNcBMDI+K7X1kyQKo/eu+3NpALQ8TshQxwpKKRApALrF + TunhmWLuqCs9ANchk/U4/7chiqJOE6uV8qo1pgYwfGL1x0CP9Hp96PWhJwPOH6u1sbW5j59XDgJS + ANX5mWY2ly8LIdSNU8tdA963Fh+iff1pc6f5ZqlSf3D1/oegZcX2b1XzNx+loPD71QWZc+ivC0X3 + 4st7gPnXHZig8v2FNrYGYLSiursbBuv1qaTmJAUAYvxaX/+t4dNDAM/fbi5Pv9veAmwS4Be1FK/D + h01lLQAAAABJRU5ErkJggg== +} +image create photo sh_16x12 -data { iVBORw0KGgoAAAANSUhEUgAAABAAAAAMCAYAAABr5z2BAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9 kT1Iw0AcxV9bxVJaHCz4gUOG6mRBVMRRq1CECqFWaNXB5NIvaNKQpLg4Cq4FBz8Wqw4uzro6uAqC 4AeIo5OToouU+L+k0CLGg+N+vLv3uHsH+BsVpppd44CqWUY6mRCyuVWh5xVBDCKCEPolZupzopiC @@ -394,4 +610,54 @@ image create photo sh_10x20 -data { kLquwluPh82QWo/Ge+R+gKt/8B4mGMc01rCAE5yjEyltYCW20ddLLHCaDCzUaFyYXsRW1BLJV2Es ok5+zaaLt28c01CGU8sqIAAAAABJRU5ErkJggg== } - +image create photo debian_16x12 -data { + iVBORw0KGgoAAAANSUhEUgAAABAAAAAMCAYAAABr5z2BAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9 + kT1Iw0AcxV9bxVJaHCz4gUOG6mRBVMRRq1CECqFWaNXB5NIvaNKQpLg4Cq4FBz8Wqw4uzro6uAqC + 4AeIo5OToouU+L+k0CLGg+N+vLv3uHsH+BsVpppd44CqWUY6mRCyuVWh5xVBDCKCEPolZupzopiC + 5/i6h4+vd3Ge5X3uzxFR8iYDfALxLNMNi3iDeHrT0jnvE0dZSVKIz4nHDLog8SPXZZffOBcd9vPM + qJFJzxNHiYViB8sdzEqGSjxFHFNUjfL9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AABr5z2BAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9 + kT1Iw0AcxV9bxVJaHCz4gUOG6mRBVMRRq1CECqFWaNXB5NIvaNKQpLg4Cq4FBz8Wqw4uzro6uAqC + 4AeIo5OToouU+L+k0CLGg+N+vLv3uHsH+BsVpppd44CqWUY6mRCyuVWh5xVBDCKCEPolZupzopiC + 5/i6h4+vd3Ge5X3uzxFR8iYDfALxLNMNi3iDeHrT0jnvE0dZSVKIz4nHDLog8SPXZZffOBcd9vPM + qJFJzxNHiYViB8sdzEqGSjxFHFNUjfL9WZcVzluc1UqNte7JXxjOayvLXKc5jCQWsQQRAmTUUEYF + FuK0aqSYSNN+wsM/5PhFcsnkKoORYwFVqJAcP/gf/O7WLExOuEnhBND9YtsfI0DPLtCs2/b3sW03 + T4DAM3Cltf3VBjDzSXq9rcWOgN5t4OK6rcl7wOUOMPCkS4bkSAGa/kIBeD+jb8oBfbdAaM3trbWP + 0wcgQ12lboCDQ2C0SNnrHu8Odvb275lWfz803nKOXMrtNAAAAAZiS0dEALwAvAC8IuemuQAAAAlw + SFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB+YIGgYlKa3RmjwAAAC7SURBVCjPzZGxCsJAEETfHTYp + UigoAUE0pSnyDVaW/pSVP+QXWAgpFGytE0hyucZKvLULGg/RSrfaHYbZmV34yzJaSxOGYkBsHMs7 + ruoCNorEFcULceDhAugucKnrr9y2AkYpMSCL65W9h5gliTdKD8CAIAJKsUlTVscjcxGWwASwwCnP + MSDdKO1goN1wGw7ZTadsy5KsqhgFAevxmNnh8HKPtnFNE9t+/4zW4Nzb3F6Bpzc+uPn0G7+rO3zt + PNdb1iTgAAAAAElFTkSuQmCC +} diff --git a/lib/lexers.tcl b/lib/lexers.tcl index ae61417..6b9eac1 100644 --- a/lib/lexers.tcl +++ b/lib/lexers.tcl @@ -21,3 +21,8 @@ dict set lexers SH commentSymbol {#} dict set lexers SH procFindString {(function |)\s*?PROCNAME\(\)} dict set lexers SH procRegexpCommand {regexp -nocase -all -- {^\s*?(function |)\s*?(.*?)\(()\)} $line match keyWord procName params} +#-------------------------------------------------- +# Python +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} diff --git a/lib/tree.tcl b/lib/tree.tcl index 1f5eba4..4bd611c 100644 --- a/lib/tree.tcl +++ b/lib/tree.tcl @@ -21,9 +21,14 @@ namespace eval Tree { regsub -all {\.|/|\\|\s} $item "_" subNode # puts "Inserted tree node: $subNode" set fileExt [string trimleft [file extension $text] "."] + #set fileName [string trimleft [file extension $text] "."] set findImg [::FindImage $fileExt] # puts "Extention $fileExt, find image: $findImg" - if {$fileExt ne "" && $findImg ne ""} { + # puts ">>>>>>>>>>> [string tolower $text]; [string match {*docker*} [string tolower $text]]" + if {[string match {*docker*} [string tolower $text]]} { + set findImg [::FindImage docker] + } + if {$fileExt ne "" || $findImg ne ""} { set image $findImg } else { set image imgFile @@ -32,7 +37,13 @@ namespace eval Tree { directory { regsub -all {\.|/|\\|\s} $item "_" subNode # puts $subNode - set image pixel + if {[string match {*debian*} [string tolower $item]]} { + set image [::FindImage debian] + } elseif {[string match {*redhat*} [string tolower $item]]} { + set image [::FindImage redhat] + } else { + set image pixel + } } func { regsub -all {:} $item "_" subNode diff --git a/projman.tcl b/projman.tcl index dbdba27..c314b45 100755 --- a/projman.tcl +++ b/projman.tcl @@ -10,7 +10,7 @@ exec wish "$0" -- "$@" ###################################################### # Version: 2.0.0 # Release: alpha -# Build: 25082022131123 +# Build: 26082022111459 ###################################################### # определим текущую версию, релиз и т.д.