Permalink
Browse files

Cell titles now appear in the symbol list

  • Loading branch information...
1 parent cdb510d commit d1a6552ffe06bc0021a7460cc80ee1940764d4b4 Daniel Grady committed with infininight Jan 10, 2011
Showing with 31 additions and 0 deletions.
  1. +19 −0 Preferences/Symbol List: Cells.tmPreferences
  2. +11 −0 Syntaxes/M.tmLanguage
  3. +1 −0 info.plist
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Symbol List: Cells</string>
+ <key>scope</key>
+ <string>meta.cell.matlab</string>
+ <key>settings</key>
+ <dict>
+ <key>showInSymbolList</key>
+ <integer>1</integer>
+ <key>symbolTransformation</key>
+ <string>s/=+\s*//</string>
+ </dict>
+ <key>uuid</key>
+ <string>219A59CC-83FE-484F-B1C8-2F6357056F2F</string>
+</dict>
+</plist>
View
@@ -191,6 +191,17 @@
<string>\n</string>
<key>name</key>
<string>comment.line.double-percentage.matlab</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>begin</key>
+ <string>\G\s*(?![\n\s])</string>
+ <key>contentName</key>
+ <string>meta.cell.matlab</string>
+ <key>end</key>
+ <string>(?=\n)</string>
+ </dict>
+ </array>
</dict>
</array>
</dict>
View
@@ -212,6 +212,7 @@
<string>236A240E-F4DA-45BA-905C-4046055E6247</string>
<string>FCA472FC-0F54-4C92-BFE1-00880FE1DA3F</string>
<string>5EC2B9C8-1311-4C27-A421-A7982E6418AA</string>
+ <string>219A59CC-83FE-484F-B1C8-2F6357056F2F</string>
<string>DCAA0C20-AF0B-4E64-A947-43DA07B901A4</string>
<string>0FDCE9D1-A757-4793-816D-1364192CE326</string>
<string>8325A3D7-1025-48C4-810F-CF41E7E71DA2</string>

0 comments on commit d1a6552

Please sign in to comment.