Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » U++ 2023.2 "pre-alpha"
Re: U++ 2023.2 "pre-alpha" [message #60142 is a reply to message #60141] Wed, 13 September 2023 14:43 Go to previous messageGo to previous message
Tom1
Messages: 1217
Registered: March 2007
Senior Contributor
mirek wrote on Wed, 13 September 2023 14:40
Tom1 wrote on Wed, 13 September 2023 12:49
mirek wrote on Wed, 13 September 2023 12:34
Tom1 wrote on Mon, 11 September 2023 15:38
And another thing...

When using "Show git history for file..." for "plugin/tif/tifupp.cpp" and comparing the previous and current version, very large region of code seems to be changed at the first glance. However, in reality, the comparison function does not match the lines very well and there are just few changes to display. Please take a look.

Best regards,

Tom



There is a change in indentation. Should we ignore it? (That is not rethrical question, I really wonder whether we should... it is doable)

Mirek

Hi,

Yes, I see there are several indentation changes, but the real issue begins on line 904 "break;", where it completely loses sync. Then it re-synchronizes to "break;" on line 1001, within another switch. Do you get this same behavior?

Tom


Yes, and I believe it works correctly. That break has different indentation, so it "synchronizes" (not that it is how it really works) on the first break that has the same indent. Which is on line 1001. (Please check whether I interpret it correctly...)

Well, I guess it's just so complicated problem that there is no easy nor perfect solution. In this specific case the indentation is the cause for this readability issue, but it could be any change really that can cause similar 'loss of sync'. Probably not worth spending tens of hours, to make it find the minimal set of changed characters in optimal sequences and visualize accordingly.

I just wanted to point out that the current comparison on this file makes up an illusion that the file is all different now. It is really hard to see what the real changes are.

Best regards,

Tom
 
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ide: Flow breaking statements now have different highlighting
Next Topic: ide: Now showing out of page function / class headers
Goto Forum:
  


Current Time: Sun Jun 09 03:00:24 CEST 2024

Total time taken to generate the page: 0.01846 seconds