Posted 20 years ago
by Boyd
-
Sr. Software Developer,
Patterson Consulting, LLC

Does SyntaxEditor expose a method for determining how many "tabs" are represented by a series of tabs and spaces? For instance, if TabSize = 4 and I enter "<space><space><space><space>" or "<tab>" ... that's the equivalent of one tab. If I were to enter "<space><space><space><tab>" that's still the equivalent of one tab.
I'm sure you handle this logic internally for the indentation guides and smart indent, so I wasn't sure if it was exposed. If it is exposed, please let me know where to find it. Otherwise, this utility method would be useful if you could expose it.
In the meantime, I'll probably just write my own routine <IMG SRC="wink.gif" border="0">
Thanks!
I'm sure you handle this logic internally for the indentation guides and smart indent, so I wasn't sure if it was exposed. If it is exposed, please let me know where to find it. Otherwise, this utility method would be useful if you could expose it.
In the meantime, I'll probably just write my own routine <IMG SRC="wink.gif" border="0">
Thanks!