Re: [Entagged-devel] Multiline Comments
Brought to you by:
kikidonk
From: Christian L. <li...@we...> - 2004-12-09 19:37:08
|
I see. I really thought about the newline from java.=20 The only use for a JTextPane (a JTextArea would not do word wrapping) would= =20 then be to display long comment texts in a scrollable area. But if I do the change I think I have to implement a keylistener which will= do=20 a save on "enter". Else the user will use the java newline as I did.=20 Shall I. Greetins On Thursday 09 December 2004 19:22, Rapha=EBl Slinckx wrote: > Hi ! > > In fact we need to implement multi-line comments, but not every tag > format allow this. > > flac,ogg, id3v1 do not support that. what to do when this happens ? > Concatenate every line with a space instead of newline ? > > Id3v2 allow this, but define a particular "newline" byte (I think it's > 0x0A). So when a java newline is found within the text ("\n") it has to > be converted to the correct byte (because java newline is platform > dependant I think, it could mean <CR><LF> or one of the two, etc ?) > > Aetags I don't know if they support it, I think they should but the APE > tag site with the specifications is down, and I hope it won't last too > long ! > > It's ok for the JTextArea, i'm curious to see how it looks ! > > Wav files can't be tagged, in fact we support only reading the length of > the files as well as various encoding infos.. That allows to make a > freedb request with a mix of mp3/wav files, or things like that, in fact > it has no real utility :) > > Concerning the enter, of course it won't work with the comment field, > but I don't think it's a bad thing, the comment field won't have an > "hotkey" to save, the user will have to press tab, or click on save, > this is the most "natural" way of doing it ! > > Do you agree ? > > Raf > > Christian Laireiter wrote: > > Hello, > > > > The file todo.txt in entagged-developpers-doc mentions the implementati= on > > of "multiline comments". > > I think the JTextField commentF of TagInfoPanel just needs to be changed > > to a JTextPane and this has to be embedded within a JScrollPane. > > (I don't just think, I already tested. Looks good) > > > > I Tested the following file formats from and with entagged: > > MP3, FLAC, OGG, MPC, APE, WMA > > > > (Up till now I didn't find a possibility to use tags with WAV files) > > > > However the enter key won't trigger a save event any more. One could > > think about implementing this functionality with STRG+Enter. But since > > entagged doesn't supply a usage documentation this won't be a good idea. > > Too much guessing is required. > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Entagged-devel mailing list > > Ent...@li... > > https://lists.sourceforge.net/lists/listinfo/entagged-devel > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Entagged-devel mailing list > Ent...@li... > https://lists.sourceforge.net/lists/listinfo/entagged-devel |