[prev in list] [next in list] [prev in thread] [next in thread]
List: aspell-user
Subject: [Aspell-user] Problem with context filter, --context-visible-first, and zeros
From: Michael Hoffman <b3i4old02 () sneakemail ! com>
Date: 2007-12-11 16:49:42
Message-ID: fjmevm$ns9$1 () ger ! gmane ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic