Page 1 of 1

Ctrl+Return insert LF

Posted: Tue Nov 11, 2014 4:55 pm
by eddy
Ctrl+Return insert LF instead of CRLF

Is it a scintilla default command key ?
If not, is this scintilla command key configured by PB IDE ?

Image

Re: Ctrl+Return insert LF

Posted: Thu Nov 13, 2014 9:41 pm
by Vera
Hi,
maybe it's an Easter egg?!

Unfortunately I can't test 'Ctrl+Return' as I don't know which font would display those line feed characters, neither found a setting to turn them on.

It's not among the keyboard commands listed on SciTEDoc.
A while ago I tested those key-commands in the IDE and made a Scintilla Shortcuts list you might like to check out for more.

greets ~ Vera

Re: Ctrl+Return insert LF

Posted: Thu Nov 13, 2014 10:05 pm
by TassyJim
It happens in an application I wrote which uses Scintilla.
I haven't seen any mention of it in any documentation either and I certainly didn't program the 'feature' as an option.

Jim

Re: Ctrl+Return insert LF

Posted: Fri Nov 14, 2014 1:14 am
by IdeasVacuum
In the PB IDE it is set via Preferences?

File/Preferences/Compiler/Defaults/Source File new line format.
It can be switched in the current file via File/File Format/New Line.