Location.calculateColumn

Uses a simple method to count the number of characters in a string.

Note: Unicode compound characters and other special characters are not taken into account.

class Location
uint
calculateColumn

Parameters

tabWidth
Type: uint

The width of the tabulator character.

Meta