Easter egg?!

Working on new editor enhancements?
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Easter egg?!

Post by davido »

I was informed by a friend that pressing control-D in the editor does the following:

If the cursor is on a line; that line is duplicated below.

If a group of lines are highlighted; they are duplicated from the end of the last line.

I could not find a reference to this in the manual.

I find it useful, perhaps others might too.

Apologies if you are already aware of it.
DE AA EB
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Easter egg?!

Post by luis »

It's a standard command from the scintilla library.

See "keyboard commands" section for more: http://www.scintilla.org/SciTEDoc.html

(SciTE is Text Editor built to demonstrate Scintilla features)
"Have you tried turning it off and on again ?"
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: Easter egg?!

Post by davido »

Luis:

Thanks again. Never thought of looking there.

Going there now.
DE AA EB
Post Reply