Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: problem with the cell mode
Date: Fri, 27 Feb 2009 17:28:01 +0000 (UTC)
Organization: Dartmouth College
Lines: 5
Message-ID: <go97r1$djp$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1235755681 13945 172.30.248.35 (27 Feb 2009 17:28:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 27 Feb 2009 17:28:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 127623
Xref: news.mathworks.com comp.soft-sys.matlab:521355


Hi all,

Anyone has experienced the same thing that I have? I have a few matlab files opened in the Editor with Cell Mode on. However, some of my .m files shows correctly with cell partitions (each section can be executed separated and are separated by "%%"). However, other .m files does not show correctly with cell mode (the entire file shows only one color even with cell separation, and can only be executed as a whole). Switching on and off the cell mode does not help. I had to create a new file and copy paste the code and save to the original file name (replace). This time cell mode shows correctly.  

This must be a bug of some sort? It's 2008b.