Whitespace within comments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joecar
    Fanatic
    • Apr 2015
    • 101

    Whitespace within comments

    How would I ignore whitespace within C comments...?
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    Hello,

    If Comments (or any grammar) are Important, then everything within is Important. We do not have two stage grammars for Whitespace within a Grammar, but that's on our wishlist. In the meantime, you can edit the File Format and remove the Comment grammar element, which will revert that text to Default text, which can be Important while the Whitespace can be defined as Unimportant.
    Aaron P Scooter Software

    Comment

    • joecar
      Fanatic
      • Apr 2015
      • 101

      #3
      Ok thanks, I'll try that.

      ( how do I copy a File Format and save it with a different name...? )

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 15997

        #4
        Hello,

        In the Tools menu -> File Formats dialog, select a format, then click the Save As button in the bottom right to Save As a new format. The new format can be renamed, have its settings altered, then saved.
        Aaron P Scooter Software

        Comment

        Working...