ThePentiumGuy
Well-known member
Hey,
As I reply to some posts, I paste my code using the [ VB ] code tags of course.
But when I paste it, it randomly squishes my words together.
Notice the squished words?
Edit: to be more specific, it seems that it squishes any subsequent keywords(represented by blue)together.[/color][/size]
Also, id have to mess with the fonts within vb tags, and then change the size! Shouldnt the forum do that automatically. Another issue im having is the automatic double spacing of code. .. This gets really annoying, When you dont have any doublespaces, it should appear without doublespaces. And in your code, when you do have a line break between a line, it appears as 2! The last issue with the code is that it should be automatically indented.. but whatever. If I type in text, and I just want to indent a line just a bit (without usign the indent tool) itll delete the spaces that I typed in ....
The text that Im typing in right now appears in Verdana size 2 - but when I preview it, it appears in size like... 3 or 4. This isnt WYSIWYG isnt it ;p.
Another issue is with the smileys. When I was making my tutorials for the tutors corner, my post was ~20,000 characters, so I had to split it into 2 ~10,000 character posts. I added a smiley or 2 (a total of 3 smileys), and hit preview. The thing inserted the URL for the smileys (www.computerhelp.forum/blah/blah/smile.gif/)! I went back to change the smileys. I typed in the smileys manually and i hit preview and it happened again! Then I tried again with the dropdown menu, and it finally worked..
I thought this problem was caused by the preview, but unfortunately, the preview button actually "edits" your post to how you see it in the preview.
For example I told you about the URL being shown rather than the smiley - this wasnt just in the preview, this was in the post I was typing in as well...
Edit: and notice my font changing randomly?
Edit again: quick fix for this - hold control and scroll with your mouse until the fonts are the same size... or do otherwise to see what my problem is (you need to make it slightly bigger to see what i mean)
Is there any known reason for these problems? And is there a solution?
Thanks,
-The Pentium Guy
As I reply to some posts, I paste my code using the [ VB ] code tags of course.
But when I paste it, it randomly squishes my words together.
Code:
[size=2][color=#0000ff]Public[/color][/size][size=2][color=#0000ff]Class[/color][/size][size=2] clsText
[/size][size=2][color=#0000ff]Dim[/color][/size][size=2] TheFont [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Direct3D.Font = [/size][size=2][color=#0000ff]Nothing
[/color][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] rect [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]New[/color][/size][size=2] Rectangle(0, 0, 0, 0)
[/size][size=2][color=#0000ff]Dim[/color][/size][size=2] x [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Vector3
[/size][size=2][color=#0000ff]Dim[/color][/size][size=2] y [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Vector3
[/size][size=2][color=#0000ff]Public[/color][/size][size=2][color=#0000ff]Sub[/color][/size][size=2][color=#0000ff]New[/color][/size][size=2]([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] d3ddev [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Direct3D.Device, [/size][size=2][color=#0000ff]Optional[/color][/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] fontname [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]String[/color][/size][size=2] = "Courier", [/size][size=2][color=#0000ff]Optional[/color][/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] Size [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]Integer[/color][/size][size=2] = 10)
TheFont = [/size][size=2][color=#0000ff]New[/color][/size][size=2] Microsoft.DirectX.Direct3D.Font(d3ddev, [/size][size=2][color=#0000ff]New[/color][/size][size=2] System.Drawing.Font(fontname, Size))
[/size][size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Sub
[/color][/size][size=2][color=#0000ff]Public[/color][/size][size=2][color=#0000ff]Sub[/color][/size][size=2] Drawtext([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] text [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]String[/color][/size][size=2], [/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] Color [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.Drawing.Color)
[/size][size=2][color=#008000] TheFont.DrawText(text, rect, Microsoft.DirectX.Direct3D.DrawTextFormat.NoClip, Color)
[/color][/size][size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Sub
End[/color][/size][size=2][color=#0000ff]Class
Notice the squished words?
Edit: to be more specific, it seems that it squishes any subsequent keywords(represented by blue)together.[/color][/size]
Also, id have to mess with the fonts within vb tags, and then change the size! Shouldnt the forum do that automatically. Another issue im having is the automatic double spacing of code. .. This gets really annoying, When you dont have any doublespaces, it should appear without doublespaces. And in your code, when you do have a line break between a line, it appears as 2! The last issue with the code is that it should be automatically indented.. but whatever. If I type in text, and I just want to indent a line just a bit (without usign the indent tool) itll delete the spaces that I typed in ....
The text that Im typing in right now appears in Verdana size 2 - but when I preview it, it appears in size like... 3 or 4. This isnt WYSIWYG isnt it ;p.
Another issue is with the smileys. When I was making my tutorials for the tutors corner, my post was ~20,000 characters, so I had to split it into 2 ~10,000 character posts. I added a smiley or 2 (a total of 3 smileys), and hit preview. The thing inserted the URL for the smileys (www.computerhelp.forum/blah/blah/smile.gif/)! I went back to change the smileys. I typed in the smileys manually and i hit preview and it happened again! Then I tried again with the dropdown menu, and it finally worked..
I thought this problem was caused by the preview, but unfortunately, the preview button actually "edits" your post to how you see it in the preview.
For example I told you about the URL being shown rather than the smiley - this wasnt just in the preview, this was in the post I was typing in as well...
Edit: and notice my font changing randomly?
Edit again: quick fix for this - hold control and scroll with your mouse until the fonts are the same size... or do otherwise to see what my problem is (you need to make it slightly bigger to see what i mean)
Is there any known reason for these problems? And is there a solution?
Thanks,
-The Pentium Guy