Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 411286

Summary: Can't cancel vi modes
Product: [ECD] Orion Reporter: Bogdan Gheorghe <gheorghe>
Component: EditorAssignee: Bogdan Gheorghe <gheorghe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ken_walker, Silenio_Quarti
Version: 3.0Flags: ken_walker: review+
Silenio_Quarti: review+
Target Milestone: 3.0 RC3   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Bogdan Gheorghe CLA 2013-06-20 14:09:01 EDT
1. Open Editor
2. Change Keybindings to VI
3. Hit "C" to start a change command
4. Hit ESC - it exits but we run the wrong cancel action and remove the insert mode instead of the change mode

This happens because we don't are adding multiple cancel actions with the same name so the last one wins. The fix is to have unique cancel action names.
Comment 1 Bogdan Gheorghe CLA 2013-06-20 14:09:47 EDT
Created attachment 232609 [details]
Fix
Comment 2 Bogdan Gheorghe CLA 2013-06-20 15:19:46 EDT
Patch released