On Sep 29, 2014, at 8:23, Adam R. Maxwell wrote:
> I'm trying to help a user, but I can't get the open panel's encoding popup to
> work at all; it always seems to open the file using the default encoding,
> regardless of what I set in the popup. The code's all been rewritten since I
> last worked on it, so I have no idea what's going on…but it appears that the
> popup does not have a target or action anymore.
>
> Can anyone confirm this?
>
> thanks,
> Adam
>
When I test this, it uses the encoding from the popup.
The way it works now is that the encoding from the popup is set as a the
lastSelectedEncoding ivar in -[BDSKDocumentController
runModalOpenPanel:forTypes:], and it is set in the document in -[BibDocument
init]. This is the encoding used when reading in -[BibDocument
readFromURL:ofType:error:]. That's the process used by TextEdit.
Christiaan
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop