Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Space Before and After a Equals (=) character?

    Help wanted · · · – – – · · ·
    2
    2
    294
    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.
    • AlanRobbo 69
      AlanRobbo 69 last edited by

      ‘Language’ ‘User Defined Language’

      [DocumentVariables]
      Version=1
      [Variables]
      Chf=-0.5
      Cut1=5
      Cut2=3.5

      Hi, is there a way of adding a Space Before and After a Equals (=) character?

      [DocumentVariables]
      Version=1
      [Variables]
      Chf = -0.5
      Cut1 = 5.0
      Cut2 = 3.5
      This is how I’d like to see my File.

      1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones last edited by

        The user-defined-language settings will not automatically add spaces. However, you could search for \x20*=\x20* and replace with \x20=\x20 in regular expression mode. That will change any number of spaces (including zero) followed by = followed by any number of spaces (including zero) with exactly one space, exactly one equal, and exactly one space.

        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors