Ken & Mike on the MATLAB Desktop

December 8th, 2008

New settings for Editor limit line

Not all of our new features are as complex and headline-earning as the Current Directory or Function Browser. Sometimes we quietly introduce small features or enhancements. Did you notice that the character limit line in the editor went from pink to gray?

The right-hand line went from pink to gray in MATLAB R2008b

The line is customizable now, so if 1 pixel gray does not do it for you, go ahead and change the width, color, and placement from the preferences (File -> Preferences -> Editor -> Display).

Change the limit line appearance in File - Preferences - Editor - Display

This was one of our smaller enhancements in the latest release, but a useful one none the less, especially for laptop users where some colors are hard to see. Additionally, it’s the first thing I contributed as a new member of the desktop team over a year ago!

5 Responses to “New settings for Editor limit line”

  1. Ken replied on :

    I like to slide my line-limit out to 100 characters, use a color of RGB: 210, 210, 210 and keep the 1 pixel default thickness. What settings do others use?

  2. Rodney Thomson replied on :

    Our coding standard here enforces an 80 character limit (derived from standard terminal width).

    Aside from that I’m still pretty in pink (2008a here) and will probably keep it that way as its non intrusive.

    I was rather lost this week when I discovered that Visual Studio 2005 did not have an easy way to generate a similar guide (had to do it via the registry!)

  3. John replied on :

    Sorry for posting in the wrong place, but do anyone know if exist a function for binomial coeficients that works as a symbolic function?

    Thanks

  4. Mike replied on :

    John,

    You’re definitely asking in the wrong place. At best I can point you to the Symbolic Math Toolbox documentation, the MATLAB newsgroup, or technical support.

  5. Mike replied on :

    Rodney,

    Thanks. When you upgrade to 8b, because there was no previous preference you’ll go to gray automatically. But you can always set it back.

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


Ken & Mike work on the MATLAB Desktop team.
  • DP: Hi i have a problem with ezplot3, i want to plot more than i curve in the same graph but hold on command...
  • Ken: Hi Arsalan, Unfortunately there is no way to get the new Editor API in older versions of MATLAB. -Ken
  • Arsalan: Hi, I am very excited about the MATLAB API for editor because right now i am working on a project and i need...
  • Johannes: Since I started using matlab-emacs some days ago I never experienced Emacslink. But I experienced some...
  • Francisco J. Beron-Vera: Hi all, I have recently learned about ViEmu (http://www.vimemu.c om) which, for Vi/Vim...
  • OysterEngineer: When I first learned of the Publish feature in MatLab, I thought it might be useful to help to...
  • Ken: Hi Herve, I’m not quite sure what you mean by “stand-alone&# 8221; mode? -Ken
  • Herve: I wonder when the publish fonction will be supported in standalone mode.
  • Mike: Ravi, What you described should work as far I understand it. Please follow up with technical support. With a...
  • Mike: @Daniel, Thanks for that note.

These postings are the author's and don't necessarily represent the opinions of The MathWorks.