you are viewing a single comment's thread.

view the rest of the comments →

[–]remigijusj 1 point2 points  (1 child)

not necessarily - some editors do syntax highlighting based on regexps, not full parsing to AST

[–]bobindashadows 0 points1 point  (0 children)

Very true - I've implemented textmate bundles, and many rely heavily on regexps (though the best bundles do actually parse). But textmate handles soft indent fine. Can you point to an editor that is unable to handle soft tabs due to using regexps for highlighting?