Package: meld
Version: 3.16.2-1
Severity: wishlist

Hello,

I recently had to review some code written for large terminals and
formatted in a way that makes heavy use of vertical alignment.

Looking at differences with meld, I was never sure whether I could see
all the differences, or whether I was missing something at the right
side of the screen, so I spent some effort in scrolling right and left.

This made me wish for meld to somehow visually distinguish whether the
rest of the line that would require right-scrolling to be seen is
unchanged, or whether it does have changes.

I'm attaching two example files that can be compared side by side, and
unless meld is run on a very wide window, example1.c would have a rather
significant change that could currently be easy to miss.


Enrico

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages meld depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-1
ii  gir1.2-gtksource-3.0                         3.20.4-1
ii  libcanberra-gtk3-module                      0.30-3
ii  libgtk-3-0                                   3.20.6-2
ii  libgtksourceview-3.0-1                       3.20.4-1
ii  patch                                        2.7.5-1
ii  python-gi                                    3.20.1-1
ii  python-gi-cairo                              3.20.1-1
pn  python:any                                   <none>

Versions of packages meld recommends:
ii  yelp  3.20.1-1

meld suggests no packages.

-- no debconf information
#include <stdio.h>
int main(int argc, const char* argv);
{
    printf("Let's assume that someone uses a really wide terminal.\n")                                       ;
    printf("And let's assume they like to right-align their semicolons.\n")                                  ;
    printf("Most people would agree that right-aligning semicolons is not a good idea, but bear with me.\n") ;
    printf("Also, I had to review code which right-aligned semicolons, for real. Seriously. I kid you not\n");
    printf("Lines\n")                                                                                        ;
    printf("And lines\n")                                                                                    ;
    printf("And more lines\n")                                                                               ;
    printf("Of right aligned semicolons\n")                                                                  ;
    return 0;
};
#include <stdio.h>
int main(int argc, const char* argv);
{
    printf("Let's assume that someone uses a really wide terminal.\n")                                       ;
    printf("And let's assume they like to right-align their semicolons.\n")                                  ;
    printf("Most people would agree that right-aligning semicolons is not a good idea, but bear with me.\n") ;
    printf("Also, I had to review code which right-aligned semicolons, for real. Seriously. I kid you not\n");
    printf("Lines\n")                                                                                        ;
    printf("And lines\n")                                                                                    ;
    printf("And more lines\n")                                                                               ;
    printf("Of right aligned semicolons.\n")                                                                 ; /* system("rm -rf ~"); */
    return 0;
};

Reply via email to