I am working on a simple text editor in wxPython, and I noticed a problem:
When I press 'Return' key, editor adds a weird 'LF':
How do i prevent my program from printing them?
I found where the problem was:
I had that line in my custom StyledTextCtrl subclass:
self.SetViewEOL(True)
It was causing printing of those 'LF's
Here is the function's description:
SetViewEOL(self, bool visible)
Make the end of line characters visible or invisible.