|
From: Matthieu C. <cho...@gm...> - 2010-08-02 14:55:19
|
Hi, sorry you will have to do the loading by yourself, the Buffer package is not part of the independant TextArea otherwise the independant textArea would have to embed the entire jEdit. Matthieu 2010/8/2 Robert Peter <rob...@we...>: > Hi! > > I hope my question will finally be right on this list :) > > I am using the independent TextArea for a small project and was > wondering how to load a file to a JEditBuffer. Currently I am reading > the file by myself, and setting the text using > "TextArea.setText(String)". Is there any way to load the file directly > to the TextAres's JEditBuffer? I know JeditBuffers subclass "Buffer" is > able to open files, but the Buffer class seems not to be usable outside > a jEdit context (when just using TextArea as I do). > > Thanks! > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > -- > ----------------------------------------------- > jEdit Developers' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-devel > |