[texworks] Feature request: Window Menu show asterisk beside unsaved file names

Paul A Norman paul.a.norman at gmail.com
Wed Mar 31 11:41:13 CEST 2010


Dear Jonathan and Stefan,

Just a small request please.

As the subject line says.

Could the Window Menu please show an asterisk or something beside any
open file that needs saving.

Or there be a File Save All?

This might be particularly useful when Replace has been used across
all open files, as you are unaware which ones have been changed.

Alternatively is there a 'document dirty' flag that QtScript has
access to please?

TW.app.getOpenFileNames();  appears to return an array of filenames
selected in a fileopen dialog box, but I can not locate any object or
array that holds window objects for open windows, or an array of
TW.target(s) that represent the open documents, is there one that I
have overlooked  please?

So in pseudo code ...

  for (x in TW.app.targets)
        {if (x.isDirty() == true)
          {x.save();}
        }

Paul


More information about the texworks mailing list