Replies: 1 comment 6 replies
-
No, it's not related to #1415 at all. The spell checker is something I control, so I could easily fix that. The central functionality of the QTextEdit, I have little control over, which is the issue in this case. This is not an issue I can fix unfortunately. Using a dash with no spaces is an American style, and I suspect that since Qt is European made, they may not have considered this, or chosen to ignore it for simplicity. In either case, this would have to be reported to Qt. It may even have been fixed in Qt6, which novelWriter cannot use yet. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider following text in the novelWriter editor or viewer:
He knew—somehow.
The dash is an em dash
—
, and no spaces around it is the American English way of typing this. If I want to select the word "somehow" with double-click or keyboard or context menu, it selects both words around the em dash, because as I understand the em dash is not recognized as a word boundary. Notice how in this GitHub editor, selecting the single word works.Other symbols that are not recognized as word boundaries: Underscores, ellipses, double quotation marks (what would the correct behavior be for British English with single quotation marks that are the same symbols as apostrophes?).
It's a super minor issue, but it's a bit like death by a thousand cuts. Is there any way to have novelWriter recognize these symbols as word boundaries? Is that even a sensible question to ask, or is this some sort of standard behavior?
Related to #1415 maybe?
Beta Was this translation helpful? Give feedback.
All reactions