Hi,
By default it doesn't seem to be possible to delete whole words in an igTextEditor with CTRL + Backspace.
The word disappears, but immedaitely appears again.
Is there an option to make CTRL + Backspace work?
Hello Paul,
That is a really nice implementation out there. Thanks for sharing it so that other community members could benefit from it also.
Regarding the native support of this combination - I would recommend you to log it at http://ideas.infragistics.com, the Product Ideas site allows you to suggest new product features, new functionalities in existing products and controls, and even request new controls and products altogether. Members of the Infragistics Community then vote for the features and suggestions they want to see added to the products, resulting in the most popular features bubbling up to the top. When planning new releases, our Product Management team will look at the most popular features and use your feedback to prioritize upcoming work.
Steps to create your idea:
1. Log into the Infragistics Product Ideas site at http://ideas.infragistics.com (creating a new login if needed).2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)3. Add your product idea and be sure to be specific and provide as much detail as possible. Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
The benefits of submitting the product idea yourself include:
- Direct communication with our product management team regarding your product idea.- Notifications whenever new information regarding your idea becomes available.
Additional benefits of the product idea system include:- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.- Allow you to shape the future of our products by requesting new controls and products altogether.- You and other developers can discuss existing product ideas with members of our Product Management team.
The product ideas site allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Please let me know if you have any further questions on this, I will be glad to help.
Thanks for your reply.
Based on your suggestion i have come up with a slightly different approach which handles the requirements better (deletes only a single word).
It would still be nice if the igTextEditor would handle those key combinations natively in a future version.
The CTRL + Backspace keypress combination is not listed in the http://help.infragistics.com/Help/Doc/jQuery/2014.1/CLR4.0/html/igTextEditor_Accessibility_Compliance.html so it seems as we should consider it unsupported.
However what you can do is raise a new event that would provide the last two pressed keys and you can delete the text of the editor at that event. I have prepared a sample that demonstrated how this is achieved.
Please let me know if you have any questions.