Giter Site home page Giter Site logo

idlexl's People

Watchers

 avatar  avatar  avatar

idlexl's Issues

Terminal extension breaks cycling through history with multiline items

Stepping through the history with the Terminal extension enabled is done with the arrow up/down keys., but when a history item spanning multiple lines is encountered, the cursor gets "trapped" in the command and the arrow keys can no longer be used for further history navigation.

This behavior is accompanied by the following traceback in the terminal that idlex is being run from:

Exception in Tkinter callback
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 1702, in __call__
    return self.func(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/idlelib/multicall.py", line 176, in handler
    r = l[i](event)
  File "/Users/wolma/idlexl/idlexlib/extensions/Terminal.py", line 272, in key_down_callback
    if self.history_ismember():
  File "/Users/wolma/idlexl/idlexlib/extensions/Terminal.py", line 211, in history_ismember
    s = self.editwin.history._get_source('iomark', 'end-1c')
AttributeError: 'History' object has no attribute '_get_source'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.