you need to explicitly say SelectionType here otherwise this is an untyped int.

Easier way to do this is just:

```
SelectionNone SelectionType = iota
SelectionChar
SelectionLine
```