This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10294 - Change insert line break to Shift+Enter
Summary: Change insert line break to Shift+Enter
Status: RESOLVED FIXED
Alias: None
Product: Amaya
Classification: Unclassified
Component: UI (show other bugs)
Version: 11.3.1
Hardware: PC Linux
: P2 minor
Target Milestone: ---
Assignee: lcarcone
QA Contact: lcarcone
URL:
Whiteboard:
Keywords: Usability
Depends on:
Blocks:
 
Reported: 2010-08-05 05:42 UTC by Scott Rippon
Modified: 2010-08-11 12:29 UTC (History)
5 users (show)

See Also:


Attachments

Description Scott Rippon 2010-08-05 05:42:38 UTC
Presently the shortcut to insert a line break (<br />) = Ctrl + Enter
Can this please be changed to = Shift + Enter

I know this might sound like a very minor trivial request but when I first started using Amaya I honestly didn't think there was a shortcut to insert a line break.  In the Microsoft Office, OpenOffice.org Office (and many other apps) the shortcut for inserting a line break is Shift + Enter (Ctrl + Enter inserts a page break).  I tried Shift + Enter and it didn't work so I started manually typing <br /> in the markup when I wanted a line break.  It was only now that I realise it has a different shortcut.

Can this please be changed to match the standard?

Thanks,
Scott Rippon.
Comment 1 lcarcone 2010-08-11 12:29:12 UTC
Hello,
Amaya users use to use 'Ctrl + Enter' as keyboard shortcut to create a <br /> and we don't want to change their habits.
However, keyboard shortcuts can be customized as explained in the Help section 29 'Changing keyboard shortcuts'.
For Linux distributions, the shortcuts file is named amaya.keyboard and is located on the directory 'config' (typically /usr/lib/Amaya/config)
In your case, you have to change the line:
Shift <Key>Return:                CreateParagraph()
by
Shift <Key>Return:                CreateBreak("\212")

Thanks,
Laurent