Thanks for your reply...
I guess. I don't know whether to feel exonerated (with respect to the glitch) or ashamed that my explanation of it was apparently
such poor quality. To point out that I've not linked
directly to a video file, but to an HTML file that happens to load player controls
for a video file... is just petty. If I'd have known how my
first post to this forum would be received, I wouldn't have bothered signing up for the "Community" to report this in the first place. Fortunately, "Amigo" (speak: friend) hasn't changed my opinion of TextPad -
it is still a great piece of software.
To respond to your comments/questions...
1. Syntax highlighting is used...
Yes, it is. As a standard feature of TextPad, I didn't think to mention this "essential detail" in my textual explanation of the issue. Nor did I mention that I
also had the Document Selector open at the time, and
also a tool bar or two present. All of which I would
never have imagined might have an effect on the
behavior of the TAB key. (?!?!?) (Sorry for the sarcasm, I really am. Just finding it very difficult to govern it at the moment.)
2. "Does it happen somewhere else?
This is the only example scenario in which I have noticed such behavior. Had I noticed such behavior in other scenarios, I would have mentioned it, as it would have obviously been related to the issue.
I am pleased you were able to reproduce the behavior, even if doing so in a different manor than I noticed in my current configuration.
I actually use a combined SYN file, having both HTML and PHP syntax defined, as that's what I find myself developing in most often. Within this syntax file, I do have the following lines...
When removing the single quotes from the above, the behavior changes, and the TAB key works as expected (though, the highlighting of strings defined with single-quotes is now disabled).
So this is a syntax highlighting problem...
Yes, I to would still consider it a "problem" (speak: bug/glitch/whatever). Surely by any development standard, something like
syntax highlighting shouldn't have an effect on the behavior of the TAB key. If anything, I would think the effect would be the other way around (tab effects highlighting).
... I never had a reason to insert a TAB character inside a literal.
Neither have I. But simply because I've brought to light unexpected behavior doesn't mean I'm doing something strange, or outside the scope of the program's intended capabilities. In PHP and HTML, anyway, double and single quotes are used quite often to define strings - and
the usage of one or the other effects how inline variables are interpreted by PHP. In my case, if one was to even
accidentally hit the TAB key while within such characters, it creates some very strange results when trying to
remove the
visual space that's created immediately preceding the bumped text.
Good day, Amigo.