Results 1 to 3 of 3

Thread: Test Page for Copy HIGHLIGHT-Tagged Code From Fourms [IE Addin]

  1. #1

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Test Page for Copy HIGHLIGHT-Tagged Code From Fourms [IE Addin]

    This thread is test page for Copy HIGHLIGHT-Tagged Code From Fourms [IE Addin]


    vb Code:
    1. ' Hello World in Visual Basic 6
    2.  
    3. Private Sub Form_Load()
    4.     Print "Hello World"
    5. End Sub

    vb.net Code:
    1. 'Hello World in Visual Basic .NET (VB.NET)
    2.  
    3. Imports System.Console
    4.  
    5. Class HelloWorld
    6.  
    7.     Public Shared Sub Main()
    8.         WriteLine("Hello, world!")
    9.     End Sub
    10.  
    11. End Class
    CSharp Code:
    1. // Hello World in Microsoft C# ("C-Sharp").
    2.  
    3. using System;
    4.  
    5. class HelloWorld
    6. {
    7.     public static int Main(String[] args)
    8.     {
    9.         Console.WriteLine("Hello, World!");
    10.         return 0;
    11.     }
    12. }

    CPP Code:
    1. // Hello World in C++ (pre-ISO)
    2.  
    3. #include <iostream.h>
    4.  
    5. main()
    6. {
    7.     cout << "Hello World!" << endl;
    8.     return 0;
    9. }


    PHP Code:
    1. <?php
    2.   // Hello World in PHP
    3.   echo 'Hello World!';
    4. ?>

    Code:
    ' Use normal Ctrl+C on CODE blocks
    ' Hello World in Visual Basic 6
     
    Private Sub Form_Load()
        Print "Hello World"
    End Sub
    Last edited by iPrank; May 24th, 2007 at 01:11 PM.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Test Page for Copy HIGHLIGHT-Tagged Code From Fourms [IE Addin]

    Hello World in APL.

    APL Code:
    1. 'Hello World'

  3. #3

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Test Page for Copy HIGHLIGHT-Tagged Code From Fourms [IE Addin]

    When the syntax highlighter can't recognise the language, it shows the code similar to [CODE] tag and adds the language's name in the code block's title. You'll notice there is no line-number.

    My Addin will not work in those cases. You copy-paste those codes by normal Ctrl+C/Ctrl+V method.

    For example the syntax highlighter doesn't recognise HTML code.

    HTML Code:
    1. <HTML>
    2. <HEAD>
    3. <TITLE>Hello World</TITLE>
    4. </HEAD>
    5. <BODY>
    6. <H1>Hello World</H1>
    7. </BODY>
    8. </HTML>
    You can copy/paste above code by pressing Ctrl+C/Ctrl+V. Don't use my addin in these cases.
    Last edited by iPrank; May 19th, 2007 at 04:58 AM.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


Posting Permissions

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



Click Here to Expand Forum to Full Width