Maxdiff - display file anyway - highlights text when cicked

John Sparrow avatarJohn Sparrow created an issue

When maxdiff is configured, and you click 'display the file anyway' in workbench (unified diff output), the resulting diff is partially highlighted to current mouse position, as if the cursor was dragged over the diff.

THg 2.7.0, Windows 7 and 8, both x64.

Comments (1)

  1. Steve Borho

    chunks, fileview: delay force-display until mouse release (fixes #2427)

    setText() while mouse press causes unwanted text selection. It can be avoided by using indicatorReleased or SCN_INDICATORRELEASE.

    This patch uses SCN_INDICATORRELEASE because, - indicatorReleased isn't available in older version - indicatorReleased cannot be queued because of argument type QObject::connect: Cannot queue arguments of type 'Qt::KeyboardModifiers' (Make sure 'Qt::KeyboardModifiers' is registered using qRegisterMetaType().)

    Tested compatibility with Ubuntu 10.10.

    → <<cset 9cb78e14a169>>

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.