|
From: Paul L. <pa...@ac...> - 2007-06-19 11:55:44
|
Jessie, I have seen this already I think. If you look at collaborative =20 editors (or so) on en.Wikipedia, there's a link to such a realization =20= for jEdit, probably partial. I remember this one or another was even relying on IRC or Jabber for =20 the communication. In order to track the changes, the EditBus does a good job, I think. =20 You do not want to touch keystrokes but input and changed things, I =20 think, all are given as far as I remember. At worst, you'll have to =20 make diffs which is normal of such an approach I think. For the background colour, you'll have to dig deep within the =20 (Highlighter o) JEditTextArea but I think it is doable. The ErrorList =20= plugin could help you there probably (but keep the ability to have =20 errors at the same time!). I guess this covers 2 and 3. paul Le 19 juin 07 =E0 13:35, Jessie Dedecker a =E9crit : > My goal is to make a plugin such that jEdit can be used as a multi- > platform collaborative editor, similar to the functionality offered > in SubEthaEdit (http://www.codingmonkeys.de/subethaedit/). For this > I would require the following base functionality from jEdit: > > 1) to be able to track the changes made to text as it happens > (keystrokes would be ideal for this) > 2) to track and be able to mark the position of the different carets > such that users can see in realtime where others users are currently > editing the text > 3) to be able to change the background colors of the text (each > individual user has a different color associated with him such that > users distinguish between the different changes in the text > > Can somebody tell me if this base functionality is present in the > current jEdit plugin framework. If not, can somebody please help > realize this base functionality? > > Thank you, > Jessie > > On 19 Jun 2007, at 11:54, Matthieu Casanova wrote: > >> Hi, I don't think you can have this information about the content >> change, what do you want do exactly with that ? >> >> Matthieu >> >> 2007/6/19, Jessie Dedecker <jed...@vu...>: >>> Hello all, >>> >>> I am new to plugin development in jEdit and am looking to intercept >>> all buffer changes made during text editing. >>> >>> Looking at the API (version 4.2) of the jEdit plugin framework I >>> understood in the users guide I need to subclass EBComponent and >>> register it with the EditBus such that I can intercept EBMessage >>> notifications which signal, amongst others, changes to the buffer. >>> >>> However, when I look at the interface of the BufferUpdate class it >>> seems that I can only access the updated buffer and not the actual >>> change that has been made to the buffer. Is this correct or am I >>> missing some insights in the framework? >>> >>> Thanks, >>> Jessie >>> >>> --------------------------------------------------------------------=20= >>> - >>> ---- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> -- >>> ----------------------------------------------- >>> jEdit Developers' List >>> jEd...@li... >>> https://lists.sourceforge.net/lists/listinfo/jedit-devel >>> > > > ----------------------------------------------------------------------=20= > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > --=20 > ----------------------------------------------- > jEdit Developers' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-devel > |