freebsd-ports/chinese/tk83/files/patch-ao
Kevin Lo 2c54b710d9 Chineselized Tk ver. 8.3.0. This version is i18n improvement.
This changes the behavior of Tk on X where X Input Methods (XIM) were
recognized and used without question.
With 8.3, they will be recognized and initialized, but not used unless
XIM is turned on (tk useinputmethods 1).  This should only affect users
users with special input methods, and the new default behavior should
be more beneficial to the average user.

Please repo copy, thanks.
2001-02-22 04:09:59 +00:00

16 lines
423 B
Text

--- ../library/text.tcl.orig Thu Feb 10 08:52:50 2000
+++ ../library/text.tcl Wed Feb 21 21:27:44 2001
@@ -378,6 +378,13 @@
}
}
+# UNIX only bindings:
+
+if {[string equal $tcl_platform(platform) "unix"] &&
+ [string compare [info commands imconfigure] {}]} {
+ bind Text <FocusIn> {catch {imconfigure %W}}
+}
+
# Macintosh only bindings:
# if text black & highlight black -> text white, other text the same