Show modified lines in alternate color?

Syntax highlighting, code folding, brace matching, code indenting, and function list

Show modified lines in alternate color?

Postby tony01 » Sun Mar 13, 2005 8:44 pm

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:
User avatar
tony01
Newbie
 
Posts: 1
Joined: Sun Mar 13, 2005 12:00 am

Re: Show modified lines in alternate color?

Postby mjcarman » Mon Mar 14, 2005 3:09 pm

You can't. UE doesn't support change bars. I suggest sending IDM a feature request for it.
User avatar
mjcarman
Power User
Power User
 
Posts: 123
Joined: Thu Feb 10, 2005 12:00 am

Re: Show modified lines in alternate color?

Postby alandsidel » Thu Mar 08, 2007 5:03 pm

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.
User avatar
alandsidel
Newbie
 
Posts: 2
Joined: Thu Mar 08, 2007 12:00 am

Re: Show modified lines in alternate color?

Postby Mofi » Thu Mar 08, 2007 5:14 pm

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.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4055
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Show modified lines in alternate color?

Postby mwb1100 » Thu Mar 08, 2007 5:57 pm

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 support@idmcomp.com as a feature request.
User avatar
mwb1100
Basic User
Basic User
 
Posts: 46
Joined: Tue Nov 21, 2006 12:00 am

Re: Show modified lines in alternate color?

Postby alandsidel » Thu Mar 08, 2007 6:04 pm

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.
User avatar
alandsidel
Newbie
 
Posts: 2
Joined: Thu Mar 08, 2007 12:00 am

Re: Show modified lines in alternate color?

Postby mjcarman » Thu Mar 08, 2007 7:44 pm

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.
User avatar
mjcarman
Power User
Power User
 
Posts: 123
Joined: Thu Feb 10, 2005 12:00 am


Return to Syntax Highlighting