為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

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.
附加的畫面擷圖

所有回覆 (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!