Mark changed lines - Line Change Indicator

Mark changed lines - Line Change Indicator

413
Basic UserBasic User
413

    Jul 29, 2004#1

    Is there a way to (automatically) get changed lines marked with a color or similar?

    6,603548
    Grand MasterGrand Master
    6,603548

      Mar 02, 2010#2

      Starting with UltraEdit v16.00 there is the Line Change Indicator feature which uses the undo history and is by default enabled. There is no customization. It is only possible to enable/disable the feature at Advanced - Configuration - Editor Display for files not opened before. And additionally independent of the configuration setting the Line Change Indicator can be enabled/disabled in menu View or from the MAIN toolbar (UE v16.00.0.1032 and later) for the active file and since UE v16.00.0.1032 also for all files by clicking on View - Disable LCI For All Files. The state of the line change indicator for the files are stored in uedit32.ini at section [LCI] and this file list can be cleared using the Clear History button at Advanced - Configuration - Toolbars / Menus - Miscellaneous.
      Best regards from an UC/UE/UES for Windows user from Austria

      1
      NewbieNewbie
      1

        Apr 08, 2010#3

        There seems to be a few faults with the "Line Change Indicator" feature in version 16.00. I have version 16.00.0.1032.

        1) View Menu item missing
        UltraEdit_UEStudio_Help.pdf - Page 194 / View menu
        The menu should include the following item: "Line Change Indicator"

        Ultraedit / Menu / View menu
        The actual menu does not include item: "Line Change Indicator"

        2) Configuration Menu item fails
        Ultraedit / Menu / Advanced / Configuration / Editor Display / Miscellaneous
        The menu does include the following item: "Line Change Indicator (default on per file)"
        While the item can be toggled, it fails to consistently work as displayed;
        Some files will subsequently have indicator displayed while others will not be.

        6,603548
        Grand MasterGrand Master
        6,603548

          Apr 08, 2010#4

          1) UE v16.00.0.1032 has by default two LCI items in menu View

          Line Change Indicator (LCI)
          Disable LCI For All Files


          They are included in all menu profile files (*.mb1) of the standard environments. I suppose you are using the English version of UltraEdit and this is not a localization problem. In case of having upgraded your UltraEdit installation from a previous version, you hopefully have confirmed the update of the standard menu profiles (with or without backup) on first start after installation of the new version.

          If you declined the menu profiles update, but you use a standard environment without any modification (menu, popup menu, toolbar), you can click on View - Environments and click on button Reset Build-In Environments. If you declined the update because of using a modified standard environment (usually modified are the toolbars), you can open Advanced - Configuration - Toolbars / Menus - Management, click on button Manage Menus, select the menu of the environment you currently use and press the button Reset to just reset the menu and popup menu profile files of this environment without changing the customized toolbar profile of the used environment.

          Last if you use a customized environment usually created by saving a standard environment with a non standard name and customizing it, you have to customize the menu and add the commands. You may switch first to one of the standard environments to see where the commands are for inserting them on the same place in your customized environment.


          2) The configuration setting you have written about defines the default visibility state of the line change indicator for files never opened before in UltraEdit since installing/upgrading to UE v16.00. Unchecking this setting does not have any effect on files already open or on files which were once opened in UE v16.00 before changing this setting.

          The command Disable LCI For All Files toggles the line change indication for all opened files without changing the visibility state saved individually for every file you ever opened in UltraEdit which is stored in uedit32.ini under section [LCI]. So section [LCI] is a permanently growing section containing the full name of an opened file and its line change indication visibility state setting. I personally don't like this behavior with keeping the line change indication visibility state setting for every file ever opened in UltraEdit forever, but IDM replied on my email that this is the wanted behavior of those users which requested it. Later IDM optimized saving file names in section LCI, see my second post below.

          The entire section [LCI] is removed when pressing the button Clear History at Advanced - Configuration - Toolbars / Menus - Miscellaneous or when using option Clear recent document/project and search/replace histories on exit when using UE v16.00.0.1036 or later.
          Best regards from an UC/UE/UES for Windows user from Austria

          4

            May 05, 2010#5

            Just updated to version 16 and wanted to say "thanks so much for including changed line feature!"

            Regards
            Brando

            6,603548
            Grand MasterGrand Master
            6,603548

              Sep 04, 2010#6

              Just a hint: UltraEdit v16.20.0.1009 saves the file names in section [LCI] in uedit32.ini now optimized, i.e. only those file names are saved with LCI value 0 or 1 of which Line Change Indicator (LCI) state in menu View is set by the user for the active file different to state of configuration setting Line change indicator (Default on per file).

              On update from a previous version 16.xx of UltraEdit, the list of file names in section [LCI] in uedit32.ini is automatically reduced on first UltraEdit exit after the update to the file names with LCI value for the file different to the configuration setting.

              In other words the number of file names stored in uedit32.ini is now much smaller than before which can be now even 0 file names. That decreases start up and exit time without difference in behavior of the line change indicator feature, except when toggling the configuration setting Line change indicator (Default on per file) in the dialog opened with clicking on Advanced - Configuration - Editor Display - Miscellaneous.
              Best regards from an UC/UE/UES for Windows user from Austria