⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ulset.tcl

📁 This Source-Navigator, an IDE for C/C++/Fortran/Java/Tcl/PHP/Python and a host of other languages.
💻 TCL
字号:
# ulset.tcl - Set labels based on info from gettext.# Copyright (C) 1997 Cygnus Solutions.# Written by Tom Tromey <tromey@cygnus.com>.# Extract underline and label info from a descriptor string.  Any# underline in the descriptor is extracted, and the next character's# index is used as the -underline value.  There can only be one _ in# the label.proc extract_label_info {option label} {  set uList [split $label _]  if {[llength $uList] > 2} then {    error "too many underscores in label \"$label\""  }  if {[llength $uList] == 1} then {    set ul -1  } else {    set ul [string length [lindex $uList 0]]  }  return [list $option [join $uList {}] -underline $ul]}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -