jonnyhyman / jonnyhyman/MakePython

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

Ouverte
#15 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
good first issue help wanted
Langage dominant
Python
Étoiles
5
Forks
2
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.