[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] more on JSCTextView
"string" basically works now. however there is a problem with residue garbage on the client side (sclang) which i need to investigate....
Am 22.12.2009 um 00:08 schrieb Sciss:
> hi ron,
>
> i fixed the problem of missing MIME type for file URLs that prevented the RTFEditorKit to become effective. JSCTextView should now properly load both HTML and RTF.
>
> however the JSCTextView:string issue is not yet solved, need more time for that...
>
> ciao, -sciss-
>
>
> Am 21.12.2009 um 22:10 schrieb ronald kuivila:
>
>> Hi again,
>>
>> RTF loads fine, but the text never makes it into the string ivar and it does not retain its color.
>>
>> RJK
>>
>> On Dec 21, 2009, at 2:59 PM, Sciss wrote:
>>
>>> uhhh there was an issue that made me use JTextPane and not JEditorPane, a serious one.... if only remembered. however JTextPane is a subclass of JEditorPane, so basically the RTF kit should work. i will try it out... (looking now at http://www.java2s.com/Code/Java/Swing-JFC/ViewingRTFformat.htm )
>>>
>>>
>>> Am 21.12.2009 um 19:53 schrieb ronald kuivila:
>>>
>>>> Hi Sciss,
>>>>
>>>> I sent a copy of the current state of SwingDocument to the email address on your WWW page.
>>>> I have never used Eclipse and cannot work out how to add ant-contrib (on OS X) as in Preferences-Ant-runtime
>>>> the add JAR button is disabled). Any hints?
>>>>
>>>> But I took a look at the code for TextView and am wondering, why are you using a JTextPane instead of JEditorPane?
>>>> Seems like changing to the class should provide RTF support for free...
>>>>
>>>> RJK
>>>>
>>>>
>>>> On Dec 21, 2009, at 2:12 PM, Sciss wrote:
>>>>
>>>>> hmmm, you are right, i've never seen this before. will need to investigate. keep me up to date with the document class, sounds cool!
>>>>>
>>>>> Am 19.12.2009 um 20:24 schrieb ronald kuivila:
>>>>>
>>>>>> Hi again,
>>>>>>
>>>>>> Another curio:
>>>>>>
>>>>>> For HTML files JSCTextView.string returns the string doubled (i.e.,
>>>>>> concatenated with itself). But everything else (selectAll, for example) are working correctly.
>>>>>>
>>>>>> RJK
>>>>>>
>>>>>> PS: I am working up a SwingDocument class, implementing menu commands (search and replace, opening files, etc)
>>>>>> as methods of the class. I think this will make using Swing for remote control easier.
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> sc-dev mailing list
>>>>>>
>>>>>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>>>>>> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
>>>>>> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> sc-dev mailing list
>>>>>
>>>>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>>>>> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
>>>>> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> sc-dev mailing list
>>>>
>>>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>>>> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
>>>> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
>>>
>>>
>>> _______________________________________________
>>> sc-dev mailing list
>>>
>>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>>> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
>>> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
>>>
>>
>>
>> _______________________________________________
>> sc-dev mailing list
>>
>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
>> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
>
>
> _______________________________________________
> sc-dev mailing list
>
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/