Bug 315940

Summary: Latex-highlighting does not consider optional arguments to commands
Product: [Applications] kate Reporter: Anton Rasmussen <amhrasmussen>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: michel.ludwig
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: MacPorts   
OS: macOS   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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 ***