Lorenzo Pandolfo

Results 20 comments of Lorenzo Pandolfo

> I am getting issues like this: > > this error happens because the font size was not correctly treated in the tilde algorithm. If you use `font="monospace 11"` or...

> No but I made a PR with changes that worked for me. Something about this PR also makes the `` event not work, something to look into eventually. Exactly...

I think maybe there is a easier way to make this works. Also, I don't understand why the code works really well in Pytext but doesn't in his `__name__ ==...

> Is there any CTK interop going on? No, I just used a CTkFont instead of tk.Font. I tryied to import CTK and use CTkFont instead of tk.Font in your...

Hello, @Moosems ! How are you? I hope you're doing great! I think I found a fix for these font problems and, here in my computer, both tkinter and customtkinter...

> Lets not add ctk to the main file, please. The plan and hope is to use no external libraries. no problem. I will adapt code for only using tkinter...

@Moosems Also, how the line_elided works? It always show False to me, even if there is wrapped lines.

@Moosems I removed customtkinter from TkLineNums, but, consequently, using customtkinter with a tuple type font, as: `font = ("Consolas", 20)`, will result in font linespaces inconsistencies, so I decided to...

> So if I understand it right, this or would require me to use a Font object and wouldn't allow a tuple? If you're using customtkinter, yes, you will need...

> But not `font=("Courier New Bold", 15)`? In customtkinter no, it should be `font=CTkFont("Courier New Bold", 15)`. In tkinter it will work.