27

When coding with Geany, I often have quite long lines. I want them to wrap automatically, so that I don`t have to scroll horizontally to see what I've written.

29

Press Alt+D and then L to toggle line wrapping on or off.

Line wrapping off

Line wrapping off

Line wrapping on

Line wrapping on

2
  • 1
    Is there any way to make geany wrap on the long line marker column, rather than at the edge of the doc?
    – Benubird
    Feb 28 '16 at 21:35
  • good, it is easy to toggle! would be better if there was a direct shorcut or even an icon. I use wrapping when reading some text, and no wrap when coding, thx!
    – VeganEye
    Nov 7 '20 at 21:00
22

Go to Edit > Preferences. In the Preferences dialog, go to Editor > Features and then check the first checkbox (the one corresponding to "Line wrapping") :

enter image description here

3
  • 4
    I activated that. But my lines are anyway about 4 to 5times my screen wide. Jun 20 '13 at 14:16
  • 8
    This did not work for me, so I closed the file and re-opened it, and then it worked. Nov 13 '14 at 7:58
  • Thanks. I also had to activate it in the "Document" menu.
    – Paul
    Jul 15 '20 at 18:18
15

Open the menu Document and check Line Wrapping which is the top-most entry in the menu.

geany.png

2
  • 1
    This options works, but the Line wrapping option in Edit > Preferences > Editor does nothing. Weird.
    – dw1
    Nov 30 '18 at 10:26
  • This works on UBNTU 16.04 lts, Geany 1.33.
    – EsmaeelE
    Dec 8 '18 at 8:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.