Article 51HXZ GVIM identification problem

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 helplatest?d=yIl2AUoC8zA latest?i=OoQMdUCLP2Q:vL-YCd72RwM:F7zBnMy latest?i=OoQMdUCLP2Q:vL-YCd72RwM:V_sGLiP latest?d=qj6IDK7rITs latest?i=OoQMdUCLP2Q:vL-YCd72RwM:gIN9vFwOoQMdUCLP2Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments