I rarely write user code for Writer, and thus rarely use TextCursor
objects.
Recently, however, I did that, and was stunned to find that the period (full stop), among all the main suspects (!.?,;: ), was the only character treated like a letter by the method gotoEndOfWord()
. Concerning the hyphen which also is \W
for RegEx I can(?) understand a special treatment here, but the point!
Your opinions and experiences? Should I report a bug?
An example .odt
with a TextCursor
macro:
pointFullStopAcceptedInsideAndAtEndOfWord.odt (12.4 KB)
1 Like