JimHokanson / matlab_standard_library

Standard Library for my Matlab Projects
MIT License
8 stars 10 forks source link

Set focus in command window for goDebug #21

Closed JimHokanson closed 7 years ago

JimHokanson commented 9 years ago

goDebug is a useful command for opening the editor to the location of the current debug point. Most of the time however it is desirable to have the focus for typing be in the command window. This addition should make the default behavior be to set focus in the command window with an option to have it go to the editor.

I'm started placing some comand window code that is relevant into sl.ml.cmd_win ... (name may be wrong)

JimHokanson commented 7 years ago

Use ckeyboard (or ekeyboard) instead of keyboard to get this functionality. Completed in issue #26

JimHokanson commented 7 years ago

So when I was debugging I realized that the new keyboard functions are relevant intiallly, but not upon changing the document that is active in the editor. In this case goDebug is still useful.

Let's change goDebug to have its default behavior be to set the focus in the command window. See ckeyboard for the command that needs to be called.