aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Aspell-user] Problem with context filter, --context-visible-first, and


From: Michael Hoffman
Subject: [Aspell-user] Problem with context filter, --context-visible-first, and zeros
Date: Tue, 11 Dec 2007 16:49:42 +0000
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

I am having a problem with the context filter. When --context-visible-first is set, a 0 within an invisible context will cause the filter to go back to a visible context. The following testcase demonstrates this:

====

cat < test1.txt << __END__
Properly spelled.

aaaaaawrong

/* bbbbbbwrong cccccwrong */

ddddddwrong

Also correct.
__END__

cat < test2.txt << __END__
Properly spelled.

aaaaaawrong

/* bbbbbbwrong 0 cccccwrong */

ddddddwrong

Also correct.
__END__

# this will mark only a and d as misspelled, as expected
aspell --add-filter=context --context-visible-first check test1.txt

# with the addition of the 0, this will also mark c as misspelled
aspell --add-filter=context --context-visible-first check test2.txt





reply via email to

[Prev in Thread] Current Thread [Next in Thread]