Did you ever get a response (obviously not on this forum).
Also, does your fpGUI toolkit support it with the memo component? I might switch to fpGUI just for that feature
Assuming I've understood correctlyI don't have time to do this as you know - but maybe some sort of modified string grid used as an editor -or spreadsheet setup with single character width columns or something.
The elastic tabstop URL seems to talk about hard tab characters only. I despise hardtab characters in plain text, and it would make text hard to edit with other editors, so that would be a nono for me.
Quote from: marcov on June 15, 2016, 10:30:53 amThe elastic tabstop URL seems to talk about hard tab characters only. I despise hardtab characters in plain text, and it would make text hard to edit with other editors, so that would be a nono for me.It's not nearly as bad as you make it out to be.
These is nothing wrong with using a TAB (U+0009) character for the purpose it was invented - tabulating text. Using spaces on the other hand to indent and align text is really the "odd" behaviour.
Either there are hardtabs in the textfile or there are not.
Whole generations of programmers despise hardtabs, and with reason.
They were invented because of the hard tabs on the mechanical type writer. But that is exactly what the ET guy hates. He repurpose things for something else.
Editability in other editors and diff tools (!) should not be compromised...
So let's agree to disagree on the allowability of hard tabs.
Just for fun... http://lea.verou.me/2012/01/why-tabs-are-clearly-superior/
Spaces are the best choice for aligning, rather than indenting.
The biggest issue with tabs is "Tabs can be personalized".Even worse, they ARE personalized, and they ARE personalized differently by every user/application.That's why a code written by a one person, could look awful for another.
(I've to deal with that on daily basis, where a SQL code written i.e. in Notepad++ or whatever other editor looks misaligned in MS SQL Studio).
That's obviously not an issue for spaces. As article says "Spaces are the best choice for aligning".
You should NEVER mix aligning with tabs and aligning with spaces in the same source.
there is something to be said for elastic tabstops. I like the idea... but I would only use it for "normal" text-editing. Never for source-editing. But that's a personal choice.