Bug 319580 - Spellchecker insensitive to obvious meta tokens
Summary: Spellchecker insensitive to obvious meta tokens
Status: RESOLVED DUPLICATE of bug 226427
Alias: None
Product: kile
Classification: Applications
Component: editor (other bugs)
Version First Reported In: 2.1.2
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-09 17:33 UTC by Byron Hawkins
Modified: 2013-07-07 09:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Byron Hawkins 2013-05-09 17:33:45 UTC
The spell checker does not have any filtering for obvious meta tokens, such as the contents of \usepackage commands. In the following snippet, I see 14 spellcheck markings. This would be very easy to filter out, since all latex documents have \usepackage commands, and we always know for certain that they are not to be spell checked. 

\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsmath}
\usepackage[left=0.5in,top=0.5in,right=0.5in,bottom=1in,footskip=0.25in]{geometry}
\usepackage{qtree}
\usepackage{multicol}

Reproducible: Always

Steps to Reproduce:
1. Open any latex document
2. Enable "Automatic Spell Checking"
Actual Results:  
Tokens in the standard commands are marked as potentially misspelled. 

Expected Results:  
Tokens in standard commands are never marked as potentially misspelled, because they will certainly never be found in the dictionary. We never have any spelling constraints of any kind for these tokens.
Comment 1 Michel Ludwig 2013-07-07 09:29:48 UTC

*** This bug has been marked as a duplicate of bug 226427 ***