#324 Apostrophed words marked as spelling error

v1.0_(example)
closed-fixed
Tino Weinkauf
5
2013-06-29
2012-02-09
Mario Valle
No
0 up votes | 0 down votes | 0%
6 comments

I don't know if this is something feasible or cheap to implement. It is a 'nice to have', I can live without...
In Italian the use of apostrophe to shorten articles is common. E.g. allo inizio -> all'inizio
TXC marks as an error "all" but it is not an error *if followed by an apostrophe*. It is an error if followed by a space or another punctuation mark.
There are many other examples: quell'altro, sull'esperimento
I can put all of them in my dictionary, but this prevents detection of real errors like a missing apostrophe.

Discussion

  • Tino Weinkauf
    Tino Weinkauf
    2012-11-03

    The described error has been added to the official bug list.

    Thank you for your report.

     
  • Tino Weinkauf
    Tino Weinkauf
    2012-11-03

    • labels: 434621 -->
    • milestone: 2533129 -->
    • summary: Apostrophed words marked as error --> Apostrophed words marked as spelling error
     
  • Tino Weinkauf
    Tino Weinkauf
    2012-11-03

    I see your issue. The problem may be that we do not recognize the entire word all'inizio, but we rather see it as two words.

    Same goes for the english wouldn't and couldn't.

     
  • Tino Weinkauf
    Tino Weinkauf
    2012-11-03

    Just found it in the code. The LaTeXTokenizer::NextWord() looks at CharTraitsT::IsAlnum(ch) to separate words. This just needs a different func that includes the '.

     


Anonymous


Cancel   Add attachments