Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
CompoundTextConverter
Last updated at 9:50 am UTC on 4 October 2017
 TextConverter subclass: #CompoundTextConverter
	instanceVariableNames: 'state acceptingEncodings'
	classVariableNames: ''
	poolDictionaries: ''
	category: 'Multilingual-TextConversion'

Text converter for X Compound Text.


 saveStateOf: aStream

	| inst |
	inst :=  state shallowCopy.
	inst streamPosition: aStream position.
	^ inst.


 restoreStateOf: aStream with: aConverterState

	state := aConverterState copy.
	aStream position: state streamPosition.