Hi Jan, I made a mistake. Can I please change the feature request? My tests have shown that calculating the cursor position from extended tabs to position my CallTip does not work. :-(
What would work would be a function to convert the line with tabs to a line with spaces. Like the function "Convert Tabs to Spaces" in the menu "Edit" / "Special conversion". Even the tab width is read automatically, which is very useful. I am very sorry that I was wrong. Would it be possible to provide a function in VBScript to convert a line of tabs to a line of spaces? Like "[color=#0000FF]TabsToSpaces(string): string[/color]" [color=#389666]Converts text with tabs to text with spaces.[/color] Example [color=#0000FF]"sLine = obj.TabsToSpaces(obj.lineText)[/color]" That would be great! :) Bernd. -- <https://forum.pspad.com/read.php?2,73247,73267> PSPad freeware editor https://www.pspad.com