heweitykc / liteide

Automatically exported from code.google.com/p/liteide
0 stars 0 forks source link

编辑和编译两个主菜单, 时不时的会变成Untitled #58

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
我不确定这和我修改gosrc.xml是不是有关系。

我再gosrc.xml文件中,做了几个小调整:
增加:
 <custom id="RunArgs" name="RUNARGS" value="$(EDITOR_DIRNAME_GO)"/>
调整:
<action id="Run" menu="BuildAndRun" img="blue/run.png" key="Ctrl+F5" 
cmd="$(RUNARGS)" args="$(TARGETARGS)" output="true" codec="utf-8" 
readline="true"/>

这样我可以控制我按Control +B(R) 的时候程序的输出地址。
自己编译的源码, 环境:
Mac osx 10.9
Qt5.1.1

当打开两个以上的go文件时, 
除了第一个被打开的菜单现实正常, 
从标签上切换打开的文件,其他文件对应现实的菜单栏中,��
�辑、编译两个菜单显示为untitled . 
开始以为和语言包有关系, 于是切换到英文界面, 
问题依然还是存在。

Original issue reported on code.google.com by ablegao on 28 Feb 2014 at 10:45