Show modified lines in alternate color?

Show modified lines in alternate color?

1
NewbieNewbie
1

    Mar 14, 2005#1

    Hi all:

    How Can I highlight a line when a text has changed?

    In the example below, I made changes in lines 2, 5 and 7,
    How can i identify the lines that had text changed?
    Is there a highlight option? Like active line coloring?

    Code: Select all

    1             10   FILLER  PIC X(10) VALUE 'FUND   '.                  
    2             10   FILLER  PIC X(15) VALUE 'NEXT-PAYOUT'.    changed1          
    3             10   FILLER  PIC X(15) VALUE 'PRODUCT'.                  
    4             10   FILLER  PIC X(11) VALUE 'CLIENT  '.                 
    5             10   FILLER  PIC X(25) VALUE 'CLIENT NAME'.    changed2          
    6             10   FILLER  PIC X(04) VALUE SPACE.                      
    7             10   FILLER  PIC X(09) VALUE 'LANGUAGE'.       changed3
    Thanks
    Tony

    :roll:

    119
    Power UserPower User
    119

      Mar 14, 2005#2

      You can't. UE doesn't support change bars. I suggest sending IDM a feature request for it.

      2
      NewbieNewbie
      2

        Mar 08, 2007#3

        Subject says it all.. is this possible in UE32 10.20c?

        Sometimes after making changes and walking away for a bit, it's hard to remember what changes have been made in a file. It would be nice if you could show lines modified since your last save with a different background color or something like that.

        6,675585
        Grand MasterGrand Master
        6,675585

          Mar 08, 2007#4

          That's not possible! Even in UE 13.00 it is not possible. UltraEdit is an editor and not a compare tool. Save the current file with a different name and use the compare tool to see the changes.

          I know, word processing programs like MS Word can mark/highlight every modification by a user. But the file format of MS Word is designed for that purpose and can hold lots of additional data in hidden areas.

          A text file cannot hold hidden data and when editing a file with for example 4 GB and run a search and replace all, many lines could be changed and only the number of lines could need several MBs. Also remembering the number of lines which were modified is problematic when lines are deleted or inserted with copy/cut+paste or by search and replace operations. This would result in a permanent update of the line number database. That's not practicable. Comparing the file after modification with the backup file or the original file before editing is much better.
          Best regards from an UC/UE/UES for Windows user from Austria

          79
          Advanced UserAdvanced User
          79

            Mar 08, 2007#5

            It may not be currently possible in UltraEdit, and it may not be easy to implement, but there are editors that support this feature so it is certainly not impossible.

            I'd suggest sending this to [email protected] as a feature request.

            2
            NewbieNewbie
            2

              Mar 08, 2007#6

              I'm certain that it's possible to add, was just curious if the version I'm using (or a newer one) has it.

              Mofi it doesn't have anything to do with it being a text editor. The fact that it has a (nearly unlimited) undo-buffer/history means it knows every line that has changed, and every change made to the line. Simply highlighting which lines are marked in its undo buffer wouldn't be a complicated task at all.

              mwb1100 thanks, this thread can sit for a bit to see if a UE32 guru responds with a way to make it work, if I don't get any responses along those lines I'll definitely forward it on as a feature request.

              119
              Power UserPower User
              119

                Mar 09, 2007#7

                alandsidel wrote:this thread can sit for a bit to see if a UE32 guru responds with a way to make it work, if I don't get any responses along those lines I'll definitely forward it on as a feature request.
                There is no "way to make it work." That would require changes to the program itself. This is a user forum -- the developer's don't participate here. If you want the feature, send a request.