Ciaran McCreesh
Ciaran McCreesh
I'm not convinced that ignoring them won't break some things that are currently correctly detected. Script blocks with a comment are likely to contain sensible indentation, currently.
I'm thinking files that are mostly just a commented out script block. The thing with the comment skipping... It shouldn't really be there at all. But for Cish languages, particularly...
It's not whether there's a comment block there. It's whether there's a comment block there _with bogus indenting_. The only time I've seen that happen is with aligned stars for...
I get it when there are *s there, since that's for alignment. But why the odd indenting for HTML comments?
That seems to be a fairly convoluted set of circumstances that would have to come together to trigger this. Can you find out whether odd indenting for HTML comments is...
Ok, that's a sign we should give JavaScript files the multiline C commenting hack. What about HTML?
I'm definitely not going that route. It's simply too slow, fiddly and unreliable. It's also wrong, since comments are not in general a problem. The comment heuristics are there to...
DetectIndent doesn't generally need to know about comments. The special handling for /\* */ is there because a lot of people do this: ``` /* * notice the aligned star...
Currently there's no specific way of finding "unlabelled" isomorphisms, so your best bet is to count all solutions, and then divide by the size of the automorphism group of the...
Not quite. The labels need to be in the third column, so you have to do `v1,,l1` in order to just label a vertex, and you shouldn't include a third...