1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #2427 resolved

Maxdiff - display file anyway - highlights text when cicked

John 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