git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitk: Synchronize highlighting in file view when scrolling diff

From
Peter Oberndorfer <kumbayo84@arcor.de>
Date
Sep 18, 2012, 18:23 UTC
Message-ID
<5058BC35.6050007@arcor.de>
In-Reply-To
<1347947874-38597-1-git-send-email-stefan@haller-berlin.de>
On 2012-09-18 07:57, Stefan Haller wrote:
> Whenever the diff pane scrolls, highlight the corresponding file in the
> file list on the right. For a large commit with many files and long
> per-file diffs, this makes it easier to keep track of what you're looking
> at.

Hi, i like this function! I have often lost track which file i am currently looking at. Especially with long files.

But i noticed following minor thing: When selecting a new commit, for a split second the first file name is selected and then the "Comments" entry is selected. The flickering is more visible when you hold down the mouse on the up/down button of the "Lines of code" field.

Can this flickering be avoided?

Thanks, Greetings Peter

Show 9 quoted lines
> This allows simplifying the prevfile and nextfile functions, because
> all they have to do is scroll the diff pane.
>
> Signed-off-by: Stefan Haller <stefan@haller-berlin.de>
> ---
>   gitk | 27 ++++++++++++++++-----------
>   1 file changed, 16 insertions(+), 11 deletions(-)
>
>
Previous: Stefan HallerNext: Stefan Haller
Message 2 of 10 in “gitk: Synchronize highlighting in file view when scrolling diff”
  1. gitk: Synchronize highlighting in file view when scrolling diffStefan Haller, Sep 18, 2012
  2. Peter OberndorferSep 18, 2012
  3. gitk: Synchronize highlighting in file view when scrolling diffStefan Haller, Sep 19, 2012
  4. Paul MackerrasSep 18, 2012
  5. Marc BranchaudSep 19, 2012
  6. gitk: Synchronize highlighting in file view when scrolling diffStefan Haller, Sep 19, 2012
  7. Paul MackerrasSep 23, 2012
  8. Stefan HallerSep 24, 2012
  9. gitk: Do not select file list entries during diff loadingPeter Oberndorfer, Oct 26, 2012
  10. Stefan HallerOct 29, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.