Pythonic wrapper for the SCI_SETSTYLINGEX command.

        For example, the following code will fetch the styling for the first
        five characters applies it verbatim to the next five characters.

            text, style = SCIGetStyledText((0, 0, 0, 5))
            SCISetStylingEx((0, 5), style)

        |Args|

        * ``line`` (**int**): line number where to start styling.
        * ``col`` (**int**): column number where to start styling.
        * ``style`` (**bytearray**): Scintilla style bits.

        |Returns|

        **None**

        |Raises|

        * **QtmacsArgumentError** if at least one argument has an invalid type.

def SCISetStylingEx(self, line: int, col: int, style: bytearray):
        """
        Pythonic wrapper for the SCI_SETSTYLINGEX command.

        For example, the following code will fetch the styling for the first
        five characters applies it verbatim to the next five characters.

            text, style = SCIGetStyledText((0, 0, 0, 5))
            SCISetStylingEx((0, 5), style)

        |Args|

        * ``line`` (**int**): line number where to start styling.
        * ``col`` (**int**): column number where to start styling.
        * ``style`` (**bytearray**): Scintilla style bits.

        |Returns|

        **None**

        |Raises|

        * **QtmacsArgumentError** if at least one argument has an invalid type.
        """
        if not self.isPositionValid(line, col):
            return

        pos = self.positionFromLineIndex(line, col)
        self.SendScintilla(self.SCI_STARTSTYLING, pos, 0xFF)
        self.SendScintilla(self.SCI_SETSTYLINGEX, len(style), style)