View Poll Results: Which Syntax Highlighting do you prefer?

Voters
16. You may not vote on this poll
  • Current Style

    11 68.75%
  • Style #2

    0 0%
  • Style #3

    3 18.75%
  • Style #4

    1 6.25%
  • Other

    1 6.25%
Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Forum's Syntax Highlighting

  1. #11

    Forum's Syntax Highlighting

    5. You mean maybe something like this?


    That's why I listed "Other" as one of the choices, so if people didn't like any of the above they could list some alternative. Using the default Delphi syntax highlighting with a white background is cool with me, it's what I use in Delphi anyways. I just can't read the neon highlighting on such a dark background for any length of time. Feel free to download any of the above images and mock it up with a syntax highlighting you think might be better and repost it for all to see.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  2. #12

    Forum's Syntax Highlighting

    Hey I think I *might* have a solution.

    I can add new 'tags' to the pascal highlighter:

    [background=#xxxxxx] Background colour
    [reserved=#xxxxxx] Reserved words colour
    [numbers=#xxxxxx] Numbers colour
    [strings=#xxxxxx] Strings colour
    [comments=#xxxxxx] Comments colour

    Of course, we'd have a default colour scheme, but you could override any or all of them with these settings.

    That doesn't mean the people reading it will like it though, but I can't do much about that :twisted:

    What do you think?

  3. #13

    Forum's Syntax Highlighting

    Actually... that's a great idea! That way everyone would be happy.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  4. #14

    Forum's Syntax Highlighting

    Can you spot the difference?

    Quote Originally Posted by Xorcist
    [pascal][background=#FFFFFF][normal=#000000][number=#FF0000][string=#0000FF][comment=#8080FF][reserved=#000000]{Syntax Highlighting}
    Procedure TForm.ButtonClick(Sender TObject);
    var
    Number: Integer;
    begin
    Number := 123456;
    Caption := 'The number is: ' + IntToStr(Number);
    end;[/pascal]

    Include this just after the pascal tag to get the above colours:

    [background=#FFFFFF][normal=#000000][number=#FF0000][string=#0000FF][comment=#8080FF][reserved=#000000]

    Nice eh?

    We still need to decide on a default style though :roll:

  5. #15
    iLLUNis
    Guest

    Forum's Syntax Highlighting

    I like the 1st one for the default....i thought that whats the poll was all about...

  6. #16

    Forum's Syntax Highlighting

    Testing...
    [pascal][background=#F0F0F0][normal=#2C2B3C][number=#C00000][string=#008000][comment=#0000C0][reserved=#000000]
    {Syntax Highlighting}
    Procedure TForm.ButtonClick(Sender TObject);
    var
    Number: Integer;
    begin
    Number := 123456;
    Caption := 'The number is: ' + IntToStr(Number);
    end;
    [/pascal]

    Thanks Cat, that's cool it's now customizable.

    iLLUNIs, the poll is for the default... I was trying to get everyone's input on it's readability and just offered some alternatives pending my own preferences. Free freel to conitnue the poll while it's open and submit other suggestions for the deafult setup if you like, but now that we can customize the highlighting I can insure, at least with the code I post, that I won't have to sqwint at the screen to while trying to read it.

    Obviously we'd never find a single setup that satisfies everyone, but I figured taking the entire forum's input we'd at least get a rounded idea of what people like and dislike (and could mold something from that). Too bad only 15% of the members choose to take part in the democractic process.

    P.S. did anyone know we have over 30 members who have never posted.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  7. #17

    Forum's Syntax Highlighting

    It's not a problem if people don't post, being registered means you can see new posts. And it's also interesting to visit members' websites.

    However, of the 32 who haven't posted yet, 10 have never confirmed their registration. I'm going to email them and check they were able to confirm their registration as a small number of people have had problems with it.

    Regarding the syntax highlighting, if you have any more suggestions please post them here. What about italic/bold text?

  8. #18

    Forum's Syntax Highlighting

    Couldn't we have 'Courier New' instead of 'Courier'?
    [size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]

  9. #19

    Forum's Syntax Highlighting

    Quote Originally Posted by BlueCat
    Well that's one reason to use MS software, if only I could think of another one :lol:
    If only I could think of a reason to use glowing text.

    I vote for the default Delphi syntax highlighting but it's not in the list.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •