Ctrl+Return insert LF

Working on new editor enhancements?
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Ctrl+Return insert LF

Post 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
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Ctrl+Return insert LF

Post 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
TassyJim
Enthusiast
Enthusiast
Posts: 153
Joined: Sun Jun 16, 2013 6:27 am
Location: Tasmania (Australia)

Re: Ctrl+Return insert LF

Post 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
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Ctrl+Return insert LF

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply