Thread Subject: Suggestion for Matlab editor

Subject: Suggestion for Matlab editor

From: kevin

Date: 19 Jul, 2005 10:01:54

Message: 1 of 14

It would be great if Matlab editor supports column mode where I can do
editing (eg. copy-and-paste) column wise.

Subject: Suggestion for Matlab editor

From: Torbjorn Hergum

Date: 19 Jul, 2005 19:07:09

Message: 2 of 14

kevin wrote:

>It would be great if Matlab editor supports column mode where I can do
>editing (eg. copy-and-paste) column wise.
>
>
>
You can do that fairly well using 'emacs' and 'emacslink'. Have a look
in matlab/java/extern/EmacsLink/install.html

Torbjørn

Subject: Suggestion for Matlab editor

From: gigio

Date: 19 Jul, 2005 18:13:07

Message: 3 of 14

On 19 Jul 2005 10:01:54 -0700, "kevin" <cykhung@hotmail.com> wrote:

>It would be great if Matlab editor supports column mode where I can do
>editing (eg. copy-and-paste) column wise.

And what about auto-completion
(like in the workspace)?

Subject: Suggestion for Matlab editor

From: Kristin Thomas

Date: 19 Jul, 2005 14:40:27

Message: 4 of 14

gigio wrote:
>
> And what about auto-completion
> (like in the workspace)?

Do you mean that you want something like the Command Window's tab completion but
in the Editor? I am not sure what you mean by "autocompletion (like in the
workspace)".

Kristin

---------------------------------------------------------
Kristin Thomas
Software Engineer
The MathWorks, Inc.
kthomas@mathworks.com
---------------------------------------------------------

Subject: Suggestion for Matlab editor

From: kevin

Date: 19 Jul, 2005 11:56:37

Message: 5 of 14

I like using Emacs but I cannot do debugging (eg. set breakpoint,
single-step, ...) in Emacs. Or maybe there is something that I can do
to enable Matlab debugging in Matlab.

Subject: Suggestion for Matlab editor

From: John D'Errico

Date: 19 Jul, 2005 19:56:19

Message: 6 of 14

In article <42DD491B.4090404@mathworks.com>,
 Kristin Thomas <kthomas@mathworks.com> wrote:

> gigio wrote:
> >
> > And what about auto-completion
> > (like in the workspace)?
>
> Do you mean that you want something like the Command Window's tab completion
> but
> in the Editor? I am not sure what you mean by "autocompletion (like in the
> workspace)".

