Thread: Bugs (and strange things...)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    >>never seen that in opera

    stfu! mozilla ownz!!
    PHP and XML
    Let's talk about SAX

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Mozilla sucks.

    Another bug... When you send a PM, it asks you if you want a receipt or not and the only answers are "Yes" and "Cancel". Hitting cancel works for "no", but if this could be changed or not asked at all and just made a checkbox, that'd be great.

  3. #3
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Not really a bug but... can we move the "Mark Forums Read" to the bottom of the page and replace it with the "Mark this Forum Read".

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    The code section's still leave a lot to be desired. Simply pasting from MSVC into this windows create's a huge mess. Not to mention that this also distorts some of the Direct3D constants - and I have no idea why.

    Code:
    _device->SetTextureStageState(0,D3DTSS_COLORARG1,D3DTA_TEXTURE);
    No idea why that's happening. I also wish there was some way you guys could allow us to use the TAB key inside of posts - the TAB right now changes focus which sucks. Dunno how many times I've tabbed while trying to indent my code and messed up my post.

    The board needs to ignore TABs in code sections or treat all TABs as 2 space indents - this would make it easier when pasting from an IDE since I think most of us use 2 or 4 space indents when we code. Right now a TAB looks like 8 characters which really messes your pasted code up. Also it is nearly impossible to line up functions with long parameter lists - no matter how much you space over or how it looks when you create the post...it does not look the same when you actually submit it.

    These errors/annoyances have been prevalent in both versions of the board.

    Code:
    MyClass->ThisIsAHugeParamList(int Arg1,
                                                        int Arg2,
                                                        int Arg3,
                                                        int Arg4,
                                                        int Arg5);
    See what I mean??
    Last edited by VirtualAce; 04-17-2004 at 10:03 AM.

  5. #5
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    But tabs in code are a bad thing

  6. #6
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949
    Quote Originally Posted by Thantos
    But tabs in code are a bad thing
    I use them, but that's because I used to use Notepad and I was too lazy to press space twice. Now, I can just set tab size !
    Do not make direct eye contact with me.

  7. #7
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    I prefer to hit tab once, and have everything line up like it's supposed to, than accidentally miss hitting space the fourth time, or hitting it an extra time, and ending up with code that's all over the place. And, I prefer hitting tab once over hitting space four times anyday.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  8. #8
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Quote Originally Posted by Hunter2
    I prefer to hit tab once, and have everything line up like it's supposed to, than accidentally miss hitting space the fourth time, or hitting it an extra time, and ending up with code that's all over the place. And, I prefer hitting tab once over hitting space four times anyday.
    In most IDEs, you can configure it to replace tabs with x number of spaces.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  9. #9
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I must have missed the debate...but I will switch my IDE to translate the tabs to spaces instead. Sorry I'm not going to manually tab my code over when I can just as easily hit TAB.

  10. #10
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    >>In most IDEs, you can configure it to replace tabs with x number of spaces.
    Ah yes, but the point was that it would be convenient to be able to hit 'tab' in the code editor, and it would insert a tab character instead of changing the focus

    Actually, I've experimented with the tab-replaced-with-spaces thing, but gave up on it because I'd already been using tab for the first half of the project, and I was getting disoriented with hitting backspace 4 times and realizing that it was actually a tab character, or hitting it once and realizing that it was four spaces
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  11. #11
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    They're nicer than trying to use spaces and ending up with screwed-up inconsistent indentation.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  12. #12
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    "trying" being the operative word...

    There is no difference between converting tabs to 8 spaces or 3 spaces, you will still have inconsitencies and unalignments.

    We can all agree to set our tab spacing to 8 (or whatever the board uses) or we can agree to not use tabs at all - like you spose'to!

    That's why when you co-develop on a project you use spaces, otherwise the source only looks good in your IDE with your particular tab spacing.

    If you have no tabs in your source, it will align perfectly in code tags on the board.

    gg

  13. #13
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Code:
    _device->SetTextureStageState(0,D3DTSS_COLORARG1,D3DTA_TEXTURE);
    //                                            Crazy Space  ^^
    Weird....

    gg

  14. #14
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Quote Originally Posted by Codeplug
    Code:
     _device->SetTextureStageState(0,D3DTSS_COLORARG1,D3DTA_TEXTURE);
     //                                            Crazy Space  ^^
    Weird....

    gg
    This appears to come about as the result of a very long "word". Eg, Here are 65 A's in a row with no spaces (on my part at least).
    Code:
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  15. #15
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Lets not go into the tab vs space debate again. My comment was suppose to be a lighhearted jab at Bubba

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Strange side effects?
    By _Elixia_ in forum C Programming
    Replies: 4
    Last Post: 08-16-2005, 03:25 PM
  2. Strange file problem.
    By tilex in forum C++ Programming
    Replies: 1
    Last Post: 12-29-2004, 12:32 AM
  3. strange linked list problem
    By maes in forum Windows Programming
    Replies: 0
    Last Post: 09-06-2003, 09:28 AM