Bug 333401 - Bookmark information gets lost when another line is moved across bookmarked line
Summary: Bookmark information gets lost when another line is moved across bookmarked line
Status: CONFIRMED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-14 08:53 UTC by Thomas Murach
Modified: 2021-02-16 20:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Murach 2014-04-14 08:53:42 UTC
If you have a bookmarked line (say, line 2) and try to move the next line (line 3) to line 2 using keyboard shortcuts (default: ctrl+shift+up), the previously bookmarked line (now line 3) looses it's highlighting.

I actually thought about fixing this myself, but found that a js file would have to be adapted, and the js API doesn't provide access to bookmark information as far as I can see...

Reproducible: Always
Comment 1 Dominik Haumann 2014-04-14 19:39:45 UTC
Right, it's not properly possible right now from js...

There are two ways fixing this: Implement this feature in C++ and call from a script, or expose the bookmark API to the scripting interface.
Comment 2 Thomas Murach 2014-04-14 23:46:14 UTC
I thought about these options as well, but at least for me this is out of scope, because I don't know anything about the scripting interface or calling c++ functionality from js or js as such. Sorry.
Comment 3 pify 2021-02-16 20:14:17 UTC
This problem is still present (Kate 20.12.2, KDE Frameworks 5.78.0).

(Does the status of the ticket have to be set to CONFIRMED?)
Comment 4 Christoph Cullmann 2021-02-16 20:17:33 UTC
We can set it to confirmed.
But at the moment nobody is working on this I am afraid, independent on this setting.