textadept icon indicating copy to clipboard operation
textadept copied to clipboard

The `case` field in style definition yields an error since version 11.5 alpha

Open davidvontamar opened this issue 3 years ago • 0 comments

The case field in style definition doesn't work. However, the 11.5 alpha API lists case under view.styles with the possible values u, l, or the default m. The following code does not work and will yield an error.

styles.keyword = {
	case = "u"
}

The error:

/usr/local/share/textadept/core/init.lua:95: bad argument #3 to 'newindex' (number expected, got string)

davidvontamar avatar Oct 05 '22 04:10 davidvontamar