pbek / QOwnNotes

QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.
https://www.qownnotes.org/
GNU General Public License v2.0
4.63k stars 410 forks source link

[FEATURE] Free text selection. #2935

Open RodrigoTR04 opened 9 months ago

RodrigoTR04 commented 9 months ago

Feature request is to be able to freely select and edit text within a block of text without being forced onto the next line.

Additional context:

Feature is similar/identical to what Notepad++ does when you hold Alt and select with the mouse cursor. The user is able to select a rectangle akin to what is possible and clicking and holding in a desktop with icons. Notepad++ also allows user to write the same text to the multiple lines selected.

image image

pbek commented 9 months ago

I guess that would be very hard to achieve in a QPlainTextEdit.

RodrigoTR04 commented 9 months ago

From what I researched in other Qt editors, not sure if this applies to QPlainTextEdit specifically, Kate does it with Ctrl + Shift + B as a toggle. I couldn't find if Kate also uses QPlainTextEdit, since I'm not a developer myself.