GVIM identification problem
by DoME69 from LinuxQuestions.org on (#51HXZ)
Hi,
I have the following TCL script:
Code:foreach bbox [get_property $var bbox] {
set xy1 [lrange $bbox 0 1]
set xy2 [lrange $bbox 2 3]
ruler "\{\{${xy1}\} \{${xy2}\}\}"
}After identification with GVIM (gg=G) The first line inside "foreach", shifted by 1 TAB and the other by 2 TABS.
Example after Identification:
Code:foreach bbox [get_property $var bbox] {
set xy1 [lrange $bbox 0 1]
set xy2 [lrange $bbox 2 3]
ruler "\{\{${xy1}\} \{${xy2}\}\}"
}The script should looks like:
Code:foreach bbox [get_property $var bbox] {
set xy1 [lrange $bbox 0 1]
set xy2 [lrange $bbox 2 3]
ruler "\{\{${xy1}\} \{${xy2}\}\}"
}
How can I fix it?
Additional question,
how can I determine where GVIM window will be open?
I want the window to be open always in the upper-left corner.
Thanks for you help


I have the following TCL script:
Code:foreach bbox [get_property $var bbox] {
set xy1 [lrange $bbox 0 1]
set xy2 [lrange $bbox 2 3]
ruler "\{\{${xy1}\} \{${xy2}\}\}"
}After identification with GVIM (gg=G) The first line inside "foreach", shifted by 1 TAB and the other by 2 TABS.
Example after Identification:
Code:foreach bbox [get_property $var bbox] {
set xy1 [lrange $bbox 0 1]
set xy2 [lrange $bbox 2 3]
ruler "\{\{${xy1}\} \{${xy2}\}\}"
}The script should looks like:
Code:foreach bbox [get_property $var bbox] {
set xy1 [lrange $bbox 0 1]
set xy2 [lrange $bbox 2 3]
ruler "\{\{${xy1}\} \{${xy2}\}\}"
}
How can I fix it?
Additional question,
how can I determine where GVIM window will be open?
I want the window to be open always in the upper-left corner.
Thanks for you help