Skip to content

Stops highlighting in long paragraphs #210

@leosenko

Description

@leosenko

Prerequisites

  • [ X] Put an X in this box if you have done the following:
    • Ensured the issue has not already been raised
    • Ensured the issue is caused by this package

Description

Steps to reproduce & Minimum working example

In latex source, create a paragraph of:
Isdadsa sdadas \cite{ds231} sadasds Fig.~\ref{fig:sss} by \cite{sdads12} dasda \SI{23}{\celsius}, dsad \SI{22222}{\celsius} adasd sad asd asd asd sa \SI{22222}{\celsius} dsadsa dnd \ce{Mg^2+} sds. \cite{sd223aa} sd \SI{21323123232}{\celsius} dsad \gls{sss} dasda \SI{2123322}{\celsius}.

The last \SI is not highlighted. If you delete/shorten the first cite to \cite{31}, it becomes highlighted.


#### Expected behaviour
all the primitives should be highligeted

#### Actual behaviour
After some amount of text, highlighting stops working.

### Additional information
Atom 1.46.0 x64 OSX 10.14.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions