# HG changeset patch # User Claus Gittinger # Date 1077126714 -3600 # Node ID 092e6d12df95d0bf9a039a5c5371d2b443a53b71 # Parent e8d9ca880a4c2d17faed300101501b094e3c4fda *** empty log message *** diff -r e8d9ca880a4c -r 092e6d12df95 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!