Partial Auto Indent

Partial Auto Indent

4

    Jun 13, 2006#1

    Using UE 12

    I want to use the auto indent so the cursor automatically moves to the same horizontal position as the first non-whitespace char from the line before. I love this feature. :D

    When editing code I do not want UE to do any of the other auto indenting (and unindenting) on { or } or If...Else...End If...etc.

    I have already removed the /Indent lines from the wordfile for each of the languages I work in, but it still does the auto indenting. Is there some default built into the editor, and if so, how do I turn it off and still have the auto indent work for the first situation above?

    6,683583
    Grand MasterGrand Master
    6,683583

      Jun 14, 2006#2

      Yes, there are built-in defaults for certain languages for downwards compatibility to wordfiles which do not have the /Indent Strings = and /Unindent Strings = definitions. So deleting these definitions does not help.

      What helps in your case is to overrule the default indent and unindent strings with new strings which does never occur in your files. For example:

      /Indent Strings = "xyzzyx"
      /Unindent Strings = "zyxxyz"
      Best regards from an UC/UE/UES for Windows user from Austria

      4

        Jun 28, 2006#3

        Thanks for the reply. It works great now.

        Also it appears that

        Code: Select all

        /Indent Strings = ""
        /Unindent Strings = ""
        works just as well.