jonnyhyman / jonnyhyman/MakePython

Editor >> Pasting code does not conform into proper indentation format

Aperta
#15 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
good first issue help wanted
Lingua principale
Python
Stelle
5
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

If pasting code into the editor, since the editor actually uses '\t' characters instead of standard 4 spaces for indentation, the indentation will most likely not match the overall indentation of the document.

The reason to keep '\t' characters as default indentation in the editor is because that is the default of PyQt / Qt's QTextEdit. Subclassing QTextEdit entirely and writing indentation from scratch would be the best fix for this.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.