Kronuz/SublimeLinter — comment on commit ca49decf3dd72e212142db3bfe04bc0def6e7ae6
File:  line 0
By aparajita:

Hmmm...have you tested this? It seems to me the whole issue here is that view.sel() might be empty. If that is not empty, `view.rowcol(viewSel[0].end())` will always work. So the code could be simplified/clarified:

```python
viewSel = view.sel()

if viewSel:
return view.rowcol(viewSel[0].end())[0]
else:
return None
```

Also, returning None from this method will break the code that calls it. You have to check for None in the two places it is called and act accordingly.