Embed a text editor into a gui

As far as I know the text edit component of uicontrol only deals with strings. I would like to embed a text editor similar to that of the m-code editor into a gui. The data from the text editor I would then like to save as a .m file.

Answers (2)

Walter Roberson
Walter Roberson on 30 Nov 2011
Are you going to want to underline words in color and everything? If so then you will either have to work at the JAVA level or else you will have to create an axes and draw everything on that. With selection and cut and paste and so on, either way sounds like a lot of work.
Thomas
Thomas on 1 Dec 2011
I am strictly looking for the most simplistic of text editing capabilities. I would like cut and paste and multiple lines. I do not need any sort text mark up. Could you suggest a source on programming at the JAVA level for Matlab?

Categories

Asked:

on 30 Nov 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!