*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Wed, 18 Feb 2004 18:51:54 +0100
changeset 2889 092e6d12df95
parent 2888 e8d9ca880a4c
child 2890 2a5804121c67
*** empty log message ***
TextView.st
--- a/TextView.st	Wed Feb 18 18:39:08 2004 +0100
+++ b/TextView.st	Wed Feb 18 18:51:54 2004 +0100
@@ -649,8 +649,8 @@
 
 characterEncoding:encodingSymOrNil
     "define how the contents is encoded internally.
-     For now, this should be the same encoding as my fonts encoding (otherwise, mappings would
-     occur when drawing).
+     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)"
@@ -1029,7 +1029,8 @@
             f := FontPanel 
                     fontFromUserInitial:defaultFont
                     title:(resources string:'font selection')
-                    filter:filter.
+                    filter:filter
+                    encoding:pref.
 
             f notNil ifTrue:[
                 self font:f.
@@ -3880,7 +3881,7 @@
 !TextView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.234 2004-02-18 12:05:15 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.235 2004-02-18 17:51:54 cg Exp $'
 ! !
 
 TextView initialize!