Some users want patch same location, others want new line, no solution,
same line is history and wins

On Wed, 20 Nov 2024, 6:43 am advice2020, ***@***.***> wrote:

> I noticed that if try to paste OR drag and drop text into the blank space
> (area that does not contain line numbers yet) that it generates some
> undesired results.
> Here are a couple of simple examples.
>
> EXAMPLE 1
> If you have a document that looks like the following
> 1 apple
> 2 orange
>
> Default Behavior:
> If you either copy text and paste OR drag and drop text from elsewhere
> into the blank space at bottom of this document
> banana
> it ends up putting that line of text at the end of the last line number
> 1 apple
> 2 orangebanana
>
> Expected Result:
> 1 apple
> 2 orange
> 3 banana
>
> EXAMPLE 2
> If you do the same as the example 1 above but instead have multiple lines
> of text, it does the following
> banana
> grape
> pear
>
> Default Behavior:
> It adds that first line to the end of that line number and then creates
> new line numbers for the other lines
> 1 apple
> 2 orangebanana
> 3 grape
> 4 pear
>
> Expected Result:
> 1 apple
> 2 orange
> 3 banana
> 4 grape
> 5 pear
> ------------------------------
>
> The paste AND drag and drop are based on where the cursor is located.
> So when you perform either of these actions in the blank area below, the
> cursor gets moved to the end of the last line numbers text, causing this
> undesired result.
> I guess I am suggesting to add an option/setting that when text is pasted
> / drag and dropped into blank space, that it automatically creates a new
> line, instead of adding it to the end of an existing line, if anyone is
> interested in adding something like this.
> Note:
> This kind of mimics similar scenario with file managers where if the pane
> contains many files/lines that no more blank space is available.
>
> Thank You
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/geany/geany/discussions/4059>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAGGATJZE2HPVPQCDG7MIMD2BOPIPAVCNFSM6AAAAABSDAW5GWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGUYTKNRTG4>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>


-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4059#discussioncomment-11312070
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/repo-discussions/4059/comments/[email protected]>

Reply via email to