搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 0 人有此问题
  • 2 次查看
  • 最后回复者为 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.
已附加屏幕截图

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