Rank: 204713 based on 0 downloads (last 30 days) and 0 file submitted
photo

David Gittins

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by David Gittins View all
Updated File Comments Rating
30 Mar 2010 EditorMacro - assign a macro to a keyboard key-stroke in the Matlab Editor and Command Window EditorMacro assigns a macro or action to requested key-binding in the Matlab Editor & Command Window Author: Yair Altman

Yair, possible workaround for the issue I mention. I commented out line 205:

% Also instrument the CW to catch user keystrokes
%set(jCmdWin, 'KeyPressedCallback', {@keyPressedCallback,jEditor,appdata,jCmdWin});

Now the tab-complete in the command window seems to work as normal, and I can still use the macros in the editor. I can't use the macros at the command window but that is fine for me because I only need them in the editor.

Maybe you could add an "editor only" option.

HTH

30 Mar 2010 Intelligent code completion for matlab Code completion for the Matlab editor. Author: Leif Persson

Les,
I had the same tab-completion issue when I tried EditorMacro. I have mentioned it on the EditorMacro page. I am running 2010a on CentOS.
D

30 Mar 2010 EditorMacro - assign a macro to a keyboard key-stroke in the Matlab Editor and Command Window EditorMacro assigns a macro or action to requested key-binding in the Matlab Editor & Command Window Author: Yair Altman

Yair, this is brilliant and exactly what I am looking for...

...but I can't use it! As soon as I bind any macros, tab completion for variables stops working in the command window. It just shows "No Completions Found". Tab-completion for files continues to work.

I think "Les" found the same issue:
http://www.mathworks.com/matlabcentral/fileexchange/25217-intelligent-code-completion-for-matlab

I am running R2010a on CentOS.

D

30 Mar 2010 EditorMacro - assign a macro to a keyboard key-stroke in the Matlab Editor and Command Window EditorMacro assigns a macro or action to requested key-binding in the Matlab Editor & Command Window Author: Yair Altman

Contact us