Open rdbende opened 3 years ago
Were you ever able to get this done? I've tried to manually create it a few times, and I can't seem to access the code block scroll bar from one CodeEditor to another. If you could somehow remove the scroll bar (like set a bool for scroll bar removal in CodeEditor instantiation), but be able to link the parent CodeEditors scroll bar with the child, I think it would work.
Yes I have already made it but there are minor issues with it. Everything works great, but the numbers sucks at initializing. I could create a branch for it if you want.
I think you may have a better understanding of that than I. However, I did create some logic for auto indentation that you may be interested in. Really only useful for Python and other indentation-sensitive languages. Albeit a little "hacky".
Thank you, I'll definitely implement this sometimes.
Thank you, I'll definitely implement this sometimes.
I hope soon
Any update on this?
Any update on this?
Not yet.
I got frustrated with Tkiner and haven't used it in the last year or so. Instead, I started my own GUI framework. Check it out, if you're interested: @tukaan
@rdbende I have a semi-working linebar for text widgets. It needs some work though because large files make the numbers go offscreen do the numbers need to dynamically resize but I do have a base if you would like it
@rdbende Once we add this would we want to make an option to not highlight anything because at this point it's a good text editor in general. I would like a highlightless option for text files because making more themes seems like a hassle (Making my light and dark themes took hours)
Idea: creating linenumber beside of the editor, or codeblock. Good reference could be Dogeek's tkinter-pp implementation