rdbende / tkcode

Use Chlorophyll instead
https://github.com/rdbende/chlorophyll
MIT License
19 stars 3 forks source link

Insert only takes 3 args #18

Closed Moosems closed 2 years ago

Moosems commented 2 years ago
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
    return self.func(*args)
  File "/Users/Moosems/Desktop/DIP-dev/LangEditors.py", line 135, in _autocomplete
    self.insert(insert, remainder, ("sel", "autocomplete"))
TypeError: BaseCodeBox.insert() takes 3 positional arguments but 4 were given
Moosems commented 2 years ago

Any thoughts?

rdbende commented 2 years ago

Yeah, indeed. Atm it takes only 3 arguments. I forgot to implement tag insertion.