UltraEdit:
1. 首先要先顯示行數
檢視/顯示行號 View/Display Line Number
2. 列印設定
檔案/列印設定(組態)/頁面設定/列印行號 打勾
JCreator:
1. 顯示行數
Configure/Option/Documents/Default(當然也可以選擇針對特定檔案更改)
裡面在Compatibility, show line number 打勾即可
2. 列印設定
同上 /Default/Printer
Print line number 打勾即可
參考網頁:
http://www.jcreator.com/forums/index.php?showtopic=1202
http://john.cs.olemiss.edu/~sbs/ultraedtFAQ.html
2008年8月18日 星期一
2008年8月14日 星期四
讓 UltraEdit 認得 tcl 語法
打開 UltraEdit 的語法檔案 wordfile.txt
一般是在 C:\Program Files\IDM Computer Solutions\UltraEdit-32\wordfile.txt
將以下的文字複製後,貼在 wordfile.txt 最後面即可。
//參考網頁
http://hi.baidu.com/wirelesscat/blog/item/3ca99723cd1d05579822ed9a.html
一般是在 C:\Program Files\IDM Computer Solutions\UltraEdit-32\wordfile.txt
將以下的文字複製後,貼在 wordfile.txt 最後面即可。
/L20"Tcl/tk" Line Comment = # String Chars = "' Escape Char = \ DisableMLS File Extensions = TCL TK
/Delimiters = ~!@%^&*()+=|\/{}[]:;"' <> ,?#
/Function String = "proc ^([a-zA-Z_0-9]++ {[ a-zA-Z_0-9{}]++^)"
/Function String 1 = "method ^([a-zA-Z_0-9]++ {[ a-zA-Z_0-9{}]++^)"
/Function String 2 = "^(constructor^) {*}*{"
/Function String 3 = "^(destructor^) {}"
/Function String 4 = "public ^(variable[ ^t]+[a-zA-Z_0-9]+^)"
/Function String 5 = "public ^(common[ ^t]+[A-Z_0-9]+^)"
/Indent Strings = "{"
/Unindent Strings = "}"
/Open Brace Strings = "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "{"
/Close Fold Strings = "}"
/C1"Commands"
after append array auto_execok auto_load auto_mkindex auto_reset
bgerror break
case catch cd class clock close common concat constructor continue
destructor
else elseif eof error eval exec exit expr
fblocked fconfigure file fileevent flush for foreach format
gets glob global
history
if incr info inherit interp
join
lappend lindex linsert list llength load lrange lreplace lsearch lsort
method
open
package parray pid private proc protected public puts pwd
read regexp regsub rename return
scan seek set socket source split string subst switch
tcl_endOfWord tcl_startOfNextWord tcl_startOfPreviousWord
tcl_wordBreakAfter tcl_wordBreakBefore tell time
trace
unknown unset update uplevel upvar
variable vwait
while
/C2"Library Variables"
ErrorCode ErrorInfo
auto_execs auto_index auto_noexec auto_noload auto_path
env
tcl_library tcl_nonwordchars tcl_patchLevel tcl_pkgPath tcl_platform
tcl_precision tcl_rcFileName tcl_rcRsrcName tcl_version tcl_wordchars
unknown_active
/C3"Keywords"
bell bind bindtags bitmap button
canvas checkbutton clipboard
destroy
entry event
focus frame
grab grid
image
label listbox lower
menu menubutton message
option
pack photo place
radiobutton raise
scale scrollbar selection send
text tk tk_bindForTraversal tk_bisque tk_chooseColor tk_dialog tk_focusFollowsMouse
tk_focusNext tk_focusPrev tk_getOpenFile tk_getSaveFile tk_menuBar tk_messageBox
tk_optionMenu tk_popup tk_setPalette tkerror tkvars tkwait toplevel
winfo wm
/C4"Variable Substitutions"
** $
/C5"Delimiters"
!
%
&
(
)
*
+
,
// /
:
;
< = >
?
@
[
]
^
{
|
}
~
//參考網頁
http://hi.baidu.com/wirelesscat/blog/item/3ca99723cd1d05579822ed9a.html
訂閱:
文章 (Atom)