[texworks] SCRIPTS: TW.getItem() returning everything lower case?
Stefan Löffler
st.loeffler at gmail.com
Tue Dec 7 11:15:25 CET 2010
Hi,
On 2010-12-07 04:15, Paul A Norman wrote:
> Here is something that I don't think was happening before.
>
> sizeCommand = TW.getItem( null, "Text/Font Size?", "Choose Text
> Font/Size: ", ["tiny","scriptsize","footnotesize","small","normalsize","large","Large","LARGE","huge","Huge"]
> , 5 , true ) ;
>
> TW.information(null, "Display Chosen", sizeCommand);
>
> They all come out lower case?
Not for me. This snippet works well for me on Linux and on (emulated)
Windows XP. Can anyone else confirm this issue?
> I've had a look at
> http://www.google.com/codesearch/p?hl=en#TCAOwTxChU8/trunk/src/TWScriptAPI.cpp&q=getItem%20package:http://texworks%5C.googlecode%5C.com&l=129
>
> But can't see anything there that might be doing this.
AFAIK, there haven't been any changes to getItem in months. The only
thing that has changed (at least in my Windows builds, compared to
before) is the version of Qt. But since everything required is built
into the application, there shouldn't be any problems coming from
differing setups...
I'm at a loss...
-Stefan
More information about the texworks
mailing list