Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] CodeEdit - listen to CTRL-S

I assume that you are talking about https://wiki.eclipse.org/Orion/How_Tos/Code_Edit#Saving_your_editor_contents.
CTRL+S is a preserved key binding for the widget. Your custom-save() function is kicked whenever CTRL+S happens on a dirty editor.
I am not sure why you want to control evt.contentsSaved and isDirty flag. Could you elaborate what you want to achieve?

Libing



From:        Gowrishankar Holalkere <gowrishankar.holalkere@xxxxxxxxxxxxxxxxx>
To:        Orion developer discussions <orion-dev@xxxxxxxxxxx>
Date:        12/03/2015 07:56 PM
Subject:        [orion-dev]  CodeEdit - listen to CTRL-S
Sent by:        orion-dev-bounces@xxxxxxxxxxx




Hello, Could you please tell me how to listen to CTRL-S command so that I can implement custom-save() and also how can I reset evt.contentsSaved and/or rest isDirty attribute if there is one after my custom-save() is successful.

Thanks

Gowrishankar Holalkere| Sr. Development Manager, IT
Solutions Development - Variable Data Management
Retail Branding and Information Solutions | Avery Dennison 
1700 West Park Drive, Suite 400, Westborough, MA 01581
508-948-3466 (office) | 508-308-7987 (mobile) 
Gowrishankar.Holalkere@xxxxxxxxxxxxxxxxx 



-------------------------------------------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
-------------------------------------------------------------------------------------------------------------
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev


Back to the top