nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Global tabgives and spacestotab config option


From: Peter Magnusson
Subject: Re: Global tabgives and spacestotab config option
Date: Fri, 18 Jun 2021 18:29:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 09/06/2021 10:04, Benno Schulenberg wrote:
Would it be possible to track if the user copy something with the
mouse -> do a meta-command that look up what was copied and if there 
is actually tabs in the buffer it will replace the spaces with tabs
When selecting text by dragging the mouse you are in a graphical
environment, in X, and while dragging the mouse X is talking to
the terminal, the graphical terminal, to obtain the text that is
being selected.  There is no communication between X and nano,
nano has no knowledge of what you are doing with the mouse.

(And when you use --mouse, then you cannot select text with the
mouse.  Nano consumes the clicks.)

So no, it's not possible to let nano modify text selections that
you make with the mouse under X.

Benno


Okey, its good to know that this is the end and its not possible.
At least I have tried get it to work in many ways.

/Peter


reply via email to

[Prev in Thread] Current Thread [Next in Thread]