Bug 315940 - Latex-highlighting does not consider optional arguments to commands
Summary: Latex-highlighting does not consider optional arguments to commands
Status: RESOLVED DUPLICATE of bug 226427
Alias: None
Product: kate
Classification: Applications
Component: syntax (other bugs)
Version First Reported In: unspecified
Platform: MacPorts macOS
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-01 09:02 UTC by Anton Rasmussen
Modified: 2013-03-01 09:09 UTC (History)
1 user (show)

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 Anton Rasmussen 2013-03-01 09:02:51 UTC
The automatic spell checking is checking optional arguments to latex packages. For example in the lines

\documentclass[aps,reprint,prb,floatfix]{revtex4-1}
\usepackage[english]{babel}

the optional arguments in square brackets will be spell-checked. It seems that this is not the intended behavior.

Reproducible: Always

Steps to Reproduce:
1. Paste the two lines from above into a new document in kile
2. Enable automatic spell checking
3.
Actual Results:  
Optional arguments in square brackets are spell checked.

Expected Results:  
Optional arguments in square brackets should not be spell checked
Comment 1 Michel Ludwig 2013-03-01 09:09:51 UTC

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