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

Re: Problem with the parser (WPAddict)



> > Sometime ago I have answered about being able to configure if
> > a word, not only by the word itself, but by its property (on
> > WPTools it should be a field, an hyperlink, a protected piece
> > of text), should or not be ignored, even if not on the
> > dictionary. I have posted a change on the
> > "WPOnSpellCheckWord" that would handle it, but the change
> > didn´t came on Addict version 3.4. I changed it by myself,
> > and I am sending it attached.
> > maybe you could handle it with others changes...
>
> I'll have a look at it for the next update to the parser and see what can
be
> done.  Thanks for this.

Thanks...

> > Note that the "[" and "]" chars are not recognized by the
> > Addict parser..
> > (because are not word delimiters).. and so, while executing
> > the spell check of the document, the "[people" and "name]"
> > words, that are signed as misspeled (red line below), doesn´t
> > popup the window, because the parser thinks to be "people"
> > and "name" words, that are on the dictionary.
> >
> > So, What can I do?
> >
> > I thought changing "WPOnAfterCompleteWord" event, making some
> > cleaning procedure on the word to remove this kind of chars
> > ["[", "]", "(", ")", "{", "}", "º", "ª", ....].. but I don´t
> > know if there is a better way inside Addict to define the
> > "ignore list"...
>
> We're essentially talking about WPTools at this point, and how WPTools
> parses a word out.  I believe that there is a property - something like
> WPDelimeterArray (I'm sure you can find it with a simple search) - that
> allows you to specify exactly which characters should be used in a parse.
>
> Hopefully this will get you what you need.

Yes.. I remember, and will take a look.

Thanks

Alessandro

Alessandro Fragnani de Morais
Analista de Sistemas
Softplan/Poligraph
Sistema da Qualidade Certificado ISO9001-BVQI/INMETRO
Fone/Fax: 0xx(48) 3027-8000
http://www.softplan.com.br



Please visit Addict Home Site.