Вибір стилю закінчення рядка
Щоб перемикатися між кінцівками рядків Windows (CRLF) та Unix (LF), виберіть стиль кінцівки на панелі інструментів редактора (3) у режимі « Edit ».

Щоб приховати це поле, перейдіть до « Preferences » > « Text Editor » > « Display » та зніміть позначку з пункту « Display file line ending ».
Встановити стиль за замовчуванням
Щоб встановити стиль закінчення рядків, який буде використовуватися за замовчуванням для всіх проєктів, перейдіть до « Preferences » > « Text Editor » > « Behavior » та виберіть стиль закінчення рядків у полі « Default line endings ».

Щоб встановити символи кінця рядка, які будуть використовуватися для проекту, перейдіть до Projects > Project Settings > Editor.

Див. також «Як: редагувати код», «Вказати налаштування редактора» та «Редагування коду».
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.