Sublime Forum

CFML Syntax Highlighting Broken

#1

FYI: The latest build completely hosed CFML syntax highlighting, even though the update notes addressed the issue.

0 Likes

#2

Can you be more specific? I just installed the CFML package and syntax highlighting seems to work fine.

0 Likes

#3

Solved by:

Backing up the folder at AppData\Roaming\Sublime Text 3
Deleting it
And then copying it back in

Symptoms were all CFML code was in plain white text.

Thanks

0 Likes

#4

Latest CFML release ships a refactored package structure. Renamed syntax file names cause open CFML files to loose their syntax. Reopening them should fix it.

0 Likes

#5

After the 4186 upgrade today, I started receiving this error message upon opening CFML files:

**Error loading syntax file "Packages/CFML/syntaxes/cfml.sublime-syntax": Apparent recursion within a with_prototype action: 25000 context sanity limit hit**

I am looking at mletson’s suggestion now, and also trying to upgrade the CFML package (it appears the version I’m using is older) but for the time being I’m also strugging to get Package Control working.

0 Likes

#6

For what it’s worth, I’m back up and running. Here’s what I did.

  1. Quit Sublime.
  2. Manually delete the Package Control and package control loaders from the ~/Library/Application Support/Sublime Text 3/Installed Packages.
  3. Follow the instructions to manually download Package Control 4.0 beta.
  4. Relaunch Sublime after Package Control had fully installed itself.
  5. Using Package Control, I removed the CFML package.
  6. Quit Sublime.
  7. Relaunch Sublime, and using Package Control, reinstall CFML v0.31.0, and relaunch Sublime again.

No more errors, and the syntax highlighting works again.

0 Likes