Re: I develop a Java program to format Java codes
Roedy Green wrote:
gearss8888@gmail.com wrote, quoted or indirectly quoted someone who said :
PreffixStr = ManyTabStr (HowManyTab, TabBlank);
HowManyTab = HowManyTab + 1;
newoneline = PreffixStr + TrimIt; // =B0=D1=C7=B0=D7=
=BA=BF=D5=B8=F1=CC=ED=BC=D3=B5=BD=D5=E2=D2=BB=D0=D0=C7=B0=C3=E6
break;
}
case -1 : {
the process of posting on a newsreader is scrambling your code. Try
posting it somewhere and giving the URL.
see http://mindprod.com/jgloss/sscce.html
He *gave* us an SSCCE, already!
It wasn't scrambled here. Perhaps it's something specific to your newsreader.
It clearly wasn't scrambled by "the process of posting on a newsreader" or
everyone would've seen the problem.
His code even survived my newsreader placing it into the reply as "quoted
text", without loss of formatting or other issues. Does the quoted code look
scrambled in my reply? That would be a good data point.
I do note however that your reply is scrambled, in the sense that it didn't
transcribe the Chinese characters. I infer that your newsreader used the wrong
text encoding. You should fix that.
I recommend against the OP's posting the code on a separate URL. It's easier
to get answers when the respondents have everything they need in one place. I
was grateful that they included their SSCCE in their post.
--
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg