notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

Untitled docs - title with syntax scheme or something more specific

Open meteorquake opened this issue 1 year ago • 4 comments

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

meteorquake avatar Jun 17 '24 13:06 meteorquake

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

zufuliu avatar Jun 17 '24 13:06 zufuliu

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

meteorquake avatar Jun 17 '24 13:06 meteorquake

"Untitled - Notepad2" which isn't very distinguishing on the task bar

Temporary workaround is select some text then changes "Window Title Display" to "Text Excerpt": image image

zufuliu avatar Jul 18 '24 10:07 zufuliu

That does sound a useful temporary workaround suggestion.

For the actual concept of Text Excerpt -

  • I'd suggest it should popup the text highlighted as the title to be applied so that you can edit it, then you click OK to apply to title. This covers for no ready text being available to highlight: currently you have to type, apply, then delete again. (A useful concept when there are several files open of the same or similar names.)

  • I'd suggest it shouldn't put quotes around the title text, although with the popup suggestion it wouldn't matter in that you could edit quotes in if wanted. There may be a benefit in having a symbol for an unsaved file, but realistically I think unnecessary as the * discreetly covers the fact that the present state is unsaved...

  • Shouldn't be instead of the other 3 options, but just an action that leaves the other 3 settings unchanged.

d

meteorquake avatar Jul 18 '24 12:07 meteorquake