When you want to save a text file, it defaults to use the name of the blend file rather than the name of the text block.
-Open a file that has a text block (or create one)
-Click “save as” in the text editor menu
-the default name will be “your-file-name.blend” which isn’t great for a text file.
Blender will seem to remember the last name used if you repeat this process.
Perhaps this can default to use the name of the text block.