Sounds like RDP is simply removing the "non-displayable character" instead of replacing it with a blank. Perhaps there's a property that defines how to handle non-displayable characters in source code...
Personally, I strip out those hex codes when I see them... The IDE does a much better job of this and the hex codes are an ugly hack, IMO. SEU was never intended to support colorized source.
-Eric DeLong
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Bailey
Sent: Friday, July 15, 2011 9:41 AM
To: WDSCI-L@xxxxxxxxxxxx
Subject: [WDSCI-L] Colour hex codes
Hi,
I appear to be spamming the WDSCi-L list today, so I apologise if it upsets anyone!
I am using RDP 8.0.0.3 and when I see source that has coloured lines in SEU, RDP displays each line of that source one character to the left of where it should be. That is, the C in a normal RPG calculation specification line displays in column 5 for "coloured" lines and column 6 for others!
The source compiles fine but doesn't display in RDP very well. Does anyone know what causes this display problem and if there is a workaround?
Incidentally, I was the guy who wrote this:
http://wiki.midrange.com/index.php/WDSC_tips/MISC#I_have_these_strange_square_symbols_in_my_code. If you are curious to find out what I am on about, there are tips in that page to enable you to enter the hex codes into your source in WDSC (and, by extension, RDP.)
Cheers,
Paul.
------------------------------------------------------------
Important
This email transmission and any files with it are strictly
confidential to the intended recipient and may be legally
privileged. Any views or opinions presented are solely
those of the author and do not necessarily represent those
of BHSF. If you are not the intended recipient, you must
not copy, disclose or distribute its contents in any way.
If you have received this e-mail in error, please notify
the sender and delete the e-mail from your system.
We have taken steps to ensure this e-mail and attachments
are free from any virus but do not accept any
responsibility once this e-mail has been transmitted. You
should scan any attachments for viruses.
No contract may be concluded on behalf of BHSF Limited by
e-mail.
Registered Office:
BHSF Limited
Gamgee House, 2 Darnley Road, Birmingham B16 8TE.
www.bhsf.co.uk
Registered in England number 35500.
BHSF is authorised and regulated by the Financial Services
Authority.
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.