TextView.st
changeset 2859 588afdab446c
parent 2856 bc6bb86d4d2e
child 2861 247b5c6893a4
--- a/TextView.st	Wed Feb 11 16:34:51 2004 +0100
+++ b/TextView.st	Wed Feb 11 19:52:23 2004 +0100
@@ -636,6 +636,17 @@
 
 !TextView methodsFor:'accessing'!
 
+characterEncoding
+    "returns a symbol describing how the contents is encoded internally.
+     For now, this should be the same encoding as my fonts encoding (otherwise, mappings would
+     occur when drawing).
+     This is (currently) only passed down from the fileBrowser,
+     and required when japanese/chinese/korean text is edited.
+     (encoding is something like #'iso8859-5' #euc, #sjis, #jis7, #gb, #big5 or #ksc)"
+
+    ^ characterEncoding
+!
+
 characterEncoding:encodingSymOrNil
     "define how the contents is encoded internally.
      For now, this should be the same encoding as my fonts encoding (otherwise, mappings would
@@ -3731,7 +3742,7 @@
 !TextView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.225 2004-02-10 17:05:01 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.226 2004-02-11 18:52:23 cg Exp $'
 ! !
 
 TextView initialize!