Tracker: Plugin Bugs

5 SyntaxHelper - forgets table offset after change - ID: 1940332
Last Update: Comment added ( shlomy )

It seems that every other color I change from the SyntaxHelper fails,
because it ends up changing a different node in the table, from the one
that I selected.

So it seems I have to select the same node again, make the change again,
and then it works.

This happens when I am changing two adjacent token types without touching
the scrollbar between.




Alan Ezust ( ezust ) - 2008-04-11 16:20

5

Open

None

Shlomy Reinstein

None

None

Public


Comments ( 2 )

Date: 2009-11-05 02:49
Sender: shlomy

Does this still happen? If so, can you specify reproduction steps and which
docking framework you're using?
I am unable to reproduce that with the trunk version of jedit.


Date: 2008-07-03 09:21
Sender: shlomy


Ok, that's a bit tricky one. The reason for this problem is that the
plugin needs to know whenever its dockable is closed and remove any
listeners that it created. I didn't know how to do that at the time,
therefore when the dockable is closed (undocked) and recreated again, the
old listeners are still called and "confuse" the plugin.
I will give it another shot soon, maybe the plugin API enables me to do
that now, or maybe I'll just see a way I didn't see before, having a lot
more knowledge due to my experience with docking frameworks.


Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.