Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 365
    • Issues 365
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3836
Closed
Open
Created Dec 26, 2021 by Marcono1234@Marcono1234

TortoiseGitMerge shows for "Wrap Lines" "Column" value relative to wrapped line start

When in TortoiseGitMerge the "Wrap Lines" setting is active, the "Column" value at the bottom of the window is only relative to the start of the wrapped line instead of to the actual start of the line:

Wrapped line screenshot

For example here "Column: 2" is reported, while the actual column value (when not wrapped) is 101.

What steps will reproduce the problem?

  1. Create a text file (name does not matter) with long lines of text, for example:
    test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test
  2. Open the file in TortoiseGitMerge in some way, e.g. by comparing it with a different file (Explorer menu "TortoiseGit" > "Diff")
  3. Enable "Wrap Lines" in the toolbar
  4. Resize the window if necessary to make a line wrap
  5. Place the cursor in the wrapped line
    ❌ The "Column" value at the bottom of the window only shows the column position relative to the start of the wrapped line, but not the column position relative to the actual start of the line

What is the expected output? What do you see instead?

Expected: When "Wrap Lines" is active, for wrapped lines the column value should be relative to the actual start of the line.

Actual: The "Column" value is only relative to the start of the wrapped line.

What version of TortoiseGit and Git are you using? On what operating system?

Microsoft Windows [Version 10.0.19043.1415]

TortoiseGit 2.12.0.0
git version 2.34.1.windows.1

TortoiseGitMerge 2.12.0.0 - 64 Bit, Mar 31 2021
libsvn_diff 1.8.0, -dev
apr 1.6.5
apr-util 1.6.1

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking