As it is now, NammuController.arabicIndex is of little utility as it is only set when opening a new file and never again, thus I simply removed it. In this PR I propose to use self.styledoc.getLength() to compute the upper limit of syntax highlighting when we have a file with an Arabic translation.
Fix #393.
As it is now,
NammuController.arabicIndex
is of little utility as it is only set when opening a new file and never again, thus I simply removed it. In this PR I propose to useself.styledoc.getLength()
to compute the upper limit of syntax highlighting when we have a file with an Arabic translation.