Blob Blame History Raw
# $XConsortium: StringToCT.prt /main/3 1995/07/19 20:44:40 drk $
# Motif
#
# Copyright (c) 1987-2012, The Open Group. All rights reserved.
#
# These libraries and programs are free software; you can
# redistribute them and/or modify them under the terms of the GNU
# Lesser General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# These libraries and programs are distributed in the hope that
# they will be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with these librararies and programs; if not, write
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301 USA
#
#
# HISTORY

Components in original XmString:
----------------------------------
XmSTRING_COMPONENT_DIRECTION: XmSTRING_DIRECTION_R_TO_L
XmSTRING_COMPONENT_CHARSET: ISO8859-1
XmSTRING_COMPONENT_TEXT: This is a test.
XmSTRING_COMPONENT_SEPARATOR: True
XmSTRING_COMPONENT_SEPARATOR: True
XmSTRING_COMPONENT_SEPARATOR: True
XmSTRING_COMPONENT_DIRECTION: XmSTRING_DIRECTION_L_TO_R
XmSTRING_COMPONENT_CHARSET: ISO8859-1
XmSTRING_COMPONENT_TEXT: This is only a test.
TRACE:(1) Continue

Compound Text returned from XmCvtXmStringToCT(): 
-------------------------------------------------- 
›2]This is a test.


›1]This is only a test.
TRACE:(2) Continue

Components in XmString returned from XmCvtCTToXmString():
------------------------------------------------------------
XmSTRING_COMPONENT_DIRECTION: XmSTRING_DIRECTION_R_TO_L
XmSTRING_COMPONENT_CHARSET: ISO8859-1
XmSTRING_COMPONENT_TEXT: This is a test.
XmSTRING_COMPONENT_SEPARATOR: True
XmSTRING_COMPONENT_SEPARATOR: True
XmSTRING_COMPONENT_SEPARATOR: True
XmSTRING_COMPONENT_DIRECTION: XmSTRING_DIRECTION_L_TO_R
XmSTRING_COMPONENT_CHARSET: ISO8859-1
XmSTRING_COMPONENT_TEXT: This is only a test.

XmCvtCTToXmString: PASSED
TRACE:(3) Continue
TRACE:(4) Exit
Exiting Test...Please Standby...