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.
  • Ori: The current folder shortcut used to be alt-y. Now it is alt-o. However, while in the editor window, alt-o opens...
  • Jose Miguel: Hi First of all, thanks for the post, it is really useful. I am trying to develop a Java GUI within...
  • Ken: Hi Siddharth, There isn’t currently any way to move the docking controls. Feel free to submit an...
  • Phil: I have the same problem as described above with UITable working fine in the Matlab environment but showing no...
  • Siddharth: Is there any way to move the position of the docking controls (or eliminate them through some...
  • Chris: Yes, it is a challenge to organize functions into categories, especially with so many functions. Ken and I...
  • Mike: Thanks for fielding that one, Yair.
  • Yair Altman: Jimmy - if you mean that you wish to include hyperlinks in your function’s help comment, that will...
  • OysterEngineer: Thanks for explaining the Function Browser. I fired it up and gave it a try. It appears that it has...
  • Jimmy: Is there any way to include hyperlinks in a comment, such as the standard help at the beginning of a function?

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