Delight icon indicating copy to clipboard operation
Delight copied to clipboard

Designer Text Editor issues with Tabs

Open c-watt opened this issue 4 years ago • 1 comments

The designer text editor appears to be incorrectly calculating the Text Cursor position when using Tabs rather than Spaces for indentation.

To Reproduce:

  1. Open an XML View File in another text editor (e.g. Visual Studio)
  2. Adjust your text editor config to "Keep Tabs" rather than convert them to Spaces
  3. Indent some lines & Save
  4. Run the Delight Designer, open the View, select some text - the text cursor will be misplaced.

Delight_tab_issues

This can make the designer very difficult to use for files using Tabs rather than Spaces, though it's easily worked around by changing your text editor config.

c-watt avatar Apr 19 '21 19:04 c-watt

Thanks for the bugreport

patrik-u avatar Apr 20 '21 18:04 patrik-u