Space Before and After a Equals (=) character?



  • ‘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.



  • 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.


Log in to reply