PythonWin, AutoDoc and german keyboards...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Werner Merkl

    #1

    PythonWin, AutoDoc and german keyboards...

    Hallo,


    PythonWin is really great and like to use it all the time.

    But, I use to an us keyboard and get support strings (.__doc__).
    On the other side, most of my colleges use German keyboards and
    the do not get these strings at all.

    We are using:
    - Python 2.4
    - PyWin32 203

    Here is an example:
    -------------------

    When we enter range with us keyboard we get:[color=blue][color=green][color=darkred]
    >>> range([/color][/color][/color]
    [range([start,] stop[, step]) -> list of integers]

    When we do this with German keyboard we get... nothing,

    except we enter:[color=blue][color=green][color=darkred]
    >>> range)[/color][/color][/color]
    [range([start,] stop[, step]) -> list of integers]


    You see, if we press ")" on German KB, which is "(" on us KB
    we get the help...

    BTW: Changes to Python24\Lib\si te-packages\python win\pywin\defau lt.cfg
    didn't help.


    Is this a known issue?
    And is there a work around?
    Or do we have to take an other IDE like SPE?


    Thank you in advance
    Werner Merkl
  • Neil Hodgson

    #2
    Re: PythonWin, AutoDoc and german keyboards...

    Werner Merkl:
    [color=blue]
    > When we enter range with us keyboard we get:[color=green][color=darkred]
    > >>> range([/color][/color]
    > [range([start,] stop[, step]) -> list of integers]
    >
    > When we do this with German keyboard we get... nothing,
    >...
    > BTW: Changes to Python24\Lib\si te-packages\python win\pywin\defau lt.cfg
    > didn't help.[/color]

    It appears that the bindings are done by key code rather than character.
    You may be able to patch this up in pythonwin\pywin \scintilla\keyc odes.py

    Neil


    Comment

    Working...