[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Tracking changes to MovingCursor instances
From:       Kevin Funk <krf () gmx ! de>
Date:       2013-06-18 19:47:54
Message-ID: 2856606.MhDuayDMdT () kerberos
[Download RAW message or body]

Hey guys,

What's the preferred way to track changes to MovingCursor instances?

From [1] I can see that there is a MovingRangeFeedback class that notifies 
about changes to a MovingRange instance. But I don't see a 
"MovingCursorFeedback" class for getting feedback from a MovingCursor. What's 
the intention behind this. Am I missing something?

Context: I'm trying to fix a bug [2] in KDevelop. I need to be able to track 
the movement of editor marks. The code in question already uses MovingCursor 
to at least save back the position when the document is saved. However, I'd 
like to have immediate notifications in case the position of a MovingCursor 
changes.

Thanks

[1] http://kate-editor.org/2010/04/28/kate-internals-smart-cursors-and-smart-ranges/
[2] https://bugs.kde.org/show_bug.cgi?id=310725

-- 
Kevin Funk
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic