in reply to Re: Re: Re: Tk Scrolled textbox, parse on input?
in thread Tk Scrolled textbox, parse on input?

I know I will have to re-work the logic for multiple lines but it has to work with one line before it can work on multiple lines. Once I get it the way I want it on one line it will be easy to convert the code to support multiple lines. I was aware of the get() method but wanted to try and avoid this seeing how if the source code being worked on is a few hundred lines or so I will be calling get on the entire textfield every time a new character is entered. This could cause serious performance issues down the road. Maybe a get("1.0:, "lineend") will be better than a get("1.0", "end"). I have tried the lineend before but it has never worked. Maybe I should revisit it.
  • Comment on Re: Re: Re: Re: Tk Scrolled textbox, parse on input?