June 19,2007

TCL/TK 及 Scipad 之中文問題

ADE 中文 Scilab  在 Linux 版使用 ScilabGTK 為基礎,並且使用 TCL/TK 8.5a 版但還是有中文輸入輸出問題 (與 Scilab 無關)。

 

  1. 安裝 TCL/TK 8.5a 後, 編輯器 SciPad 還是無法輸入中文 (不顯現)
    ( 位於 "tcl/scipadsources/commonbindings.tcl" 指令
          bind Text <KeyPress>  {if {{%A} != {{}}} {puttext %W %A}}
    要改為
            bind Text <KeyPress>  { puttext %W %A}
    中文才能顯示。
    已回報 Scilab 討論群 
  2. 選擇文字之後再按 <CTL+C> 會清空選擇範圍
    位於 "tcl/scipadsources/inputtext.tcl" 指令
        if {[gettaselind $w single] != ""} {
            $w delete sel.first sel.last
        }
    要刪除。


Posted by yunglee at 樂多Roodo! │19:36 │回應(0)引用(0)中文 Scilab 開發
樂多分類:日記/一般 工具:編輯本文
Ads by Roodo! 

引用URL

http://cgi.blog.roodo.com/trackback/3495861