Fixed parsing procedure with names like ::proc::name or proc_na::me(aa) and parameters {{} {} {}}
This commit is contained in:
parent
794ea04f2e
commit
1748933767
|
@ -11,6 +11,7 @@
|
||||||
- Fixed AutoComplite precedure for TCL/TK-projects
|
- Fixed AutoComplite precedure for TCL/TK-projects
|
||||||
- Added colored icon for main window
|
- Added colored icon for main window
|
||||||
- Fixed "Close all" procedure if opened files from projects and file browser
|
- Fixed "Close all" procedure if opened files from projects and file browser
|
||||||
|
- Fixed parsing some procedure name like ::proc::name or proc_na::me(aa) and parameters {{} {} {}}
|
||||||
|
|
||||||
13.02.2018
|
13.02.2018
|
||||||
- Added gray theme
|
- Added gray theme
|
||||||
|
@ -361,3 +362,5 @@ characters to the right of the insertion cursor.
|
||||||
- Fix error with select active project after creating new project
|
- Fix error with select active project after creating new project
|
||||||
- Fix small error with delete project procedure
|
- Fix small error with delete project procedure
|
||||||
- Fix uncorrect cursor position counter into editor
|
- Fix uncorrect cursor position counter into editor
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -948,7 +948,10 @@ proc EditFile {tree node fileName} {
|
||||||
}
|
}
|
||||||
|
|
||||||
###################
|
###################
|
||||||
if {[regexp -nocase -all -line -- {proc (.*) \{(.*)\}} $line match procName params]} {
|
#regexp -nocase -all -line -- {proc (::|)(\w+)(::|)(\w+) \{(.*)\} \{} string match v1 v2 v3 v4 v5
|
||||||
|
#regexp -nocase -all -line -- {proc (.*) \{(.*)\}} $line match procName params
|
||||||
|
if {[regexp -nocase -all -line -- {proc (::|)(\w+)(::|)(\w+) \{(.*)\} \{} $line match v1 v2 v3 v4 params]} {
|
||||||
|
set procName "$v1$v2$v3$v4"
|
||||||
lappend procList($activeProject) [list $procName [string trim $params]]
|
lappend procList($activeProject) [list $procName [string trim $params]]
|
||||||
puts "proc $procName $params"
|
puts "proc $procName $params"
|
||||||
}
|
}
|
||||||
|
@ -1281,5 +1284,6 @@ GetOp
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
10
lib/help.tcl
10
lib/help.tcl
|
@ -273,12 +273,9 @@ proc TopLevelHelp {} {
|
||||||
|
|
||||||
entry $frmSrchEnt.entSearch
|
entry $frmSrchEnt.entSearch
|
||||||
set lstSearch [listbox $frmSrchList.lstSearch -font $fontNormal\
|
set lstSearch [listbox $frmSrchList.lstSearch -font $fontNormal\
|
||||||
-yscrollcommand\
|
-yscrollcommand {.help.frmBody.frmCat.nBookTree.fhlpSearch.frmScrhList.scrListY set}\
|
||||||
{.help.frmBody.frmCat.nBookTree.fhlpSearch.frmScrhList.scrListY set}\
|
-xscrollcommand {.help.frmBody.frmCat.nBookTree.fhlpSearch.frmScrhScrollX.scrListX set}\
|
||||||
-xscrollcommand\
|
-selectmode single -selectbackground #55c4d1 -selectborderwidth 0]
|
||||||
{.help.frmBody.frmCat.nBookTree.fhlpSearch.frmScrhScrollX.scrListX set}\
|
|
||||||
-selectmode single -selectbackground #55c4d1\
|
|
||||||
-selectborderwidth 0]
|
|
||||||
scrollbar $frmSrchList.scrListY -command\
|
scrollbar $frmSrchList.scrListY -command\
|
||||||
{$frmSrchList.lstSearch yview} -borderwidth {1} -width {10} -takefocus 0
|
{$frmSrchList.lstSearch yview} -borderwidth {1} -width {10} -takefocus 0
|
||||||
|
|
||||||
|
@ -324,3 +321,4 @@ proc TopLevelHelp {} {
|
||||||
|
|
||||||
#GetContent $docDir/tcl.toc.html
|
#GetContent $docDir/tcl.toc.html
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1435,5 +1435,3 @@ proc HM::cgiMap {data} {
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -308,6 +308,7 @@ proc add_toolbar_button {path icon command helptext} {
|
||||||
}
|
}
|
||||||
# Separator for toolbar
|
# Separator for toolbar
|
||||||
set sepIndex 0
|
set sepIndex 0
|
||||||
|
|
||||||
proc Separator {} {
|
proc Separator {} {
|
||||||
global sepIndex editor
|
global sepIndex editor
|
||||||
set f [frame .frmTool.separator$sepIndex -width 10 -border 1 \
|
set f [frame .frmTool.separator$sepIndex -width 10 -border 1 \
|
||||||
|
@ -492,3 +493,4 @@ $tree configure -redraw 1
|
||||||
set activeProject ""
|
set activeProject ""
|
||||||
focus -force $tree
|
focus -force $tree
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user