equal
deleted
inserted
replaced
|
1 "{ Encoding: utf8 }" |
|
2 |
1 " |
3 " |
2 COPYRIGHT (c) 1989 by Claus Gittinger |
4 COPYRIGHT (c) 1989 by Claus Gittinger |
3 All Rights Reserved |
5 All Rights Reserved |
4 |
6 |
5 This software is furnished under a license and may be used |
7 This software is furnished under a license and may be used |
632 |
634 |
633 "Created: / 19.6.1998 / 00:22:08 / cg" |
635 "Created: / 19.6.1998 / 00:22:08 / cg" |
634 ! ! |
636 ! ! |
635 |
637 |
636 !TextView methodsFor:'accessing'! |
638 !TextView methodsFor:'accessing'! |
637 |
|
638 characterEncoding |
|
639 "returns a symbol describing how the contents is encoded internally. |
|
640 For now, this should be the same encoding as my fonts encoding (otherwise, mappings would |
|
641 occur when drawing). |
|
642 This is (currently) only passed down from the fileBrowser, |
|
643 and required when japanese/chinese/korean text is edited. |
|
644 (encoding is something like #'iso8859-5' #euc, #sjis, #jis7, #gb, #big5 or #ksc)" |
|
645 |
|
646 ^ characterEncoding |
|
647 ! |
|
648 |
639 |
649 characterEncoding:encodingArg |
640 characterEncoding:encodingArg |
650 "define how the contents is encoded internally. |
641 "define how the contents is encoded internally. |
651 This should normally never be required, as ST/X now assumes |
642 This should normally never be required, as ST/X now assumes |
652 unicode (of which iso8859-1 is a subset) encoding. |
643 unicode (of which iso8859-1 is a subset) encoding. |
3820 ! ! |
3811 ! ! |
3821 |
3812 |
3822 !TextView class methodsFor:'documentation'! |
3813 !TextView class methodsFor:'documentation'! |
3823 |
3814 |
3824 version |
3815 version |
3825 ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.240 2004-02-28 12:57:56 cg Exp $' |
3816 ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.241 2004-03-05 14:27:33 cg Exp $' |
3826 ! ! |
3817 ! ! |
3827 |
3818 |
3828 TextView initialize! |
3819 TextView initialize! |