In gedit 3.28.1 in Ubuntu 18.04, I have syntax highlighting random problem :
In the above image you can see that
\linewidth (on line 24) highlights the way regular control sequences are set in green. However,
\linewidth as part of the second argument for
tabularx is not highlighted. Similarly for
How can we update gedit to properly highlight the LaTeX syntax?