Won't work because getLineIndent is not comment aware. It'll return the wrong tabcount. E.g. in the case where there is a comment that starts at ch 10 but the cursor is at ch 20.