[SOLVED] Ozone displays code indentation incorrectly??

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Ozone displays code indentation incorrectly??

    The short video file here : tinyurl.com/y8h5as5n was made for a different post to this forum.

    Unrelated to that post is the question of why Ozone reformats my source code incorrectly.
    Timecode 0:50 of the video shows that gdbgui displays the statements enclosed within the while loop with proper indentation, as in the original source file.
    Timecoede 1:30 of the video shows that ozone indents them incorrectly. Nested blocks are not indented as in the original source file, and statements that had been indented to the same level are now indented to different levels (see lines 126/127 and 135/136). I suspect that this is due to expanding tabs to spaces incorrectly. Is there a preference setting that will fix this?
    Thanks for your help...
  • Hi,

    Thank you for your inquiry.

    Try Tools->Preferences->General->Source Viewer->Tab spacing->4

    That should do the trick. Could you verify?

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.