Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread ToddAndMargo

On 06/20/2017 07:35 PM, Stephen Wilcoxon wrote:
Huh.  If GTK2 supports secondary selection, I would have expected gvim 
compiled with it to support it.




I may have to do with what vi expects from "insert".  Pasting
stuff in other places than the cursor hot spot may be forbidden.


--

Yesterday it worked.
Today it is not working.
Windows is like that.



Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread Stephen Wilcoxon
Huh.  If GTK2 supports secondary selection, I would have expected gvim
compiled with it to support it.

On Tue, Jun 20, 2017 at 7:53 PM, ToddAndMargo  wrote:

> On 06/20/2017 05:48 PM, Stephen Wilcoxon wrote:
>
>> If you do :version within gvim, does it say it was compiled with gtk2?
>>
>
> :version
> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 21 2016 09:07:37)
> Included patches: 1-160
> Modified by 
> Compiled by 
> Huge version with GTK2 GUI.  Features included (+) or not (-):
>
>


Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread ToddAndMargo

On 06/20/2017 05:48 PM, Stephen Wilcoxon wrote:

If you do :version within gvim, does it say it was compiled with gtk2?


:version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 21 2016 09:07:37)
Included patches: 1-160
Modified by 
Compiled by 
Huge version with GTK2 GUI.  Features included (+) or not (-):


Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread Stephen Wilcoxon
If you do :version within gvim, does it say it was compiled with gtk2?

On Tue, Jun 20, 2017 at 7:44 PM, ToddAndMargo  wrote:

> On 06/20/2017 05:43 PM, Stephen Wilcoxon wrote:
>
>> Did you compile it from scratch or verify that yours is compiled using
>> gtk2?  It can be compiled with several different gui toolkits.
>>
>> On Tue, Jun 20, 2017 at 7:39 PM, ToddAndMargo > > wrote:
>>
>> On 06/20/2017 04:31 PM, Stephen Wilcoxon wrote:
>>
>> gvim is (sort of) a GUI editor.  I just checked and it can
>> support gtk2 (--enable_gui=gtk2 when compiling) so it might
>> actually work for your secondary selection.
>>
>>
>> Rats.  It just moved the cursor on mine.
>>
>>
>>
> I used "yum"
>
>
>
> --
> ~~
> Computers are like air conditioners.
> They malfunction when you open windows
> ~~
>


Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread ToddAndMargo

On 06/20/2017 05:43 PM, Stephen Wilcoxon wrote:
Did you compile it from scratch or verify that yours is compiled using 
gtk2?  It can be compiled with several different gui toolkits.


On Tue, Jun 20, 2017 at 7:39 PM, ToddAndMargo > wrote:


On 06/20/2017 04:31 PM, Stephen Wilcoxon wrote:

gvim is (sort of) a GUI editor.  I just checked and it can
support gtk2 (--enable_gui=gtk2 when compiling) so it might
actually work for your secondary selection.


Rats.  It just moved the cursor on mine.




I used "yum"



--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~


Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread Stephen Wilcoxon
Did you compile it from scratch or verify that yours is compiled using
gtk2?  It can be compiled with several different gui toolkits.

On Tue, Jun 20, 2017 at 7:39 PM, ToddAndMargo  wrote:

> On 06/20/2017 04:31 PM, Stephen Wilcoxon wrote:
>
>> gvim is (sort of) a GUI editor.  I just checked and it can support gtk2
>> (--enable_gui=gtk2 when compiling) so it might actually work for your
>> secondary selection.
>>
>>
> Rats.  It just moved the cursor on mine.
>


Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread ToddAndMargo

On 06/20/2017 04:31 PM, Stephen Wilcoxon wrote:
gvim is (sort of) a GUI editor.  I just checked and it can support gtk2 
(--enable_gui=gtk2 when compiling) so it might actually work for your 
secondary selection.




