Handle tabs correctly
Brought to you by:
rexx
I have been following The Hessling Editor for many years and have not been able to utilize it due to its handling of tabs. I understand that the editor you are emulating may also not manage tabs "correctly," and you may be replicating its behavior. There are two adjustments that I would recommend:
Do not substitute tabs with spaces.
When a tab character is inserted, please add a tab to the buffer. The display should reflect the appearance of multiple spaces corresponding to the tab stop.