Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

How can I wrap long lines in plaintext **respecting** the indent?

  • 2 respostas
  • 0 têm este problema
  • 2 visualizações
  • Última resposta por Anon21254867

more options

I want to be able to send plaintext messages with long lines wrapped (eg. 80 characters) while respecting the indent of the line.

I would like to have something along these lines: ``` Some text:

    - more text more text more text more text more 
       more text more text more text more text more  
       more text more text more text more text more  

```

I have the settings described here and they work fine to wrap long lines, but not to indent text.

For example, VScode supports this (I add snapshots).

Also, when clicking "Enter" to go to the next line, it would be nice if the new line is indented the same as the previous one, again, as in VScode.

I want to be able to send plaintext messages with long lines wrapped (eg. 80 characters) while respecting the indent of the line. I would like to have something along these lines: ``` Some text: - more text more text more text more text more more text more text more text more text more more text more text more text more text more ``` I have the settings [https://support.mozilla.org/en-US/questions/1374864#question-reply described here] and they work fine to wrap long lines, but not to indent text. For example, VScode supports this (I add snapshots). Also, when clicking "Enter" to go to the next line, it would be nice if the new line is indented the same as the previous one, again, as in VScode.
Capturas de ecrã anexadas

Todas as respostas (2)

more options

I am aware of no solution. Thunderbird uses a simple plain text editor, no tabs or formatting. I searched for an addon, but could not find any. All I can suggest is to use the tab key to force alignment.

more options

Thanks @david. I'm afraid <tab> key is not really a solution because if you ended up rewriting any section before a <tab> it would end up moving the tab and unindenting the text. So you would have to come back, delete the tab and create a new one (thus defeating the whole purpose of the wrap).

In any case, thanks for the help!