Rats.  It just moved the cursor on mine.


Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread Stephen Wilcoxon
gvim is (sort of) a GUI editor.  I just checked and it can support gtk2
(--enable_gui=gtk2 when compiling) so it might actually work for your
secondary selection.

On Tue, Jun 20, 2017 at 5:36 PM, ToddAndMargo  wrote:

> On 06/20/2017 02:57 PM, Andy Bach wrote:
>
>>
>> On Tue, Jun 20, 2017 at 4:43 PM, ToddAndMargo > > wrote:
>>
>> Bummer on the VI !  It inserts above the cursor
>>
>>
>> try
>> :help insert
>> a - append after cursor
>> A - append at end of line
>> i - insert before cursor
>> I - insert before first non-blank in the line
>> o - open a line below cursor
>> O - open a line above
>>
>> for pasting see
>> :help paste
>>
>> but vim also supports yanking into name buffers, so you can save as many
>> as you want (well, 26?) and the put from them
>> :help yank
>> :help put
>>
>> vim does everything, you just have to find it. ;->
>> --
>>
>> a
>>
>> Andy Bach,
>> afb...@gmail.com 
>> 608 658-1890 cell
>> 608 261-5738 wk
>>
>
>
> Hi Andy,
>
> When I said "Bummer on the VI !  It inserts above the cursor",
> I was referring to inserting the Secondary Selection
> clipboard above the cursor.  Sorry for the misunderstanding.
> Great write up, by the way.  Thank you!
>
> My favorite vi key is "u" for undo.  What me make mistakes?!?!?
> NEVER   Okay, more that I will admit.
>
> I forced myself to learn vi about 26 years ago.  It
> is truly the editor from hell.  But it works and I
> continue to use it all the time.
>
> With vi, I can use the Primary Clipboard (highlight and
> middle button paste) and not lose my cursor position.
> Make it real handy when copying a variable name.  Keeps
> the typos to a minimum.
>
> With text editor where I am forced to use the Secondary
> Clipboard (, V>), I have to constantly
> relocate my line after I do a copy.  It is a pain in the neck.
>
> With the Primary clipboard, this happens too.
>
> But with the Secondary Selection clipboard, I just push the
>  key down, highlight what I want, move the mouse
> to where I want to paste, middle click, and release the
>  key.  And my cursor stays put and I can keep typing
> where I started.  It is a YUGE time saver.
>
> I not sure how the Secondary Selection clipboard would work in
> vi as it is not a GUI editor and Secondary Selection requires
> the GTK Toolkit.
>
> -T
>
> ---
> ~~~
> Having been erased,
> The document you're seeking
> Must now be retyped.
> ~~~
>


Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread ToddAndMargo

On 06/20/2017 02:57 PM, Andy Bach wrote:


On Tue, Jun 20, 2017 at 4:43 PM, ToddAndMargo > wrote:


Bummer on the VI !  It inserts above the cursor


try
:help insert
a - append after cursor
A - append at end of line
i - insert before cursor
I - insert before first non-blank in the line
o - open a line below cursor
O - open a line above

for pasting see
:help paste

but vim also supports yanking into name buffers, so you can save as many 
as you want (well, 26?) and the put from them

:help yank
:help put

vim does everything, you just have to find it. ;->
--

a

Andy Bach,
afb...@gmail.com 
608 658-1890 cell
608 261-5738 wk



Hi Andy,

When I said "Bummer on the VI !  It inserts above the cursor",
I was referring to inserting the Secondary Selection
clipboard above the cursor.  Sorry for the misunderstanding.
Great write up, by the way.  Thank you!

My favorite vi key is "u" for undo.  What me make mistakes?!?!?
NEVER   Okay, more that I will admit.

I forced myself to learn vi about 26 years ago.  It
is truly the editor from hell.  But it works and I
continue to use it all the time.

With vi, I can use the Primary Clipboard (highlight and
middle button paste) and not lose my cursor position.
Make it real handy when copying a variable name.  Keeps
the typos to a minimum.

