Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/kile Don't order pointers relative to 0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c13b38f4298e
branches:  trunk
changeset: 431562:c13b38f4298e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 14 19:05:27 2020 +0000

description:
Don't order pointers relative to 0.

diffstat:

 editors/kile/distinfo                                       |   3 ++-
 editors/kile/patches/patch-src_editorkeysequencemanager.cpp |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r f1aaa891dfad -r c13b38f4298e editors/kile/distinfo
--- a/editors/kile/distinfo     Thu May 14 19:04:51 2020 +0000
+++ b/editors/kile/distinfo     Thu May 14 19:05:27 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.22 2015/11/03 03:32:17 agc Exp $
+$NetBSD: distinfo,v 1.23 2020/05/14 19:05:27 joerg Exp $
 
 SHA1 (kile-2.1.3.tar.bz2) = 1a80748d5f01f359b5e5c28140ec90691f0166c5
 RMD160 (kile-2.1.3.tar.bz2) = 22105a1e9b48b62dca9c866918ddc6dda3c278e2
 SHA512 (kile-2.1.3.tar.bz2) = 820cb5e2579f243ce87409aa4d483a58b0a2cf1d86bff72dd12264570bfe72e7819c88aa4333080f8281e54e8315e2c11f961b41f13a6215913dfa4f7bd3feda
 Size (kile-2.1.3.tar.bz2) = 4911212 bytes
+SHA1 (patch-src_editorkeysequencemanager.cpp) = 33bce5ed2b5e59135211f41c6005626e55a78880
diff -r f1aaa891dfad -r c13b38f4298e editors/kile/patches/patch-src_editorkeysequencemanager.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/kile/patches/patch-src_editorkeysequencemanager.cpp       Thu May 14 19:05:27 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_editorkeysequencemanager.cpp,v 1.1 2020/05/14 19:05:27 joerg Exp $
+
+--- src/editorkeysequencemanager.cpp.orig      2020-05-13 00:28:34.099099328 +0000
++++ src/editorkeysequencemanager.cpp
+@@ -203,7 +203,7 @@ bool Recorder::eventFilter(QObject* /* o
+       {
+               for(int i = 0; i < s.length(); ++i) {
+                       QString toCheck = s.right(s.length() - i);
+-                      if(m_watchedKeySequencesList.contains(toCheck) > 0) {
++                      if(m_watchedKeySequencesList.contains(toCheck)) {
+                               m_view->document()->removeText(KTextEditor::Range(m_oldLine, m_oldCol - (s.length() - i - 1), m_oldLine, m_oldCol));
+                               m_typedSequence.clear(); // clean m_typedSequence to avoid wrong action triggering if one presses keys without printable character
+                               emit detectedTypedKeySequence(toCheck);



Home | Main Index | Thread Index | Old Index