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.

3 Answers 3


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

  • 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, 2016 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, 2020 at 21:00

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

  • 6
    I activated that. But my lines are anyway about 4 to 5times my screen wide. Jun 20, 2013 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, 2014 at 7:58
  • Thanks. I also had to activate it in the "Document" menu.
    – Paul
    Jul 15, 2020 at 18:18

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


  • 3
    This options works, but the Line wrapping option in Edit > Preferences > Editor does nothing. Weird.
    – dw1
    Nov 30, 2018 at 10:26
  • This works on UBNTU 16.04 lts, Geany 1.33.
    – EsmaeelE
    Dec 8, 2018 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.