I liked the idea of editor tab completion at first,
until I realized that tabs would then no longer work
in the editor. 8-(

John


--
The best material model of a cat is another, or
preferably the same, cat.
A. Rosenblueth, Philosophy of Science, 1945

Subject: Suggestion for Matlab editor

From: PB

Date: 19 Jul, 2005 17:00:18

Message: 7 of 14

John D'Errico wrote:
<SNIP>
> I liked the idea of editor tab completion at first,
> until I realized that tabs would then no longer work
> in the editor. 8-(
>
> John
>
>
> --
> The best material model of a cat is another, or
> preferably the same, cat.
> A. Rosenblueth, Philosophy of Science, 1945
>

Just thought about that too. CTRL-Tab doesn´t seem to have a command
mapped so that might be an alternative.

Just my 0.02kr

/PB

Subject: Suggestion for Matlab editor

From: gigio

Date: 19 Jul, 2005 21:29:43

Message: 8 of 14

On Tue, 19 Jul 2005 14:40:27 -0400, Kristin Thomas
<kthomas@mathworks.com> wrote:

>gigio wrote:
>>
>> And what about auto-completion
>> (like in the workspace)?
>
>Do you mean that you want something like the Command Window's tab completion but
>in the Editor?

Yes!

>Kristin
>
>---------------------------------------------------------
>Kristin Thomas
>Software Engineer
>The MathWorks, Inc.
>kthomas@mathworks.com
>---------------------------------------------------------

Subject: Suggestion for Matlab editor

From: Murphy O'Brien

Date: 19 Jul, 2005 20:16:23

Message: 9 of 14

gigio wrote:
>
>
> On Tue, 19 Jul 2005 14:40:27 -0400, Kristin Thomas
> <kthomas@mathworks.com> wrote:
>
>>gigio wrote:
>>>
>>> And what about auto-completion
>>> (like in the workspace)?
>>
>>Do you mean that you want something like the Command Window's
tab
> completion but
>>in the Editor?
>
> Yes!
>
>>Kristin
>>
>>---------------------------------------------------------
>>Kristin Thomas
>>Software Engineer
>>The MathWorks, Inc.
>>kthomas@mathworks.com
>>---------------------------------------------------------
>
>

I too find columnwise copy/paste useful. The Textpad editor has it
and you can use it to set breakpoints by configuring

echo dbstop in $File at $Line

in its Tools menu and assigning F12 to that tool.

It also has the advantage for laptops that it doesn't have all that
jagged text you get in the Matlab editor. The matlab editor and
command window don't support pixel smoothing with ClearType.

see this thread

Murphy O'Brien, "Fonts in ver 7.0" #, 30 Nov 2004 10:00 am </WebX?50@@.eef479a>


Murphy

Subject: Suggestion for Matlab editor

From: Torbjorn Hergum

Date: 21 Jul, 2005 13:18:01

Message: 10 of 14

kevin wrote:

>I like using Emacs but I cannot do debugging (eg. set breakpoint,
>single-step, ...) in Emacs. Or maybe there is something that I can do
>to enable Matlab debugging in Matlab.
>
>
You can do all of that using emacs (and emacsLink) - I'm using it all
the time in Linux. I don't know how well it is integrated into windoze,
though.

Torbjørn

Subject: Suggestion for Matlab editor

From: Daniel Ennis

Date: 21 Jul, 2005 19:25:18

Message: 11 of 14

Here's my two cents...what about an option to copy/paste from the
command line into the editor without pasting the ">>"? Or
perhaps a keystroke, like the uncomment one, that was an
un-">>" option. I know you can easily copy-past from the
Command History, but I don't generally have the Command History open.

Also, I second...or third...or forth...or nth the option of some kind
of tab completion in the editor. The suggestion of control-tab is a
good one.

And while we're at it, why not have the command line highlight
parenthesis pairs or square bracket pairs as occurs in the Editor?
That way when I can easily tell which bits are being bracketed
togeter.

Subject: Suggestion for Matlab editor

From: Kristin Thomas

Date: 22 Jul, 2005 08:13:39

Message: 12 of 14

Hi Daniel,

I will pass your Editor suggestions along to the Editor developers. As for the
Command Window bracket maching, that is a bug with R14 that is fixed in R14sp1.

Kristin

---------------------------------------------------------
Kristin Thomas
Software Engineer
The MathWorks, Inc.
kthomas@mathworks.com
---------------------------------------------------------

daniel Ennis wrote:
> Here's my two cents...what about an option to copy/paste from the
> command line into the editor without pasting the ">>"? Or
> perhaps a keystroke, like the uncomment one, that was an
> un-">>" option. I know you can easily copy-past from the
> Command History, but I don't generally have the Command History open.
>
> Also, I second...or third...or forth...or nth the option of some kind
> of tab completion in the editor. The suggestion of control-tab is a
> good one.
>
> And while we're at it, why not have the command line highlight
> parenthesis pairs or square bracket pairs as occurs in the Editor?
> That way when I can easily tell which bits are being bracketed
> togeter.

Subject: Suggestion for Matlab editor

From: Murphy O'Brien

Date: 13 Aug, 2005 20:43:02

Message: 13 of 14

Kristin Thomas wrote:
>
>
> Hi Daniel,
>
> I will pass your Editor suggestions along to the Editor developers.
> As for the
> Command Window bracket maching, that is a bug with R14 that is
> fixed in R14sp1.
>
> Kristin
>
> ---------------------------------------------------------
> Kristin Thomas
> Software Engineer
> The MathWorks, Inc.
> kthomas@mathworks.com
> ---------------------------------------------------------
>
> daniel Ennis wrote:
>> Here's my two cents...what about an option to copy/paste from
the
>> command line into the editor without pasting the ">>"? Or
>> perhaps a keystroke, like the uncomment one, that was an
>> un-">>" option. I know you can easily copy-past from the
>> Command History, but I don't generally have the Command History
> open.
>>
>> Also, I second...or third...or forth...or nth the option of
some
> kind
>> of tab completion in the editor. The suggestion of control-tab
is
> a
>> good one.
>>
>> And while we're at it, why not have the command line highlight
>> parenthesis pairs or square bracket pairs as occurs in the
> Editor?
>> That way when I can easily tell which bits are being bracketed
>> togeter.
>

Kristin,

Will you also pass along my suggestion to allow the ClearType
algorithm to work with the editor. This algorithm allows a laptop to
see smooth/aliased text.

See this link for more details
Murphy O'Brien, "Fonts in ver 7.0" #, 30 Nov 2004 10:00 am </WebX?50@@.eef479a>


Without it, the characters are very jagged. On a laptop it makes the
editor almost unusable. I can cope with it not working in the command
window (Although it works just fine with R12.1) but it is really
painful to use the editor on a laptop.

Murphy.

Subject: Suggestion for Matlab editor

From: Kristin Thomas

Date: 15 Aug, 2005 08:25:12

Message: 14 of 14

Murphy O'Brien wrote:
> Kristin,
>
> Will you also pass along my suggestion to allow the ClearType
> algorithm to work with the editor. This algorithm allows a laptop to
> see smooth/aliased text.
>
> See this link for more details
> Murphy O'Brien, "Fonts in ver 7.0" #, 30 Nov 2004 10:00 am </WebX?50@@.eef479a>
>
>
> Without it, the characters are very jagged. On a laptop it makes the
> editor almost unusable. I can cope with it not working in the command
> window (Although it works just fine with R12.1) but it is really
> painful to use the editor on a laptop.
>
> Murphy.

Sure, I will make sure they see this. We do already have an enhancement request
regarding this issue.

Kristin

---------------------------------------------------------
Kristin Thomas
Software Engineer
The MathWorks, Inc.
kthomas@mathworks.com
---------------------------------------------------------

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com