I'm using TAdvMemo 22.214.171.124 and I've found that the Tabs are not handled
With TabStop = true, TabSize = 4 and SmartTabs = false, every time I
press TAB key the cursor is just incremented by 4 and not moving to the
right Tab Stop.
I made a more in deep look at the AdvMemo.pas source and the Tab character handling is completely broken everywhere, either in editing or in loading.
I've fixed the TAdvCustomMemo.InsertChar and TAdvMemoStrings.Add. The check for Tab character in TAdvMemoStrings.LoadFromStream and TAdvMemoStrings.LoadFromFile is completely useless since the tab character has already been replaced by the TAdvMemoStrings.Add. during the loading of the file.
There are other places where the tab char is simply replaced by TabSize # of spaces.
If you do not want that TAdvMemo processes the tab key, set AdvMemo.WantTab = false
The WantTab property has nothing to do with the Tab chars handling during the LoadFromFile process. If you load a document with Tab chars it will be completely unaligned.
Your first post doesn't mention LoadFromFile() anywhere.
Yes, but my second does.. ;)
I agree with Taglietti Andrea ... and after so many years TAdvMemo still does not support the concept of "keep Tab characters"
TAdvMemo always converts Tab characters to spaces. Surely this can be fixed by adding a property to TAdvMemo "Convert tab characters to spaces"?
We have increased the priority on the feature request list.