zufuliu / notepad4

Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with syntax highlighting, code folding, auto-completion and API list for many programming languages and documents, bundled with file browser plugin matepath.
Other
2.4k stars 174 forks source link

Untitled docs - title with syntax scheme or something more specific #802

Open meteorquake opened 2 weeks ago

meteorquake commented 2 weeks ago

I quite often have untitled docs open for transient typing, often several. At the moment they all have the same title, "Untitled - Notepad2" which isn't very distinguishing on the task bar. At the least it would be good if such things could indicate syntax scheme, e.g. (bas) Untitled - Notepad2 As often the reason for separate ones is they are using different syntax schemes. If somehow there were a way of giving them a transient title that might be a plus, for example Save As and a filename begun with a , so if you save as Translation It will change the title to Translation but not save the document. Cheers, David

zufuliu commented 2 weeks ago

Some other editors use initial text from first non-empty line as title for "Untitled".

meteorquake commented 2 weeks ago

That would work really well, because if wished you could make the first line your title if you wished to have one.