35

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.

4 Answers4

36

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

24

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

air-dex
  • 5,909
  • 1
  • 23
  • 21
17

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

geany.png

Pilot6
  • 92,041
2

There are three related parameters!

  • 'Document', 'Line Wrapping' checkbox;
  • 'Edit', 'Preferences', 'Editor', 'Features' tab, 'Line breaking column' numeric field;
  • 'Edit', 'Preferences', 'Editor', 'Display' tab, 'Long line marker' section, 'Column' numeric field.

In the 'Long line marker' section, you can also set the type of the marker and it's color.