summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@gnome.org>2015-10-01 16:40:23 +0200
committerSébastien Wilmet <swilmet@gnome.org>2015-10-01 16:40:23 +0200
commit78f67beab916a688541b70870f38d670a4c056e1 (patch)
treec1d1438b8c9748b49676a5f8ff5956fd005c85d9
parentb8e67ccd8546abc738aea2ed51b321482bbc0ece (diff)
downloadgtksourceview-78f67beab916a688541b70870f38d670a4c056e1.tar.gz
latex: apply no-spell-check context class for headings
Now that LaTeXila uses the no-spell-check region to not spell check LaTeX commands, this bug was visible.
-rw-r--r--data/language-specs/latex.lang28
1 files changed, 14 insertions, 14 deletions
diff --git a/data/language-specs/latex.lang b/data/language-specs/latex.lang
index 397b9740..498d5ba9 100644
--- a/data/language-specs/latex.lang
+++ b/data/language-specs/latex.lang
@@ -377,71 +377,71 @@
<context id="headings">
<include>
- <context id="part" style-inside="true" style-ref="part" end-at-line-end="true">
+ <context id="part" style-inside="true" style-ref="part" end-at-line-end="true" class-disabled="no-spell-check">
<start>(\\part\*?)\{</start>
<end>\}</end>
<include>
- <context sub-pattern="1" where="start" style-ref="common-commands"/>
+ <context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
<context ref="curly-braces-pair"/>
<context ref="latex"/>
</include>
</context>
- <context id="chapter" style-inside="true" style-ref="chapter" end-at-line-end="true">
+ <context id="chapter" style-inside="true" style-ref="chapter" end-at-line-end="true" class-disabled="no-spell-check">
<start>(\\chapter\*?)\{</start>
<end>\}</end>
<include>
- <context sub-pattern="1" where="start" style-ref="common-commands"/>
+ <context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
<context ref="curly-braces-pair"/>
<context ref="latex"/>
</include>
</context>
- <context id="section" style-inside="true" style-ref="section" end-at-line-end="true">
+ <context id="section" style-inside="true" style-ref="section" end-at-line-end="true" class-disabled="no-spell-check">
<start>(\\section\*?)\{</start>
<end>\}</end>
<include>
- <context sub-pattern="1" where="start" style-ref="common-commands"/>
+ <context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
<context ref="curly-braces-pair"/>
<context ref="latex"/>
</include>
</context>
- <context id="subsection" style-inside="true" style-ref="subsection" end-at-line-end="true">
+ <context id="subsection" style-inside="true" style-ref="subsection" end-at-line-end="true" class-disabled="no-spell-check">
<start>(\\subsection\*?)\{</start>
<end>\}</end>
<include>
- <context sub-pattern="1" where="start" style-ref="common-commands"/>
+ <context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
<context ref="curly-braces-pair"/>
<context ref="latex"/>
</include>
</context>
- <context id="subsubsection" style-inside="true" style-ref="subsubsection" end-at-line-end="true">
+ <context id="subsubsection" style-inside="true" style-ref="subsubsection" end-at-line-end="true" class-disabled="no-spell-check">
<start>(\\subsubsection\*?)\{</start>
<end>\}</end>
<include>
- <context sub-pattern="1" where="start" style-ref="common-commands"/>
+ <context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
<context ref="curly-braces-pair"/>
<context ref="latex"/>
</include>
</context>
- <context id="paragraph" style-inside="true" style-ref="paragraph" end-at-line-end="true">
+ <context id="paragraph" style-inside="true" style-ref="paragraph" end-at-line-end="true" class-disabled="no-spell-check">
<start>(\\paragraph\*?)\{</start>
<end>\}</end>
<include>
- <context sub-pattern="1" where="start" style-ref="common-commands"/>
+ <context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
<context ref="curly-braces-pair"/>
<context ref="latex"/>
</include>
</context>
- <context id="subparagraph" style-inside="true" style-ref="subparagraph" end-at-line-end="true">
+ <context id="subparagraph" style-inside="true" style-ref="subparagraph" end-at-line-end="true" class-disabled="no-spell-check">
<start>(\\subparagraph\*?)\{</start>
<end>\}</end>
<include>
- <context sub-pattern="1" where="start" style-ref="common-commands"/>
+ <context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
<context ref="curly-braces-pair"/>
<context ref="latex"/>
</include>