Jean-Marc Lasgouttes wrote:
you...@lyx.org writes:
Log: Paragraph::isLetter(): Fix word selection in ERT. The check had
nothing to do with spellchecking. This method is misnamed, it should
perhaps be renamed to 'canBePartOfWord()'.
Who did that? Was it Doctor Abdel or Mister Younes?
http://www.lyx.org/trac/changeset/29468
Well in defense of doctor Abdel, he was not the creator of the original
isLetter() function. Mister Younes merely shuffled code around in order
to be able to clean it up :-)
NB: I am not sure this escape character preference is something useful
to keep. If some language has some special escape characters beside
the single quote one we should support that out of the box and not
asking the user to define it or them in the preference dialog.
The important part IMO is the hardcoded single quote. Currently this is
not working correctly since we only want to honor these quotes outside
of a word:
* "don't" is one word
* "'hello'" is the word "hello"
* "dogs'" is the word "dog"
Yes, I can see that but isn't it an orthogonal question? Still, I'd like
an answer about the usefulness of the additional rc based escape character.
Abdel.