pkgsrc/editors/texworks/patches/patch-src_CompletingEdit.cpp
markd af708b1daa texworks: update to 0.6.3
also add patch to work around qt5.14 issue.

Release 0.6.3 (TL'19) [March 2019]
 * Implement "Insert Citations..." dialog
 * Implement indenting/unindenting by Tab/Shift+Tab (thanks to fsonner)
 * Make synchronization granularity configurable (highlight corresponding
   character, word, or line)
 * Add ability to distinguish identically named files by displaying the
   respective folders they are in in the window title, window menu, and under
   "Open Recent"
 * Implement "Fit to content width" PDF zoom (which ignores empty space
   around the text)
 * Disable unavailable typesetting engines
 * Allow to change the editor font size by Ctrl+Mousewheel (thanks to Tim
   Hoffmann)
 * Improve the detection of spellchecking languages (add ability to search
   multiple directories and list all results)
 * Hide the menu bar in PDF full screen mode
 * Rework/expand code completion strings (thanks to Joseph Wright)
 * Add/update syntax highlighting for LaTeX, ConTeXt, Lua, DTX (all thanks to
   Joseph Wright), and BibTeX
 * Add cleanup-patterns for beamer files .nav & .snm
 * Add new/unified icons for typeset (thanks to Tim Hoffmann) and zooming
 * Display paper size and file size in the PDF metadata

 * Fix infinite loop in syntax highlighter (which caused significant
   slow-down especially for large files)
 * Fix underline when spellchecking with syntax highlighting
 * Fix "Place on Left/Right", especially on multi-screen setups
 * Avoid 'file "" not found' errors when synchronizing
 * Fix synchronization while searching in a PDF
 * Fix fine-grained synchronization near paragraph boundaries
 * Fix the PDF copy menu command
 * Fix PDF text selection
 * Fix font color reset when searching and using stylesheets
 * Fix crashes when working with locked PDFs
 * Fix unexpected cursor movement when using a combination of backspace and
   up/down arrow keys (thanks to Markus Kuhn)
 * Fix the font in the log parser output
 * Fix persistent magnifying glass
 * Remove unimplemented PDF menu items cut, paste, clear

 * Update translations
 * Update libraries for pre-built binaries
2020-03-01 12:38:04 +00:00

19 lines
659 B
C++

$NetBSD: patch-src_CompletingEdit.cpp,v 1.1 2020/03/01 12:38:04 markd Exp $
From ArchLinux
This is a temporary workaround for a regression in Qt 5.14.0, see
https://github.com/TeXworks/texworks/issues/883 and
https://bugreports.qt.io/browse/QTBUG-80831.
--- src/CompletingEdit.cpp.orig 2019-03-16 17:06:14.000000000 +0000
+++ src/CompletingEdit.cpp
@@ -87,6 +87,9 @@ CompletingEdit::CompletingEdit(QWidget *
cursorPositionChangedSlot();
updateLineNumberAreaWidth(0);
updateColors();
+
+ // Workaround for Qt 5.14, see https://bugreports.qt.io/browse/QTBUG-80831
+ setMouseTracking(false);
}
void CompletingEdit::prefixLines(const QString &prefix)