#1538 Sidekick 1.2 does not remember my parser

None
closed-fixed
None
6
2014-04-19
2012-01-28
No

A Sidekick parser is associated to an edit mode ( javascript ), the parser from XML plugin.
If I choose another parser for my file, juste after parsing the parser goes on "none"

Discussion

  • Jarek Czekalski

    Jarek Czekalski - 2012-05-21

    Matthieu, this could be due to the bug in the plugin you were working on (new javascript sidekick). I cannot reproduce it. However I see that the manually selected parser is lost after buffer switching.

    Here is the code that introduces the problem. Maybe Dale could check if it can be safely removed?

    18729 daleanson //{{{ handleBufferChange() method
    18729 daleanson @EBHandler
    18729 daleanson public void handleBufferChange(BufferChanging bmsg) {
    18729 daleanson buffer = bmsg.getBuffer();
    18729 daleanson buffer.setProperty(SideKickPlugin.PARSER_PROPERTY, null);
    18729 daleanson } //}}}

     
  • Jarek Czekalski

    Jarek Czekalski - 2012-05-21
    • summary: Sidekick 1.2 do not remember my parser --> Sidekick 1.2 does not remember my parser
    • assigned_to: nobody --> daleanson
    • priority: 8 --> 6
     
  • Alan Ezust

    Alan Ezust - 2012-06-20

    my previous comment was incorrect, the patch was not responsible but a line added by dale.
    ok, I will try removing the buffer.setMode(xxx, null) and start testing sidekick with that.

     
  • Alan Ezust

    Alan Ezust - 2012-06-20
    • assigned_to: ezust --> daleanson
     
  • Alan Ezust

    Alan Ezust - 2012-06-20

    nuts, its more complicated than that. Assigning back to dale.

     
  • Alan Ezust

    Alan Ezust - 2012-06-20
    • assigned_to: daleanson --> ezust
    • status: open --> pending-fixed
     
  • Alan Ezust

    Alan Ezust - 2012-06-20

    Committed 21843 which seems to work for me.

     
  • Alan Ezust

    Alan Ezust - 2014-04-19
    • status: pending-fixed --> closed-fixed
    • Group: -->
     
  • Alan Ezust

    Alan Ezust - 2014-04-19

    Unable to reproduce with SideKick 1.6

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks