TortoiseGitMerge cannot drag mouse to select last character of wrapped line
In TortoiseGitMerge with "Wrap Lines" enabled, it is not possible to select the last character of a wrapped line by dragging the mouse to the end of the line.
What steps will reproduce the problem?
- Open TortoiseGitMerge, for example:
- Create an empty text file
test1.txt
- Create a text file
test2.txt
with the following contenttest 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 test test test test test test test test test test test test test test test test test test test
- In the Windows Explorer, select both files and perform "TortoiseGit" > "Diff"
- Create an empty text file
- Enable "Wrap Lines" in the toolbar at the top
- If necessary resize the window so at least one line is wrapped
- In the wrapped line, press down your mouse and drag it to the end of the line (where the remainder of the line is wrapped)
❌ It is not possible to select the last character of the line
What is the expected output? What do you see instead?
Expected: When dragging the mouse it should be possible to select the complete text of the line, until the position where it is wrapped
Actual: The last character cannot be selected, see
Video showing bug
What version of TortoiseGit and Git are you using? On what operating system?
Microsoft Windows [Version 10.0.19043.1466]
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
Please provide any additional information below.
This only seems to affect text selection by dragging the mouse. Text selection with the arrow keys while holding down Shift works fine, though the cursor seems to be wrapped to the next line as well. Maybe that is related to why it does not work when dragging the mouse.