Bug 474060 - idea: "highlighter-pen" mode to mark "pending" edits
Summary: idea: "highlighter-pen" mode to mark "pending" edits
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.03.80
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-02 14:36 UTC by Richard Neill
Modified: 2024-09-28 09:11 UTC (History)
1 user (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 Richard Neill 2023-09-02 14:36:55 UTC
When editing (and refactoring) a large chunk of code, sometimes it could be really helpful to have the equivalent of a red-pen, or yellow-highlighter, to temporarily mark up bits of the code that need looking at. 

This is very easy to do when printing it, but awkward when working with the electronic file (it's rather ugly to embed lots of "FIXMEs" and then remove them later).

My suggestion:

1. A highlighting mode, which makes the cursor-select give the text a (configurable) luminous-yellow background.

2. These highlights are ephemeral - they don't change the file, and go away when the editor is closed. 
 (they may need to persist if the editor should crash).

3. On close, the editor should warn if any highlights are still present.

4.  Right-click menu on a highlighted-section allows you to quickly remove the highlight.

Thanks for your time and consideration - I hope this is a useful idea.
Comment 1 Waqar Ahmed 2024-09-28 09:11:38 UTC
Moving to Kate. This is out of scope for kwrite