Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    CODE Tags

    General Discussion
    0
    6
    824
    Loading More Posts
    • 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.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 27/01/2008 at 14:56, xxxxxxxx wrote:

      Hi everyone,

      I've taken matters into my own hands with regards to the CODE issue. I've tweaked the CSS display for old posts and the generated HTML for new ones (unfortunately the HTML is stored in the posts). Let me know if this is an improvement.

      - Rick -

      > \> if(thisLooksBetterThanItUsedTo) { \>    return TRUE; \> } else { \>    GePrint("What CSS would you use?"); \>    return FALSE; \> } \>

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 27/01/2008 at 19:42, xxxxxxxx wrote:

        Thanks Rick, much appreciated, it's not perfect but an improvment 🙂

        cheers,
        Matthias

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 28/01/2008 at 01:55, xxxxxxxx wrote:

          looks better, but some syntax highlighting would be great. 🙂

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 28/01/2008 at 12:15, xxxxxxxx wrote:

            Hey, stop pushin' it Samir! 😉

            I've not seen any developer sites which provide syntax highlighting on code sections. Since we're dealing with C++ and COFFEE, it may prove more challenging.

            I do appreciate the scroll block code section more than the mess currently employed. It would also be nice if CODE didn't interpret into BLOCKQUOTE+I. It really messes up the rest of the message so I end up using I for code sections anyway.

            Somewhat along Samir's line of thinking, it would also be a good idea to retain the ability to color or highlight text in the code section as this is employed often to show the 'code of interest'.

            Thanks!

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 28/01/2008 at 15:58, xxxxxxxx wrote:

              Quote: Originally posted by kuroyume0161 on 28 January 2008
              >
              > * * *
              >
              > Hey, stop pushin' it Samir! 😉
              >
              > * * *

              They can´t stop me! Noone can. Robert, are you pondering what I'm pondering?.........ok, I´m drifting. 😄

              > Quote: _I've not seen any developer sites which provide syntax highlighting on code sections. Since we're dealing with C++ and COFFEE, it may prove more challenging.
              >
              > * * *
              _


              🙂 Well, I don´t think of a full syntax highlighting support but it should be possible without too much work (thanks to css). Here is a german c++ forum that uses highlighting, also very basic. Mostly the general types and operators, but it helps identifying code much faster imo:

              (direct link to a post with highlighting) http://www.c-plusplus.de/forum/viewtopic-var-t-is-203701.html

              In that forum they even have a CODE button and especially a C++ Button. Good service and always a pleasure to write code. 🙂

              So, would still like to push this a little further...beside the improvements, which are very helpful indeed!

              thx!

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 28/01/2008 at 18:02, xxxxxxxx wrote:

                That site's hilarious. Line-numbers and all! 🙂

                I just think that *someone* (eh hem) would need to put in the SDK keywords or the only highlighting might be basic stuff - since we are mainly using extension types (LONG, Real, etc.).

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post