Sublime Forum

Large TCL file syntax

#1

When i open a big TCL file after some lines syntax highlighting disappears. How can i solve it?
I tried at different computers. Same result. It disappears after about 5000 lines.

0 Likes

#2

if you can share a file that exhibits this problem, it might be helpful for identifying how to fix it :slight_smile:

could be related to this:

0 Likes

#3

enter link description here

Here is the link.

0 Likes

#5

In Tcl.syblime-syntax i ve deleted this code:

substitution:
- match: ‘[’
scope: punctuation.definition.substitution.begin.tcl
push: [substitution-body, command-name]

substitution-body:
- meta_scope: meta.substitution.tcl
- match: ‘]’
scope: meta.substitution.tcl punctuation.definition.substitution.end.tcl
pop: true
- include: commands

Now syntax works fine.

0 Likes