http://www.perlmonks.org?node_id=587156


in reply to Re^4: PerlMonks Editor
in thread PerlMonks Editor

Again thank you! The first issue is related to different key binding support due either to OS differences or Tk version differences. I've now wrapped the troublesome code in an eval to trap the error and handle it in a rather friendlier manner.

The ^M issue is a Windows/*nix line end issue I presume and I have used the fix you suggest - the two chomps are gone.

I'm not sure where the tab characters came from, but they have now been removed.

I'll sit on these changes for a day or two in case anything else comes to light. ;)


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^6: PerlMonks Editor
by parv (Parson) on Dec 02, 2006 at 04:26 UTC
    The first issue is related to different key binding support due either to OS differences or Tk version differences.

    Yeah, that is really a downer, currently, that I could not use '_' in key binding. I will look into that some more, no doubt. Quite possibly that would have to do Tk installed here. I found a patch while searching for reason|solution for Tk dieing with sig 11 when compiled with Xft, which may or may not fix the this key binding issue.

    Anyway, please do ignore the change in __DATA__ related to underline key binding line. I should not have included that in the patch posted earlier.