Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. HTML Tabs

HTML Tabs

Scheduled Pinned Locked Moved Site Bugs / Suggestions
htmlvisual-studiotutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mel Stober
    wrote on last edited by
    #1

    I don't know if it is possible on this form, but some other forms let us add html tags to pretty-up the code that we post. For example: [code] class MyClass { }; [/code] When the above example is displayed, the text between the tags are aligned and tabbed something like what you would see in the VC6 IDE.

    S 1 Reply Last reply
    0
    • M Mel Stober

      I don't know if it is possible on this form, but some other forms let us add html tags to pretty-up the code that we post. For example: [code] class MyClass { }; [/code] When the above example is displayed, the text between the tags are aligned and tabbed something like what you would see in the VC6 IDE.

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #2

      Well, you *can* do: <pre>

      class MyClass
      {

      };

      </pre> Although it only reformats the code for articles, not in the forums. Still, it does *preserve* spacing (except for extra blank spaces, which it seems to trash with extreme prejudice), so you can use something like SciTE to do formatting for you if you wish. I agree it would be nice to have some sort of feature that would pre-process posts (instead of doing all the reformatting when the page is displayed) in order to do stuff like automatically creating clickable links, syntax highlighting, conversion of < and > to < and >, etc.

      - Shog9 -

      Aaah... It's time to relax. You know what that means: a glass of beer, your favorite ergo chair... And of course, The Code Project loaded on your Personal Computer System. So go on, and indulge yourself, put your feet up. Lean back and just enjoy the articles. After all, CP sooths even the savage :bob:

      J 1 Reply Last reply
      0
      • S Shog9 0

        Well, you *can* do: <pre>

        class MyClass
        {

        };

        </pre> Although it only reformats the code for articles, not in the forums. Still, it does *preserve* spacing (except for extra blank spaces, which it seems to trash with extreme prejudice), so you can use something like SciTE to do formatting for you if you wish. I agree it would be nice to have some sort of feature that would pre-process posts (instead of doing all the reformatting when the page is displayed) in order to do stuff like automatically creating clickable links, syntax highlighting, conversion of < and > to < and >, etc.

        - Shog9 -

        Aaah... It's time to relax. You know what that means: a glass of beer, your favorite ergo chair... And of course, The Code Project loaded on your Personal Computer System. So go on, and indulge yourself, put your feet up. Lean back and just enjoy the articles. After all, CP sooths even the savage :bob:

        J Offline
        J Offline
        James T Johnson
        wrote on last edited by
        #3

        Shog9 wrote: (except for extra blank spaces, which it seems to trash with extreme prejudice), To keep the blank lines but a space on it, then the line will be preserved.

        class MyClass
        {

        };

        Its a tad annoying; but at least there is a work around :) James "Java is free - and worth every penny." - Christian Graus

        S 1 Reply Last reply
        0
        • J James T Johnson

          Shog9 wrote: (except for extra blank spaces, which it seems to trash with extreme prejudice), To keep the blank lines but a space on it, then the line will be preserved.

          class MyClass
          {

          };

          Its a tad annoying; but at least there is a work around :) James "Java is free - and worth every penny." - Christian Graus

          S Offline
          S Offline
          Shog9 0
          wrote on last edited by
          #4

          James T. Johnson wrote: To keep the blank lines but a space on it Thank You! :rose: This has been bothering me for ages :D --------

          PMGRE

          --Shog9 --

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups