I found a question with the title, "Why does a C++ class name stop being syntax highlighted when moved to a namespace in VS Code?". However, the question body contains:
EDIT: I just found out that it was the renaming of the type from
foo_t
to justfoo
that broke the syntax highlighting.
Thus, it seems clear that the question is now about the "_t" suffix, not namespaces. Furthermore, there is currently just one answer to the question, and it discusses the "_t" suffix, not namespaces.
I therefore thought it would be better for the question's title to reflect the current topic, and suggested editing the title to "Why does a C++ class name stop being syntax highlighted when the "_t" suffix is removed in VS Code?" (emphasis added to the new text).
That edit was rejected with the reason, "This edit deviates from the original intent of the post." That is in a sense true, since the original intent was indeed to ask about namespaces. But the author then changed their intent, and I think if that author were to re-ask the question now, they would mention "_t" in the title, not namespaces.
The editing guidelines say "When should I edit posts? Any time you feel you can make the post better, and are inclined to do so. Editing is encouraged!", and that among the reasons to edit is "to clarify the meaning of a post without changing it", which is what I thought my edit did, based on the current meaning of the post.
So: should one edit a question title to reflect the current topic when that topic has been changed by the author of the question? My interpretation of the guidelines would be "yes", but the edit rejection suggests "no".