With text editor where I am forced to use the Secondary
Clipboard (, V>), I have to constantly
relocate my line after I do a copy.  It is a pain in the neck.

With the Primary clipboard, this happens too.

But with the Secondary Selection clipboard, I just push the
 key down, highlight what I want, move the mouse
to where I want to paste, middle click, and release the
 key.  And my cursor stays put and I can keep typing
where I started.  It is a YUGE time saver.

I not sure how the Secondary Selection clipboard would work in
vi as it is not a GUI editor and Secondary Selection requires
the GTK Toolkit.

-T

---
~~~
Having been erased,
The document you're seeking
Must now be retyped.
~~~


Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread Andy Bach
On Tue, Jun 20, 2017 at 4:43 PM, ToddAndMargo  wrote:

> Bummer on the VI !  It inserts above the cursor


try
:help insert
a - append after cursor
A - append at end of line
i - insert before cursor
I - insert before first non-blank in the line
o - open a line below cursor
O - open a line above

for pasting see
:help paste

but vim also supports yanking into name buffers, so you can save as many as
you want (well, 26?) and the put from them
:help yank
:help put

vim does everything, you just have to find it. ;->
-- 

a

Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk


Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread ToddAndMargo
On Tue, Jun 20, 2017 at 3:32 PM, ToddAndMargo > wrote:


Hi All,

I like Geany, but it does not support the "Secondary Selection"
clipboard.  This clipboard would save me a bunch of time as
I would not lose my cursor hot spot.

Anyone know of a light weight text editor for programming that
will support this?

To support the Secondary Selection clipboard, the editor has
to be built with the GTK Toolkit.

Many thanks,
-T

For those who don't know what I am talking about, X11 has
four clipboards.  There is a great video over here demonstrating
all four.  A must know for anyone using Linux:

http://www.cs.man.ac.uk/~chl/Secondary-Selection.mp4




On 06/20/2017 02:15 PM, Stephen Wilcoxon wrote:
Interesting but not something I've ever worried about.  Personally, I 
just use [g]vim on all platforms but it definitely does NOT support 
secondary selection.


I love it because I can be grab a chuck of text and drop it on
somewhere while typing and not have to lost where I am typing
and have to refind it.

Bummer on the VI !  It inserts above the cursor


Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread Stephen Wilcoxon
Interesting but not something I've ever worried about.  Personally, I just
use [g]vim on all platforms but it definitely does NOT support secondary
selection.

On Tue, Jun 20, 2017 at 3:32 PM, ToddAndMargo  wrote:

> Hi All,
>
> I like Geany, but it does not support the "Secondary Selection"
> clipboard.  This clipboard would save me a bunch of time as
> I would not lose my cursor hot spot.
>
> Anyone know of a light weight text editor for programming that
> will support this?
>
> To support the Secondary Selection clipboard, the editor has
> to be built with the GTK Toolkit.
>
> Many thanks,
> -T
>
> For those who don't know what I am talking about, X11 has
> four clipboards.  There is a great video over here demonstrating
> all four.  A must know for anyone using Linux:
>
> http://www.cs.man.ac.uk/~chl/Secondary-Selection.mp4
>
>
> --
> ~~
> Computers are like air conditioners.
> They malfunction when you open windows
> ~~
>


Any text editors for programming that support the secondary selection clipboard?

2017-06-20 Thread ToddAndMargo

Hi All,

I like Geany, but it does not support the "Secondary Selection"
clipboard.  This clipboard would save me a bunch of time as
I would not lose my cursor hot spot.

Anyone know of a light weight text editor for programming that
will support this?

To support the Secondary Selection clipboard, the editor has
to be built with the GTK Toolkit.

Many thanks,
-T

For those who don't know what I am talking about, X11 has
four clipboards.  There is a great video over here demonstrating
all four.  A must know for anyone using Linux:

http://www.cs.man.ac.uk/~chl/Secondary-Selection.mp4


--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~