Ignore case for hex numbers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tjones
    Visitor
    • Jun 2016
    • 7

    Ignore case for hex numbers

    The stock C grammar flags differences between, say 0xf and 0xF.

    I don't wish to ignore case difference but one should agree that this is an unimportant difference (which it is currently set to).

    Any suggestions?

    Thanks, Tom
  • tjones
    Visitor
    • Jun 2016
    • 7

    #2
    I found it: The 'Number' element of the grammar should NOT have "This element is case sensitive' checked.

    Comment

    • Aaron
      Team Scooter
      • Oct 2007
      • 16000

      #3
      Hello,

      Our default behavior is to mark this type of change as Important, but you can freely customize any of our default settings. If something like this comes up again, click the cursor into the offending text. Wherever the blinking cursor is placed, we will show the grammar element name in the bottom status bar of the element it is within (note: not a selection, but just a single click placement). This would let you know the element name, which you can then customize in the Tools menu -> File Formats dialog -> select specific format, and edit the Grammars tab.
      Aaron P Scooter Software

      Comment

      Working...