FLTK logo

Re: [RFE] STR #3442: fluid: ^V (paste) should paste new item below current selection

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.bugs  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [RFE] STR #3442: fluid: ^V (paste) should paste new item below current selection Greg Ercolano Dec 12, 2021  
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: https://www.fltk.org/str.php?L3442
Version: 1.4-feature


Thanks for doing this!

 I did clone and checkout branch str3442 and give it a spin with a large
.fl file.

I highlighted 3 items somewhere in the middle (a bunch of #defines) and hit
^C, ^V, and it worked!

So given:
A
B
C
D
E

..I highlighted B/C/D and did ^C followed by ^V and it worked as expected:

A
B \
C  |-- orig
D /
B \
C  |-- pasted copy
D /
E

..which is great!

But then I hit ^V again, and that seemed to split the paste, where the top
line in the selection was copied above, and the lower lines were copied
below. After several such pastes I got:

A
B \
C  |-- orig
D /
B \
C  |-- paste #1
D /
B <-- paste #2  \
B <-- paste #3   >-- unexpected
B <-- paste #4  /
C \__ paste #2  \
D /              |
C \__ paste #3   |-- unexpected
D /              |
C \__ paste #4  /
D /
E


Link: https://www.fltk.org/str.php?L3442
Version: 1.4-feature


Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.