Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

Duncan Mackenzie Duncanma "yeah that's awful close, but that's not why I'm so hard done by"
  • Syntax coloring, woohoo!

    Dodo said:
    Duncanma said:
    *snip*
    Can we get PHP? Smiley
    Just like C++, I'm happy to add it if someone wants to code up the formatter class. Feel free!

  • Syntax coloring, woohoo!

    Sven Groot said:
    Duncanma said:
    *snip*
    Too bad that doesn't support C++. Random cool C++snippet:

    template<int x, int y>
    struct gcd
    {
        static const int value = gcd<y, x % y>::value;
    };
    
    template<int x>
    struct gcd<x, 0>
    {
        static const int value = x;
    };
    I believe it could be extended to support C++ ... not sure I'll have the time, but if someone made a C++ formatter that works with the original source then I'd be happy to include it in our version.

  • Syntax coloring, woohoo!

    CannotResolveSymbol said:
    Duncanma said:
    *snip*
    public static void Main(String[] args) {
    ;)
    }

    doh! I'll take a look at that....

    Giving credit where credit's due: source code formatting code from http://www.manoli.net/csharpformat/

  • Reason for Colors

    TommyCarlier said:
    Duncanma said:
    *snip*

    while (true) ;
    While True Do End While

    You can do it like this: [ code language="vb" ] ... [ / code ]

    language options: CSHARP (C#), HTML, SQL, VB (for VB, VB.NET, etc...), JS (JavaScript), PSH  (Powershell)

  • Syntax coloring, woohoo!

    Duncanma said:
    Sven Groot said:
    *snip*
    strange...  I'll look into that, perhaps I've accidentally done the code *after* the smilely replacement... the smiley code is supposed to ignore anything within

    <pre> ... </pre>
    

    language options: CSHARP (C#), HTML, SQL, VB (for VB, VB.NET, etc...), JS (JavaScript), PSH  (Powershell)

  • Syntax coloring, woohoo!

    Sven Groot said:
    TommyCarlier said:
    *snip*
    Now it should just disable smilies inside those blocks.


    public void Foo()
    {
    // Let's see if contextual keywords work
    var x = from x in someThing
    where x < 10
    select x;
    }


    And they don't, as I expected. Smiley
    strange...  I'll look into that, perhaps I've accidentally done the code *after* the smilely replacement... the smiley code is supposed to ignore anything within

    <pre> ... </pre>
    

  • Reason for Colors

    jh71283 said:
    Duncanma said:
    *snip*
    Kewl..... when go live?
    bool isCodeFormattingLive = true;
    

  • Keyword filtering

    blowdart said:
    HumanCompiler said:
    *snip*
    Indeed. Why is also why a "Mark all as read" on an index page would be good Smiley
    Erik brings this up on a regular basis (the desire for marking threads as unread/read) so I'm sure we won't forget about it Smiley

  • Full screen button, on Silverlight 2.0 player, not working.

    I believe this is a known issue if you have installed Silverlight 2.0 over 1.0 ... let me track down the details

    "If the user has installed SL2 over SL1 than there is an extra file that can be deleted as a workaround.  The file is called npctrl.1.0.30401.0.dll, and must be in the addins directory for Firefox.  It should be in the same directory as npctrl.dll which is the one that needs to stay."

  • Reason for Colors

    Checked in some source code coloring today... a few quick shots are on this blog entry here: http://duncanmackenzie.net/blog/chatting-today-amongst-the-evnet-team/default.aspx