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. Can't add C# code with comments

Can't add C# code with comments

Scheduled Pinned Locked Moved Site Bugs / Suggestions
csharpcomtoolsquestion
14 Posts 2 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.
  • V Offline
    V Offline
    Vitaly Tomilov
    wrote on last edited by
    #1

    Seems like the presence of the function description, that destroys the formatting. I have been struggling to submit an article, but can't add any code to it, it gets scrambled: http://www.codeproject.com/script/Articles/SubmissionWizard.aspx?aid=380098[^]

    Professional System Library on www.prosyslib.org

    C 1 Reply Last reply
    0
    • V Vitaly Tomilov

      Seems like the presence of the function description, that destroys the formatting. I have been struggling to submit an article, but can't add any code to it, it gets scrambled: http://www.codeproject.com/script/Articles/SubmissionWizard.aspx?aid=380098[^]

      Professional System Library on www.prosyslib.org

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      I've edited and just deleted the spurious HTML and submitted and it worked like a charm.

      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

      V 1 Reply Last reply
      0
      • C Chris Maunder

        I've edited and just deleted the spurious HTML and submitted and it worked like a charm.

        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

        V Offline
        V Offline
        Vitaly Tomilov
        wrote on last edited by
        #3

        How that spurious HTML get in there? I'm just pasting the code as advised, and it looks fine on the first preview, but on the second it gets killed again. I have the article ready for publishing, and now stuck on this... Plus, even if I submit it, it doesn't seem to appear on my article list or the list of articles waiting for approval. This is strange...

        Professional System Library on www.prosyslib.org

        C 1 Reply Last reply
        0
        • V Vitaly Tomilov

          How that spurious HTML get in there? I'm just pasting the code as advised, and it looks fine on the first preview, but on the second it gets killed again. I have the article ready for publishing, and now stuck on this... Plus, even if I submit it, it doesn't seem to appear on my article list or the list of articles waiting for approval. This is strange...

          Professional System Library on www.prosyslib.org

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #4

          Vitaly Tomilov wrote:

          it looks fine on the first preview, but on the second it gets killed again.

          So it's fine on the first preview, but on the second preview you see issues? Or the second time you edit it?

          Vitaly Tomilov wrote:

          it doesn't seem to appear on my article list or the list of articles waiting for approval

          I edited and published your article directly, so it was pre-approved.

          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

          V 1 Reply Last reply
          0
          • C Chris Maunder

            Vitaly Tomilov wrote:

            it looks fine on the first preview, but on the second it gets killed again.

            So it's fine on the first preview, but on the second preview you see issues? Or the second time you edit it?

            Vitaly Tomilov wrote:

            it doesn't seem to appear on my article list or the list of articles waiting for approval

            I edited and published your article directly, so it was pre-approved.

            cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

            V Offline
            V Offline
            Vitaly Tomilov
            wrote on last edited by
            #5

            Just as I go into editing it again, the C# code gets scrambled. I just deleted the comments headers everywhere, but not happy about it, as it is essential code documentation.

            Professional System Library on www.prosyslib.org

            C 1 Reply Last reply
            0
            • V Vitaly Tomilov

              Just as I go into editing it again, the C# code gets scrambled. I just deleted the comments headers everywhere, but not happy about it, as it is essential code documentation.

              Professional System Library on www.prosyslib.org

              C Offline
              C Offline
              Chris Maunder
              wrote on last edited by
              #6

              It is essential and should be in the code, and we've not generally had issues like this before. I'll continue looking into it to see if I can replicate your issue. Out of interest, which browser are you using?

              cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

              V 2 Replies Last reply
              0
              • C Chris Maunder

                It is essential and should be in the code, and we've not generally had issues like this before. I'll continue looking into it to see if I can replicate your issue. Out of interest, which browser are you using?

                cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                V Offline
                V Offline
                Vitaly Tomilov
                wrote on last edited by
                #7

                I tried both FF-12 and Chrome-18, the same happens. Check out the code you fixed... if you go into the edit mode again, the pieces where it has XML comment block on top of declarations gets scrambled. I have been fighting with this for more than hour, trying to fix things in html, but nothing seems to help, just i get click to edit the article again - the problems are back.

                Professional System Library on www.prosyslib.org

                C 1 Reply Last reply
                0
                • C Chris Maunder

                  It is essential and should be in the code, and we've not generally had issues like this before. I'll continue looking into it to see if I can replicate your issue. Out of interest, which browser are you using?

                  cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                  V Offline
                  V Offline
                  Vitaly Tomilov
                  wrote on last edited by
                  #8

                  P.S. With so many problems publishing it, I appreciate if you could at least re-publish it now from the latest version, because the first one was even missing the source+bin downloads, it is just wasting time on the main page...

                  Professional System Library on www.prosyslib.org

                  C 1 Reply Last reply
                  0
                  • V Vitaly Tomilov

                    I tried both FF-12 and Chrome-18, the same happens. Check out the code you fixed... if you go into the edit mode again, the pieces where it has XML comment block on top of declarations gets scrambled. I have been fighting with this for more than hour, trying to fix things in html, but nothing seems to help, just i get click to edit the article again - the problems are back.

                    Professional System Library on www.prosyslib.org

                    C Offline
                    C Offline
                    Chris Maunder
                    wrote on last edited by
                    #9

                    I will get this sorted out, and please accept my apologies for the frustration.

                    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                    V 1 Reply Last reply
                    0
                    • V Vitaly Tomilov

                      P.S. With so many problems publishing it, I appreciate if you could at least re-publish it now from the latest version, because the first one was even missing the source+bin downloads, it is just wasting time on the main page...

                      Professional System Library on www.prosyslib.org

                      C Offline
                      C Offline
                      Chris Maunder
                      wrote on last edited by
                      #10

                      I've published the latest version with the links. Would it be possible to email me the HTML (or markdown) you want to see published and I'll go through the whole thing my end and ensure it's being sensible. Email is chris@codeproject.com

                      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                      1 Reply Last reply
                      0
                      • C Chris Maunder

                        I will get this sorted out, and please accept my apologies for the frustration.

                        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                        V Offline
                        V Offline
                        Vitaly Tomilov
                        wrote on last edited by
                        #11

                        Hi Chris, Any progress in this problem yet? I just tried to update the code to include XML comment block, but the problem is still there. I am waiting for it to get fixed before updating all the code. If you need any assistance from me in reproducing the issue, just let me know. I am anxiously expecting a fix for this issue. Thank you, Vitaly

                        C 1 Reply Last reply
                        0
                        • V Vitaly Tomilov

                          Hi Chris, Any progress in this problem yet? I just tried to update the code to include XML comment block, but the problem is still there. I am waiting for it to get fixed before updating all the code. If you need any assistance from me in reproducing the issue, just let me know. I am anxiously expecting a fix for this issue. Thank you, Vitaly

                          C Offline
                          C Offline
                          Chris Maunder
                          wrote on last edited by
                          #12

                          Would it be possible to email me the HTML you want to see published. Email is chris@codeproject.com. I'd like to edit your article myself and see the issues that your HTML (or our editor) is causing directly. I've not encountered this before (nor has Sean reported this) so something funky is happening.

                          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                          V 1 Reply Last reply
                          0
                          • C Chris Maunder

                            Would it be possible to email me the HTML you want to see published. Email is chris@codeproject.com. I'd like to edit your article myself and see the issues that your HTML (or our editor) is causing directly. I've not encountered this before (nor has Sean reported this) so something funky is happening.

                            cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                            V Offline
                            V Offline
                            Vitaly Tomilov
                            wrote on last edited by
                            #13

                            It is done. Cheers!

                            C 1 Reply Last reply
                            0
                            • V Vitaly Tomilov

                              It is done. Cheers!

                              C Offline
                              C Offline
                              Chris Maunder
                              wrote on last edited by
                              #14

                              ...and updated!

                              cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                              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