GavriYashar / Matlab-Editor-Plugin

Extends features for the matlab editor, Bookmarks, FileStructure, Clipboard stack
MIT License
74 stars 12 forks source link

FileStructure Viewer: Behavior when pressing Enter #37

Closed MartinLechner-TD closed 8 years ago

MartinLechner-TD commented 8 years ago

Pressing Enter in the search box should jump to the first marked hit of the search results. In Eclipse opening the similar panel (Strg+o) marks the method of the actual cursor selection. The search narrows the possible hits and always the first element is selected, so it's always clear for the user to which method will be jumped after pressing Enter. Pressing Esc will always close the FileStructure Viewer without modifying the actual cursor position.

GavriYashar commented 8 years ago

Pressing Esc will always close the FileStructure Viewer without modifying the actual cursor position.

is there a problem with this? Esc always closes a JFrame (from MEP) w/o modifying anything. at least it should