
[Done] Way to copy a procedure easily and quickly
[Done] Way to copy a procedure easily and quickly
Solved, due to Josh's explanation below. 

Last edited by Dude on Tue Jan 10, 2017 11:09 am, edited 2 times in total.
Re: Way to copy a procedure easily and quickly
Close folding and you have to mark only one line
sorry for my bad english
Re: Way to copy a procedure easily and quickly

Re: Way to copy a procedure easily and quickly
Which OS?
Needless to say, you have to mark the full line, incl. CrLf
Needless to say, you have to mark the full line, incl. CrLf
sorry for my bad english
Re: Way to copy a procedure easily and quickly
So THAT'S the secret! Thanks!Josh wrote:Of course you have to mark the full line, incl. CrLf

Re: [Done] Way to copy a procedure easily and quickly
It makes sense like it is. You don't have to copy the line after that, you have to copy the full procedure head-line and CrLf belongs to this
sorry for my bad english
Re: [Done] Way to copy a procedure easily and quickly
Well, I'm so used to triple-clicking a line of text to select all that line, like for any other app. Would be awesome if we could do that on a folded procedure (triple-click the line) and then simply press Ctrl+C to copy the whole procedure, instead of also having to drag the mouse down a bit to select the next blank line as well.
Re: [Done] Way to copy a procedure easily and quickly
I use [ctrl+m] until procedure is highlighted, then [ctrl+c]. 

The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: [Done] Way to copy a procedure easily and quickly
PureBasic CodeArchiv :
EditorGadget_GetCursorPosition:
; German forum: http://www.purebasic.fr/german/archive/ ... highlight=
EditorGadgetCursorX(Gadget)
EditorGadgetCursorY(Gadget)
EditorGadgetCursorPos(Gadget)
EditorGadgetLocate(Gadget,x,y)
============
SelectEditorLine:
http://www.purebasic.fr/english/search. ... mit=Search
EditorGadget_GetCursorPosition:
; German forum: http://www.purebasic.fr/german/archive/ ... highlight=
EditorGadgetCursorX(Gadget)
EditorGadgetCursorY(Gadget)
EditorGadgetCursorPos(Gadget)
EditorGadgetLocate(Gadget,x,y)
============
SelectEditorLine:
http://www.purebasic.fr/english/search. ... mit=Search
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com