Ellipses and tags and bears, oh my
Calibre 3.39 on
1. What is it about the editor that "eats" Mac shortcut keys for special characters? For example, Option(Alt)-; to get an ellipsis, Option-0 to get a degree symbol, etc. None of them work in the editor. Weirdly (or maybe not), they do work in the Find/Replace input fields. (I searched here for "Mac ellipsis" and a couple of other things, couldn't find any mentions.)
2. Closing tag autocomplete works great. It's awesome. When it works. Unfortunately, it doesn't always work. And it doesn't work often enough to be really annoying. (I look up to find almost my entire file is italic and have to backtrace to figure out why.)
When it fails, instead of putting in the closing tag, it puts in the word between the tags. (This most often happens to me when putting em's on either side of a word.)
IOW, I get `<em>word</word>` instead of `<em>word</em>`. It's filling in the word after the opening tag, instead of the opening tag.
When this happens, there is nothing structurally wrong with the file being edited. That is, everything is beautified, and F7 shows no problems.
It also typically corrects itself after a few times. IOW, I'll get the word instead of the closing tag for one or three or six times, then suddenly it goes back to putting in the correct closing tag, and it will do that for a several minutes, and then suddenly it will put in the word again once or twice or four times, then correct itself again, and so on.
This isn't new, it's happened as long as I've been using Calibre (three years?), I've just never brought it up because it is sporadic and therefore not reproducible. But it seems to be happening more lately (I rolled back to 3.39 because 3.40 started doing it immediately in the book I was editing at the time and I didn't have time to mess with it. It may not be worse in 3.40, I just didn't have time to see.)
It's happened across several OS releases, many Calibre releases, several hundred files, multiple computers, etc. But, as I said, it's inconsistent. It's not file related—sometimes simply closing and re-opening the file "fixes" it. (And sometimes it doesn't.) Sometimes leaving Calibre and coming back in fixes it. (And sometimes it doesn't.)
Does anyone else see this? Any ideas on the possible cause?
(I searched "closing tag", "autocomplete tag", and "autofill tag" in the Editor forum. I found one thread back in '14 where an error was occurring if the closing tag was started after a space, but that was fixed almost immediately. I didn't find any other references.)
|