Iterating over the regions in the selection (view.sel()) is sometimes throwing IndexError. Apparently the selection is reporting it has more than one region when it doesn't.
Iterating over the regions in the selection (view.sel()) is sometimes
throwing IndexError. Apparently the selection is reporting it has more
than one region when it doesn't.

Work around this by using a for-loop over len(view.sel())

sokolovstas/SublimeWebInspector,sokolovstas/SublimeWebInspector,sokolovstas/SublimeWebInspector