bbcmicrobit / bbcmicrobit/PythonEditor

Mixed spaces and tabs in indentions

Offen
#142 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
JavaScript
Sterne
201
Forks
126
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Here's a situation the results in a mix of tabs and spaces in an indent - disastrous.

There's source code somewhere outside the editor (maybe web page, maybe a text editor) that includes a tab followed by spaces within an indent of a line. Copying and pasting that code into the online editor doesn't result in the space being converted; in fact, it seems an even stranger mix of spaces and tabs results in that line's indent. Although the code still _appears_ fine on screen (in online editor), it won't work properly on the micro:bit.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.