question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tabulation is wrong comparing to original Notepad

See original GitHub issue

Notepad: Notepad Notepads: Notepads Sample text (looks fine on GitHub as well):

1234567		tabbed
12		tabbed

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
entdarkcommented, Jul 13, 2019

I also did a few tests, and seems like it’s really a bug in UWP SDK. Changing font family and font size doesn’t affect the first tabulation as well. I will try to write a bug report to Microsoft.

1reaction
AmionSkycommented, Jul 11, 2019

I think so. I changed SetDefaultTabStop

private void SetDefaultTabStop(FontFamily font, double fontSize)
{
    Document.DefaultTabStop = 200.0f;
    TextDocument.DefaultTabStop = 200.0f;
}

But it looks like the distance from 0->2 is the same as 2->3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tabs and Spaces don't match what I see in normal notepad ...
If your requirement is “just like normal notepad” you need to set the “Tab size” to 8 and make sure that “Replace by...
Read more >
Is there a way to manage tabs efficiently in Notepad++
Go to Settings > Preferences... > General and under the Document List Panel heading, select the Show checkbox. A vertical list of all...
Read more >
How do I configure Notepad++ to use spaces instead of tabs?
Go to the Preferences menu command under menu Settings, and select Language Menu/Tab Settings, depending on your version.
Read more >
How to Compare Two Files in Notepad++
If you want to stop comparing your files, press Plugins > Compare and select Clear Active Compare to close the window containing your...
Read more >
Default configuration of Notepad++ breaks Python files by ...
The result is that with the default of tab based indention in notepad++ after adding just a single line of code you break...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found