[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #18 from Christoph Cullmann --- I think before we start to allow some general unwrapped cursor handling, we should release the current multi cursor stuff a few months and fix it to some state we are confident with. The non-wrapping behavior

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #17 from Waqar Ahmed --- Created an MR for the crash. Tried this out a bit more, I think it needs some work before we think about mainlininng this. Basic stuff is broken, for example text insertion is broken if there are two cursors in the s

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Šimon Rataj
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #16 from Šimon (Simon) Rataj --- A screen recording of my desired behavior (Komodo IDE 12 Scintilla configured with a userscript): https://qu.ax/rWwV.mp4 I’d like Kate to have such option in its menu / settings. -- You are receiving this m

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Šimon Rataj
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #15 from Šimon (Simon) Rataj --- It crashes when creating a secondary cursor (with alt‐click) beyond the line’s end. I tried your branch, it worked for creating secondary cursor above / below the primary cursor, but I want to move the primar

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #14 from Waqar Ahmed --- > I would also like to use multicursor while having this feature turned on, but > it crashes just like it used to crash with block selection mode. Can you expand on that? When does it crash -- You are receiving t

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #13 from Waqar Ahmed --- After playing with your branch a bit, and trying out a couple of things on my own, maybe we can just add a config option for this for people who want to enable it and mark it as experimental? Close to all of the mult

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #12 from Waqar Ahmed --- Can you try the branch https://invent.kde.org/frameworks/ktexteditor/-/commits/work/virtualspace and see if something like that can work? -- You are receiving this mail because: You are watching all bug changes.

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #11 from Waqar Ahmed --- Some of the usecases in those comments can be handled with my simple proposal. See the example that I gave above. The only extra work that would need to be done is that you will need to manually move the primary curs

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Šimon Rataj
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #10 from Šimon (Simon) Rataj --- More examples described: https://github.com/microsoft/vscode/issues/13960#issuecomment-916160471 I agree with the last point. -- You are receiving this mail because: You are watching all bug changes.

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Šimon Rataj
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #9 from Šimon (Simon) Rataj --- There are some use cases illustrated in this comment: https://github.com/microsoft/vscode/issues/13960#issuecomment-318700740 -- You are receiving this mail because: You are watching all bug changes.

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Šimon Rataj
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #8 from Šimon (Simon) Rataj --- This is a comment regarding wrapCursor() method: should cursor be wrapped ? take config + blockselection state in account It seems, whoever wrote this, he planned the creation of such config option. -- You a

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-19 Thread Šimon Rataj
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #7 from Šimon (Simon) Rataj --- Exactly, I want to put cursor past the end of the line, I see this is possible to implement in Kate as it’s already a thing in the block selection mode (but if I type a letter in such place ant hit up arrow, i

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-18 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #6 from Waqar Ahmed --- Do you have a use case or an example of what you want to do? Maybe there is a better way to do it. -- You are receiving this mail because: You are watching all bug changes.

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-18 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #5 from Waqar Ahmed --- However, moving the cursors (after creation) beyond the line end will require some work. -- You are receiving this mail because: You are watching all bug changes.

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-18 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #4 from Waqar Ahmed --- So basically, you want to put cursor past the end of the line? Assuming the following text Foo| \n \n with the first cursor at the end of "Foo", you want to create more cursors in the same column in lines below eve

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-18 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=451496 Christoph Cullmann changed: What|Removed |Added CC||cullm...@kde.org --- Comment #3 from Chris

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-18 Thread Šimon Rataj
https://bugs.kde.org/show_bug.cgi?id=451496 --- Comment #2 from Šimon (Simon) Rataj --- I found a KTextEditor::ViewPrivate::wrapCursor() method, which just returns false only if block selection is on. I created another property that allows turning cursor wrapping off (that’s the “virtual whitespa

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-14 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=451496 Waqar Ahmed changed: What|Removed |Added CC||waqar@gmail.com --- Comment #1 from Waqar Ahm

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-14 Thread Šimon Rataj
https://bugs.kde.org/show_bug.cgi?id=451496 Šimon (Simon) Rataj changed: What|Removed |Added OS|Linux |All -- You are receiving this mail becau

[frameworks-ktexteditor] [Bug 451496] Virtual whitespace

2022-03-14 Thread Šimon Rataj
https://bugs.kde.org/show_bug.cgi?id=451496 Šimon (Simon) Rataj changed: What|Removed |Added CC||rat...@ratajs.cz -- You are receiving th